<commit_before>package uk.ac.ebi.biosamples.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

import java.util.List;

/**
 * Object representing BioSchema Sample entity
 */
@JsonPropertyOrder({ "@context", "@type", "additionalType", "identifier", "name", "description", "url", "dataset", "additionalProperty"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class JsonLDSample implements BioschemasObject {

    @JsonProperty("@context")
    private final String context = "http://schema.org";

    @JsonProperty("@type")
    private final String[] type = {"BioChemEntity", "Sample"};

    private final String additionalType = "http://www.ontobee.org/ontology/OBI?iri=http://purl.obolibrary.org/obo/OBI_0000747";
    private String[] identifiers;
    private String name;
    private String description;
    private String url;

    private List<String> dataset;

    @JsonProperty("additionalProperty")
    private List<JsonLDPropertyValue> additionalProperties;

    public String getContext() {
        return context;
    }

    public String[] getType() {
        return type;
    }

    public String getAdditionalType() {
        return additionalType;
    }

    public String[] getIdentifiers() {
        return identifiers;
    }

    public void setIdentifiers(String[] identifiers) {
        this.identifiers = identifiers;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }<commit_msg>Comments additionalType from BioSchemas until that's field is actually required<commit_after>package uk.ac.ebi.biosamples.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

import java.util.List;

/**
 * Object representing BioSchema Sample entity
 */
@JsonPropertyOrder({ "@context", "@type", "additionalType", "identifier", "name", "description", "url", "dataset", "additionalProperty"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class JsonLDSample implements BioschemasObject {

    @JsonProperty("@context")
    private final String context = "http://schema.org";

    @JsonProperty("@type")
    private final String[] type = {"BioChemEntity", "Sample"};

    //private final String additionalType = "http://www.ontobee.org/ontology/OBI?iri=http://purl.obolibrary.org/obo/OBI_0000747";
    private String[] identifiers;
    private String name;
    private String description;
    private String url;

    private List<String> dataset;

    @JsonProperty("additionalProperty")
    private List<JsonLDPropertyValue> additionalProperties;

    public String getContext() {
        return context;
    }

    public String[] getType() {
        return type;
    }

//    public String getAdditionalType() {
//        return additionalType;
//    }

    public String[] getIdentifiers() {
        return identifiers;
    }

    public void setIdentifiers(String[] identifiers) {
        this.identifiers = identifiers;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
{'fraction_non_alphanumeric': 0.11431170406306852, 'fraction_numerical': 0.004244996967859308, 'mean_word_length': 3.6860795454545454, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '377219', 'n_tokens_mistral': 956, 'n_tokens_neox': 877, 'n_words': 219}