diff --git a/access_schema.json b/access_schema.json index de56390..1164960 100644 --- a/access_schema.json +++ b/access_schema.json @@ -19,7 +19,7 @@ } ] }, - "@id": { + "@id": { "description": "The JSON-LD identifier", "type": "string", "format": "uri" @@ -29,6 +29,12 @@ "type": "string", "enum": [ "Access" ] }, + "conformsTo": { + "type": "string", + "enum": [ + "https://w3id.org/dats/schema/access_schema.json" + ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/activity_schema.json b/activity_schema.json index 45dba16..56c3cd3 100644 --- a/activity_schema.json +++ b/activity_schema.json @@ -24,7 +24,10 @@ "type": "string", "format": "uri" }, "@type": { "description": "The JSON-LD type", - "type": "string", "enum": [ "Activity" ] + "type": "string", "enum": [ "Activity" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/activity_schema.json" ] }, "identifier": { "$ref": "identifier_info_schema.json#" diff --git a/alternate_identifier_info_schema.json b/alternate_identifier_info_schema.json index b67a70b..0ebdf87 100644 --- a/alternate_identifier_info_schema.json +++ b/alternate_identifier_info_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "AlternateIdentifier" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/alternate_identifier_info_schema.json" ] + }, "identifier": { "description": "An identifier or identifiers other than the primary Identifier applied to the resource being registered. (definition from DataCite)", "type" : "string" diff --git a/anatomical_part_schema.json b/anatomical_part_schema.json index 4c93a73..73ed9de 100644 --- a/anatomical_part_schema.json +++ b/anatomical_part_schema.json @@ -25,6 +25,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "AnatomicalPart" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/anatomical_part_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/annotation_schema.json b/annotation_schema.json index efedd8a..1b1bb79 100644 --- a/annotation_schema.json +++ b/annotation_schema.json @@ -31,6 +31,10 @@ "Annotation" ] }, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/annotation_schema.json" ] + }, "value": { "description": "The value of the annotation - it can be a string or a number (for coded values).", "oneOf": [ diff --git a/biological_entity_schema.json b/biological_entity_schema.json index 2aa8d65..9674e8e 100644 --- a/biological_entity_schema.json +++ b/biological_entity_schema.json @@ -25,6 +25,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "BiologicalEntity" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/biological_entity_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/category_values_pair_schema.json b/category_values_pair_schema.json index 709028b..60d933a 100644 --- a/category_values_pair_schema.json +++ b/category_values_pair_schema.json @@ -25,6 +25,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "CategoryValuesPair" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/category_values_pair_schema.json" ] + }, "category": { "description": "A characteristic or property about the entity this object is associated with.", "type": "string" diff --git a/consent_info_schema.json b/consent_info_schema.json index 3d4cfbe..c5e7362 100644 --- a/consent_info_schema.json +++ b/consent_info_schema.json @@ -25,6 +25,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "ConsentInfo" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/consent_info_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/data_analysis_schema.json b/data_analysis_schema.json index 6aebb38..6acc7ae 100644 --- a/data_analysis_schema.json +++ b/data_analysis_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "DataAnalysis" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/data_analysis_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/data_repository_schema.json b/data_repository_schema.json index 4ab6b0a..dfb1baf 100644 --- a/data_repository_schema.json +++ b/data_repository_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "DataRepository" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/data_repository_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/data_standard_schema.json b/data_standard_schema.json index 643a106..7a5d35f 100644 --- a/data_standard_schema.json +++ b/data_standard_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "DataStandard" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/data_standard_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/data_type_schema.json b/data_type_schema.json index 278206a..ccacb2c 100644 --- a/data_type_schema.json +++ b/data_type_schema.json @@ -19,6 +19,7 @@ } ] }, + "@id": { "description": "The JSON-LD identifier", "type": "string", "format": "uri" @@ -26,6 +27,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "DataType" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/data_type_schema.json" ] + }, "information": { "description": "The measurements or facts that the data is about.", "$ref" : "annotation_schema.json#" diff --git a/dataset_distribution_schema.json b/dataset_distribution_schema.json index 9c1d6a4..9214868 100644 --- a/dataset_distribution_schema.json +++ b/dataset_distribution_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "DatasetDistribution" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/dataset_distribution_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/dataset_schema.json b/dataset_schema.json index 33cc0fa..d91de84 100644 --- a/dataset_schema.json +++ b/dataset_schema.json @@ -1,207 +1,210 @@ { - "id": "https://w3id.org/dats/schema/dataset_schema.json", - "$schema": "http://json-schema.org/draft-04/schema", - "title": "DATS Dataset Schema", - "description": "A set of dimensions about an entity being observed. A collection of data, published or curated by a single agent, and available for access or download in one or more formats (from DCAT: http://www.w3.org/TR/vocab-dcat/#Class:_Dataset). A body of structured information describing some topic(s) of interest (from: http://schema.org/Dataset).", - "type": "object", - "properties": { - "@context": { - "description": "The JSON-LD context", - "anyOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "array" - } - ] - }, - "@id": { - "description": "The JSON-LD identifier", - "type": "string", "format": "uri" - }, - "@type": { - "description": "The JSON-LD type", - "type": "string", "enum": [ "Dataset"] - }, - "identifier": { - "$ref": "identifier_info_schema.json#" - }, - "alternateIdentifiers": { - "description": "Alternate identifiers for the dataset.", - "type": "array", - "items": { - "$ref": "alternate_identifier_info_schema.json#" - } - }, - "relatedIdentifiers": { - "description": "Related identifiers for the dataset.", - "type": "array", - "items": { - "$ref": "related_identifier_info_schema.json#" - } - }, - "title" : { - "description" : "The name of the dataset, usually one sentece or short description of the dataset.", - "type" : "string" - }, - "description" : { - "description": "A textual narrative comprised of one or more statements describing the dataset.", - "type" : "string" - }, - "dates" : { - "description": "Relevant dates for the datasets, a date must be added, e.g. creation date or last modification date should be added.", - "type" : "array", - "items" : { - "$ref" : "date_info_schema.json#" - } - }, - "storedIn" : { - "description": "The data repository hosting the dataset.", - "$ref": "data_repository_schema.json#" - }, - "spatialCoverage": { - "description": "The geographical extension and span covered by the dataset and its measured dimensions/variables.", - "type" : "array", - "items" : { - "$ref" : "place_schema.json#" - } - }, - "types" : { - "description": "A term, ideally from a controlled terminology, identifying the dataset type or nature of the data, placing it in a typology", - "type" : "array", - "items" : { - "$ref" : "data_type_schema.json#" - }, - "minItems" : 1 - }, - "availability": { - "description": "A qualifier indicating the different types of availability for a dataset (available, unavailable, embargoed, available with restriction, information not available).", - "type": "string" - }, - "refinement": { - "description": "A qualifier to describe the level of data processing of the dataset and its distributions.", - "type": "string" - }, - "aggregation": { - "description": "A qualifier indicating if the entity represents an 'instance of dataset' or a 'collection of datasets'.", - "type": "string" - }, - "privacy": { - "description": "A qualifier to describe the data protection applied to the dataset. This is relevant for clinical data.", - "type": "string" - }, - "distributions" : { - "description": "The distribution(s) by which datasets are made available (for example: mySQL dump).", - "type" : "array", - "items" : { - "$ref" : "dataset_distribution_schema.json#" - } - }, - "dimensions" : { - "description": "The different dimensions (granular components) making up a dataset.", - "type" : "array", - "items" : { - "$ref" : "dimension_schema.json#" - } - }, - "primaryPublications" : { - "description": "The primary publication(s) associated with the dataset, usually describing how the dataset was produced.", - "type" : "array", - "items" : { - "$ref" : "publication_schema.json#" - } - }, - "citations" : { - "description": "The publication(s) that cite this dataset.", - "type" : "array", - "items" : { - "$ref" : "publication_schema.json#" - } - }, - "citationCount": { - "description": "The number of publications that cite this dataset (enumerated in the citations property)", - "type": "integer" - }, - "producedBy" : { - "description": "A study process which generated a given dataset, if any.", - "anyOf": [ - {"$ref" : "study_schema.json#"}, - {"$ref" : "data_acquisition_schema.json#"}, - {"$ref" : "data_analysis_schema.json#"} - ] - }, - "creators" : { - "description": "The person(s) or organization(s) which contributed to the creation of the dataset.", - "type" : "array", - "items" : { - "oneOf": [ - {"$ref" : "person_schema.json#"}, - {"$ref" : "organization_schema.json#"} - ] - }, - "minItems" : 1 - }, - "licenses": { - "description": "The terms of use of the dataset.", - "type": "array", - "items": { - "$ref": "license_schema.json#" - } - }, - "isAbout": { - "description" : "Different entities (biological entity, taxonomic information, disease, molecular entity, anatomical part, treatment) associated with this dataset.", - "type": "array", - "items": { - "anyOf": [ - {"$ref" : "biological_entity_schema.json#"}, - {"$ref" : "taxonomic_info_schema.json#"}, - {"$ref" : "disease_schema.json#"}, - {"$ref" : "molecular_entity_schema.json#"}, - {"$ref" : "anatomical_part_schema.json#"}, - {"$ref" : "treatment_schema.json#"}, - {"$ref" : "material_schema.json#"}, - {"$ref" : "study_group_schema.json#"}, - {"$ref" : "annotation_schema.json#"} - ] - } - }, - "hasPart" : { - "description": "A Dataset that is a subset of this Dataset; Datasets declaring the 'hasPart' relationship are considered a collection of Datasets, the aggregation criteria could be included in the 'description' field.", - "type": "array", - "items": { - "$ref" : "dataset_schema.json#" - } - }, - "acknowledges" : { - "description": "The grant(s) which funded and supported the work reported by the dataset.", - "type" : "array", - "items" : { - "$ref" : "grant_schema.json#" - } - }, - "keywords" : { - "description": "Tags associated with the dataset, which will help in its discovery.", - "type": "array", - "items": { - "$ref" : "annotation_schema.json#" - } - }, - "version" : { - "description": "A release point for the dataset when applicable.", - "type" : "string" - }, - "extraProperties": { - "description": "Extra properties that do not fit in the previous specified attributes. ", - "type": "array", - "items": { - "$ref" : "category_values_pair_schema.json#" - } + "id": "https://w3id.org/dats/schema/dataset_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS Dataset Schema", + "description": "A set of dimensions about an entity being observed. A collection of data, published or curated by a single agent, and available for access or download in one or more formats (from DCAT: http://www.w3.org/TR/vocab-dcat/#Class:_Dataset). A body of structured information describing some topic(s) of interest (from: http://schema.org/Dataset).", + "type": "object", + "properties": { + "@context": { + "description": "The JSON-LD context", + "anyOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "array" + } + ] + }, + "@id": { + "description": "The JSON-LD identifier", + "type": "string", "format": "uri" + }, + "@type": { + "description": "The JSON-LD type", + "type": "string", "enum": [ "Dataset"] + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/dataset_schema.json" ] + }, + "identifier": { + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the dataset.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the dataset.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "title" : { + "description" : "The name of the dataset, usually one sentece or short description of the dataset.", + "type" : "string" + }, + "description" : { + "description": "A textual narrative comprised of one or more statements describing the dataset.", + "type" : "string" + }, + "dates" : { + "description": "Relevant dates for the datasets, a date must be added, e.g. creation date or last modification date should be added.", + "type" : "array", + "items" : { + "$ref" : "date_info_schema.json#" + } + }, + "storedIn" : { + "description": "The data repository hosting the dataset.", + "$ref": "data_repository_schema.json#" + }, + "spatialCoverage": { + "description": "The geographical extension and span covered by the dataset and its measured dimensions/variables.", + "type" : "array", + "items" : { + "$ref" : "place_schema.json#" + } + }, + "types" : { + "description": "A term, ideally from a controlled terminology, identifying the dataset type or nature of the data, placing it in a typology", + "type" : "array", + "items" : { + "$ref" : "data_type_schema.json#" + }, + "minItems" : 1 + }, + "availability": { + "description": "A qualifier indicating the different types of availability for a dataset (available, unavailable, embargoed, available with restriction, information not available).", + "type": "string" + }, + "refinement": { + "description": "A qualifier to describe the level of data processing of the dataset and its distributions.", + "type": "string" + }, + "aggregation": { + "description": "A qualifier indicating if the entity represents an 'instance of dataset' or a 'collection of datasets'.", + "type": "string" + }, + "privacy": { + "description": "A qualifier to describe the data protection applied to the dataset. This is relevant for clinical data.", + "type": "string" + }, + "distributions" : { + "description": "The distribution(s) by which datasets are made available (for example: mySQL dump).", + "type" : "array", + "items" : { + "$ref" : "dataset_distribution_schema.json#" + } + }, + "dimensions" : { + "description": "The different dimensions (granular components) making up a dataset.", + "type" : "array", + "items" : { + "$ref" : "dimension_schema.json#" + } + }, + "primaryPublications" : { + "description": "The primary publication(s) associated with the dataset, usually describing how the dataset was produced.", + "type" : "array", + "items" : { + "$ref" : "publication_schema.json#" + } + }, + "citations" : { + "description": "The publication(s) that cite this dataset.", + "type" : "array", + "items" : { + "$ref" : "publication_schema.json#" + } + }, + "citationCount": { + "description": "The number of publications that cite this dataset (enumerated in the citations property)", + "type": "integer" + }, + "producedBy" : { + "description": "A study process which generated a given dataset, if any.", + "anyOf": [ + {"$ref" : "study_schema.json#"}, + {"$ref" : "data_acquisition_schema.json#"}, + {"$ref" : "data_analysis_schema.json#"} + ] + }, + "creators" : { + "description": "The person(s) or organization(s) which contributed to the creation of the dataset.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + }, + "minItems" : 1 + }, + "licenses": { + "description": "The terms of use of the dataset.", + "type": "array", + "items": { + "$ref": "license_schema.json#" + } + }, + "isAbout": { + "description" : "Different entities (biological entity, taxonomic information, disease, molecular entity, anatomical part, treatment) associated with this dataset.", + "type": "array", + "items": { + "anyOf": [ + {"$ref" : "biological_entity_schema.json#"}, + {"$ref" : "taxonomic_info_schema.json#"}, + {"$ref" : "disease_schema.json#"}, + {"$ref" : "molecular_entity_schema.json#"}, + {"$ref" : "anatomical_part_schema.json#"}, + {"$ref" : "treatment_schema.json#"}, + {"$ref" : "material_schema.json#"}, + {"$ref" : "study_group_schema.json#"}, + {"$ref" : "annotation_schema.json#"} + ] + } + }, + "hasPart" : { + "description": "A Dataset that is a subset of this Dataset; Datasets declaring the 'hasPart' relationship are considered a collection of Datasets, the aggregation criteria could be included in the 'description' field.", + "type": "array", + "items": { + "$ref" : "dataset_schema.json#" + } + }, + "acknowledges" : { + "description": "The grant(s) which funded and supported the work reported by the dataset.", + "type" : "array", + "items" : { + "$ref" : "grant_schema.json#" + } + }, + "keywords" : { + "description": "Tags associated with the dataset, which will help in its discovery.", + "type": "array", + "items": { + "$ref" : "annotation_schema.json#" + } + }, + "version" : { + "description": "A release point for the dataset when applicable.", + "type" : "string" + }, + "extraProperties": { + "description": "Extra properties that do not fit in the previous specified attributes. ", + "type": "array", + "items": { + "$ref" : "category_values_pair_schema.json#" } + } }, "additionalProperties": false, "required" : [ "title", "types", "creators" ] -} + } diff --git a/date_info_schema.json b/date_info_schema.json index 6aaea50..f2d37ec 100644 --- a/date_info_schema.json +++ b/date_info_schema.json @@ -27,6 +27,10 @@ "description": "The JSON-LD type", "type": "string", "enum": [ "Date" ] }, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/date_info_schema.json" ] + }, "date": { "description": "A date following the ISO8601 standard.", "type" : "string", diff --git a/dimension_schema.json b/dimension_schema.json index afa1a46..401ee39 100644 --- a/dimension_schema.json +++ b/dimension_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Dimension" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/dimension_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, @@ -80,7 +84,7 @@ ] } }, - "consentInformation": { + "consentInformation": { "description": "The consent information related to this dimennsion.", "type": "array", "items" : { diff --git a/disease_schema.json b/disease_schema.json index 060fc1f..49431d8 100644 --- a/disease_schema.json +++ b/disease_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Disease" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/disease_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/grant_schema.json b/grant_schema.json index a163924..8092827 100644 --- a/grant_schema.json +++ b/grant_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Grant" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/grant_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/identifier_info_schema.json b/identifier_info_schema.json index eb836f6..7df3b03 100644 --- a/identifier_info_schema.json +++ b/identifier_info_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Identifier" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/identifier_info_schema.json" ] + }, "identifier": { "description": "A code uniquely identifying an entity locally to a system or globally.", "type" : "string" diff --git a/instrument_schema.json b/instrument_schema.json index 77b36f7..4bb2deb 100644 --- a/instrument_schema.json +++ b/instrument_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Instrument" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/instrument_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/license_schema.json b/license_schema.json index f49935e..5674341 100644 --- a/license_schema.json +++ b/license_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "License" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/license_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, @@ -82,14 +86,14 @@ "items": { "$ref": "annotation_schema.json#" } - }, + }, "dataUseConditions": { "description": "Types of data use conditions extracted from the license documents. Data Use Conditions may refer to restrictions, prohibition, research topics as granted by the dataset, dimension, software license. Ideally specified from a controlled vocabulary or ontology, such as GA4GH Data Use Ontology (DUO: http://www.obofoundry.org/ontology/duo.html) or ADA-M matrix (https://github.com/ga4gh/ADA-M).", "type": "array", "items": { "$ref": "annotation_schema.json#" } - }, + }, "extraProperties": { "description": "Extra properties that do not fit in the previous specified attributes. ", "type": "array", diff --git a/material_schema.json b/material_schema.json index 0427349..529d027 100644 --- a/material_schema.json +++ b/material_schema.json @@ -31,6 +31,10 @@ "Material" ] }, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/material_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, @@ -80,9 +84,9 @@ "bearerOfDisease": { "description": "The pathology affecting the material used in the study or refered to in the dataset (ideally from a controlled vocabulary/ontology).", "type": "array", - "items": { - "$ref": "disease_schema.json#" - } + "items": { + "$ref": "disease_schema.json#" + } }, "taxonomy": { "description": "The taxonomic information for this material (ideally specified from a controlled vocabulary/ontology).", diff --git a/molecular_entity_schema.json b/molecular_entity_schema.json index d9343a4..8a3156d 100644 --- a/molecular_entity_schema.json +++ b/molecular_entity_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "MolecularEntity" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/molecular_entity_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/organization_schema.json b/organization_schema.json index d7a8c47..5e0d771 100644 --- a/organization_schema.json +++ b/organization_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Organization" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/organization_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/person_schema.json b/person_schema.json index 7c39bc7..00ed27d 100644 --- a/person_schema.json +++ b/person_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Person" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/person_schema.json" ] + }, "identifier": { "description": "Primary identifier for the person.", "$ref": "identifier_info_schema.json#" diff --git a/place_schema.json b/place_schema.json index bb53536..c3cae12 100644 --- a/place_schema.json +++ b/place_schema.json @@ -36,6 +36,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Place" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/place_schema.json" ] + }, "identifier": { "description": "Primary identifier for the place.", "$ref": "identifier_info_schema.json#" diff --git a/provenance_schema.json b/provenance_schema.json index d8ff2d2..140ab2c 100644 --- a/provenance_schema.json +++ b/provenance_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Provenance" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/provenance_schema.json" ] + }, "transformationFile": { "description": "The DataMed transformation file describing the mapping between the original repository and DATS.", "type": "string" diff --git a/publication_schema.json b/publication_schema.json index 9757c0a..8d831a5 100644 --- a/publication_schema.json +++ b/publication_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Publication" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/publication_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/related_identifier_info_schema.json b/related_identifier_info_schema.json index 73e6195..3433630 100644 --- a/related_identifier_info_schema.json +++ b/related_identifier_info_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "RelatedIdentifier" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/related_identifier_schema.json" ] + }, "identifier": { "description": "An identifier of a related resource.", "type" : "string" diff --git a/software_schema.json b/software_schema.json index b4987d9..89ad8c8 100644 --- a/software_schema.json +++ b/software_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Software" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/software_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/study_group_schema.json b/study_group_schema.json index 9ea1cff..17eab3e 100644 --- a/study_group_schema.json +++ b/study_group_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "StudyGroup" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/study_group_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/study_schema.json b/study_schema.json index 83340d5..0d88ea5 100644 --- a/study_schema.json +++ b/study_schema.json @@ -26,6 +26,10 @@ "@type": { "description": "The JSON-LD type", "type": "string", "enum": [ "Study" ]}, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/study_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" }, diff --git a/taxonomic_info_schema.json b/taxonomic_info_schema.json index cd4157e..4c1bf5b 100644 --- a/taxonomic_info_schema.json +++ b/taxonomic_info_schema.json @@ -29,6 +29,10 @@ "identifier": { "$ref": "identifier_info_schema.json#" }, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/taxonomic_info_schema.json" ] + }, "alternateIdentifiers": { "description": "Alternate identifiers for the organism.", "type": "array", diff --git a/treatment_schema.json b/treatment_schema.json index 5ae18ae..bcb0452 100644 --- a/treatment_schema.json +++ b/treatment_schema.json @@ -29,6 +29,10 @@ "type": "string", "enum": [ "Treatment" ] }, + "conformsTo": { + "type": "string", + "enum": [ "https://w3id.org/dats/schema/treatment_schema.json" ] + }, "identifier": { "$ref": "identifier_info_schema.json#" },