diff --git a/DEPENDENCIES b/DEPENDENCIES index 8162790..ffefac9 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -46,3 +46,4 @@ geojson-1-0-2 https://github.com/geojson/schema v1.0.2 geojson-1-0-1 https://github.com/geojson/schema v1.0.1 geojson-1-0-0 https://github.com/geojson/schema v1.0.0 hca-metadata-5-0-0 https://github.com/HumanCellAtlas/metadata-schema 5.0.0 +dats-1-0-0 https://github.com/datatagsuite/schema 1.0.0 diff --git a/configuration.json b/configuration.json index 99b14c9..cd5bf3b 100644 --- a/configuration.json +++ b/configuration.json @@ -140,6 +140,12 @@ "humancellatlas/metadata": { "title": "Human Cell Atlas Metadata Schema", "github": "humancellatlas/metadata-schema" + }, + "dats": { + "title": "Data Tag Suite (DATS)", + "description": "A data model for describing datasets", + "github": "datatagsuite", + "website": "https://datatagsuite.github.io/docs/html" } }, "schemas": { @@ -345,6 +351,10 @@ "humancellatlas/metadata/v5.0.0": { "base": "https://schema.humancellatlas.org", "path": "./vendor/hca-metadata-5-0-0/json_schema" + }, + "dats/v1.0.0": { + "base": "https://w3id.org/dats/schema", + "path": "./vendor/dats-1-0-0" } } } diff --git a/vendor/dats-1-0-0.mask b/vendor/dats-1-0-0.mask new file mode 100644 index 0000000..3eb337e --- /dev/null +++ b/vendor/dats-1-0-0.mask @@ -0,0 +1,2 @@ +README.md +proposed_extensions_to_DATS.md diff --git a/vendor/dats-1-0-0/ConsentInformationAndLicense.md b/vendor/dats-1-0-0/ConsentInformationAndLicense.md new file mode 100644 index 0000000..29683d1 --- /dev/null +++ b/vendor/dats-1-0-0/ConsentInformationAndLicense.md @@ -0,0 +1,23 @@ +### Proposed solution for dealing with Consent Information, Licenses and their relationship + +This document describes the proposed changes to the DATS schemas to deal with the +description of consent information and how this impacts in the license information. + +#### Creation of a consent_info_schema.json + +The proposal is to create a new entity for encapsulating the consent information associated +with entities in a dataset, such as a subject (represented with an object compliant with the +material_schema.json) and a study group (e.g. to indicate a dbGAP consent group). + +Thus, it is possible to represent the consent information for patients and for groups of patients. + +The consent information points to the derived license, which contains information about data use conditions. + +This solution is an alternative of including the consent information directly in the license, +following a separation of concerns between consent and data use conditions. + +The relationship between material and study groups to the license comes through the consent information. + +#### Extension of the license_schema.json: + +The license schema is extended with the data use conditions. The directionality of diff --git a/vendor/dats-1-0-0/access_schema.json b/vendor/dats-1-0-0/access_schema.json new file mode 100644 index 0000000..d536ab0 --- /dev/null +++ b/vendor/dats-1-0-0/access_schema.json @@ -0,0 +1,89 @@ +{ + "id": "https://w3id.org/dats/schema/access_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS access schema", + "description": "Information about resources that provide the means to obtain an asset (a dataset or other research object).", + "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": [ "Access" ] + }, + "identifier": { + "description": "The identifier of the access entity.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "landingPage": { + "description": "A web page that contains information about the associated dataset or other research object and a direct link to the object itself.", + "type": "string", + "format": "uri" + }, + "accessURL": { + "description": "A URL from which the resource (dataset or other research object) can be retrieved, i.e. a direct link to the object itself.", + "type": "string", + "format": "uri" + }, + "types": { + "description": "Method to obtain the resource, ideally specified from a controlled vocabulary or ontology.", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "authorizations": { + "description": "Types of verification that accessing the resource is allowed. Authorization occurs before successful authentication and refers to the process of obtaining approval to use a data set. Ideally specified from a controlled vocabulary or ontology.", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "authentications": { + "description": "Types of verification of the credentials for accessing the resource, it is the identification process at the time of access. ideally specified from a controlled vocabulary or ontology.", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "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": [ "landingPage" ] +} diff --git a/vendor/dats-1-0-0/activity_schema.json b/vendor/dats-1-0-0/activity_schema.json new file mode 100644 index 0000000..48988dc --- /dev/null +++ b/vendor/dats-1-0-0/activity_schema.json @@ -0,0 +1,125 @@ +{ + "id": "https://w3id.org/dats/schema/activity_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS activity (or process) schema.", + "description": "A type of process scheduled in a study.", + "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": [ "Activity" ] + }, + "identifier": { + "description": "The identifier of the activity.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the activity.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the activity.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the activity, usually one sentece or short description of the activity.", + "type" : "string" + }, + "description" : { + "description": "A textual narrative comprised of one or more statements describing the activity.", + "type" : "string" + }, + "startDate": { + "description": "A timestamp to record the starting point of the activity.", + "$ref": "date_info_schema.json#" + }, + "endDate": { + "description": "A timestamp to record the end point of the activity.", + "$ref": "date_info_schema.json#" + }, + "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#" + } + }, + "duration": { + "description": "The time during which the activity takes place.", + "type" : "string" + }, + "location" : { + "description": "The location where the activity takes place.", + "$ref" : "place_schema.json#" + }, + "performedBy" : { + "description": "The person(s) or organisation(s) responsible for executing the process.", + "type" : "array", + "items" : { + "anyOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + } + }, + "keywords": { + "description": "Tags associated with the activity, which will help in its discovery.", + "type": "array", + "items": { + "$ref" : "annotation_schema.json#" + } + }, + "input" : { + "description": "The entities used as input.", + "type": "array", + "items":{ + "anyOf": [ + {"$ref" : "dataset_schema.json#"}, + {"$ref" : "material_schema.json#"} + ] + } + }, + "output" : { + "description": "The entities resulting from applying the activity.", + "type": "array", + "items":{ + "anyOf": [ + {"$ref" : "dataset_schema.json#"}, + {"$ref" : "material_schema.json#"} + ] + } + }, + "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": [ "name" ] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/alternate_identifier_info_schema.json b/vendor/dats-1-0-0/alternate_identifier_info_schema.json new file mode 100644 index 0000000..b67a70b --- /dev/null +++ b/vendor/dats-1-0-0/alternate_identifier_info_schema.json @@ -0,0 +1,39 @@ +{ + "id": "https://w3id.org/dats/schema/alternate_identifier_info_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS alternate identifier information schema", + "description": "Information about an alternate identifier (other than the primary).", + "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": [ "AlternateIdentifier" ]}, + "identifier": { + "description": "An identifier or identifiers other than the primary Identifier applied to the resource being registered. (definition from DataCite)", + "type" : "string" + }, + "identifierSource": { + "description": "The identifier source represents information about the organisation/namespace responsible for minting the identifiers. It must be provided if the identifier is provided.", + "type" : "string" + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/anatomical_part_schema.json b/vendor/dats-1-0-0/anatomical_part_schema.json new file mode 100644 index 0000000..1a824fc --- /dev/null +++ b/vendor/dats-1-0-0/anatomical_part_schema.json @@ -0,0 +1,60 @@ +{ + "id": "https://w3id.org/dats/schema/anatomical_part_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS anatomical part schema", + "description": "A structure that is part of a multicellular organism.", + "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": [ "AnatomicalPart" ]}, + "identifier": { + "description": "The identifier of the anatomical part.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the anatomical part.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the anatomical part.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the anatomical entity or anatomical part.", + "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" : [ "name" ] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/annotation_schema.json b/vendor/dats-1-0-0/annotation_schema.json new file mode 100644 index 0000000..efedd8a --- /dev/null +++ b/vendor/dats-1-0-0/annotation_schema.json @@ -0,0 +1,60 @@ +{ + "id": "https://w3id.org/dats/schema/annotation_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS annotation schema", + "description": "A pair of value (string or numeric) with a corresponding ontology term (IRI), if applicable.", + "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": [ + "Annotation" + ] + }, + "value": { + "description": "The value of the annotation - it can be a string or a number (for coded values).", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "valueIRI": { + "description": "The IRI of a concept or ontology term associated with the value. It can also be an empty string", + "anyOf": [ + { + "type": "string", + "format": "uri" + }, + { + "type": "string", + "maxLength": 0 + } + ] + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/biological_entity_schema.json b/vendor/dats-1-0-0/biological_entity_schema.json new file mode 100644 index 0000000..37ab4b3 --- /dev/null +++ b/vendor/dats-1-0-0/biological_entity_schema.json @@ -0,0 +1,60 @@ +{ + "id": "https://w3id.org/dats/schema/biological_entity_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS biological entity schema", + "description": "A biological entity is a recognized entity covering biological process, molecular functions or cellular components (from: http://geneontology.org/).", + "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": [ "BiologicalEntity" ]}, + "identifier": { + "description": "The identifier of the biological entity.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the biological entity.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the biological entity.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the biological entity.", + "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" : [ "name" ] +} diff --git a/vendor/dats-1-0-0/category_values_pair_schema.json b/vendor/dats-1-0-0/category_values_pair_schema.json new file mode 100644 index 0000000..f71ff52 --- /dev/null +++ b/vendor/dats-1-0-0/category_values_pair_schema.json @@ -0,0 +1,54 @@ +{ + "id": "https://w3id.org/dats/schema/category_values_pair_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS extension mechanism", + "description": "Extension mechanism for DATS, which allows to add extra properties to the entities. It should be used only for cases where there are no specific properties to deal with the desired property.", + "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": [ "CategoryValuesPair" ]}, + "category": { + "description": "A characteristic or property about the entity this object is associated with.", + "type": "string" + }, + "categoryIRI": { + "description": "The IRI corresponding to the category, if associated with an ontology term.", + "anyOf": [ + { + "type": "string", + "format": "uri" + }, + { + "type": "string", + "maxLength": 0 + } + ] + }, + "values": { + "description": "A set of (annotated) values associated with the cateogory.", + "type": "array", + "items": { + "$ref" : "annotation_schema.json#" + } + } + }, + "additionalProperties": false +} diff --git a/vendor/dats-1-0-0/consent_info_schema.json b/vendor/dats-1-0-0/consent_info_schema.json new file mode 100644 index 0000000..3553070 --- /dev/null +++ b/vendor/dats-1-0-0/consent_info_schema.json @@ -0,0 +1,73 @@ +{ + "id": "https://w3id.org/dats/schema/consent_info_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS consent information schema", + "description": "Information about a consent code. Consent information schema can refer to one or more License object(s) and can be used to annotate DATS.Material, for fine grained control, or DATS.StudyGroup for coarser annotation", + "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": [ "ConsentInfo" ]}, + "identifier": { + "description": "The identifier of the consent information.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the consent information, including a label and ideally an ontology term from resources such as DUO, ADA-M.", + "$ref" : "annotation_schema.json#" + }, + "abbreviation": { + "description": "An abbreviation of the consent information.", + "type" : "string" + }, + "description": { + "description": "A description of the consent information.", + "type" : "string" + }, + "incorporatedIn": { + "description": "A list of references to licences/ legal documents used as basis for extracting consent information summary and assigning one or more consent codes.", + "type" : "array", + "items": { + "$ref": "license_schema.json#" + } + }, + "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": [ "name"] +} diff --git a/vendor/dats-1-0-0/data_acquisition_schema.json b/vendor/dats-1-0-0/data_acquisition_schema.json new file mode 100644 index 0000000..1844372 --- /dev/null +++ b/vendor/dats-1-0-0/data_acquisition_schema.json @@ -0,0 +1,141 @@ +{ + "id": "https://w3id.org/dats/schema/data_acquisition_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS data acquisition schema.", + "description": "Process (or activity) of generating data through measurement made with specific techniques.", + "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": [ "DataAcquisition" ]}, + "identifier": { + "description": "The identifier of the data acquisition.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the activity.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the activity.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the activity, usually one sentece or short description of the data acquisition.", + "type" : "string" + }, + "description" : { + "description": "A textual narrative comprised of one or more statements describing the data acquisition.", + "type" : "string" + }, + "startDate": { + "description": "A timestamp to record the starting point of the activity.", + "$ref": "date_info_schema.json#" + }, + "endDate": { + "description": "A timestamp to record the end point of the activity.", + "$ref": "date_info_schema.json#" + }, + "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#" + } + }, + "duration": { + "description": "The time during which the activity takes place.", + "type" : "string" + }, + "location" : { + "description": "The location where the activity takes place.", + "$ref" : "place_schema.json#" + }, + "performedBy" : { + "description": "The person(s) or organisation(s) responsible for executing the process.", + "type" : "array", + "items" : { + "anyOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + } + }, + "keywords": { + "description": "Tags associated with the activity, which will help in its discovery.", + "type": "array", + "items": { + "$ref" : "annotation_schema.json#" + } + }, + "input" : { + "description": "The entities used as input.", + "type": "array", + "items":{ + "$ref" : "material_schema.json#" + } + }, + "output" : { + "description": "The entities resulting from applying the activity.", + "type": "array", + "items":{ + "$ref" : "dataset_schema.json#" + } + }, + "uses": { + "description": "The instrument(s) or software(s) used to acquire the signal.", + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "instrument_schema.json#" + }, + { + "$ref": "software_schema.json#" + } + ] + } + }, + "measures": { + "description": "The dimension(s) being acquired as signal.", + "type": "array", + "items": { + "$ref": "dimension_schema.json#" + } + }, + "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" : [ "name" ] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/data_analysis_schema.json b/vendor/dats-1-0-0/data_analysis_schema.json new file mode 100644 index 0000000..f60e83f --- /dev/null +++ b/vendor/dats-1-0-0/data_analysis_schema.json @@ -0,0 +1,142 @@ +{ + "id": "https://w3id.org/dats/schema/data_analysis_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS data analysis schema", + "description": "Process (or activity) of transforming data and producing data.", + "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": [ "DataAnalysis" ]}, + "identifier": { + "description": "The identifier of the data analysis.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the activity.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the activity.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the activity, usually one sentece or short description of the data analysis.", + "type" : "string" + }, + "description" : { + "description": "A textual narrative comprised of one or more statements describing the data analysis.", + "type" : "string" + }, + "startDate": { + "description": "A timestamp to record the starting point of the activity.", + "$ref": "date_info_schema.json#" + }, + "endDate": { + "description": "A timestamp to record the end point of the activity.", + "$ref": "date_info_schema.json#" + }, + "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#" + } + }, + "duration": { + "description": "The time during which the activity takes place.", + "type" : "string" + }, + "location" : { + "description": "The location where the activity takes place.", + "$ref" : "place_schema.json#" + }, + "performedBy" : { + "description": "The person(s) or organisation(s) responsible for executing the process.", + "type" : "array", + "items" : { + "anyOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + } + }, + "keywords": { + "description": "Tags associated with the activity, which will help in its discovery.", + "type": "array", + "items": { + "$ref" : "annotation_schema.json#" + } + }, + "input" : { + "description": "The entities used as input.", + "type": "array", + "items":{ + "$ref" : "dataset_schema.json#" + }, + "minItems": 1 + }, + "output" : { + "description": "The entities resulting from applying the activity.", + "type": "array", + "items":{ + "$ref" : "dataset_schema.json#" + }, + "minItems": 1 + }, + "uses": { + "description": "The instrument(s) or software(s) used to acquire the signal.", + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "instrument_schema.json#" + }, + { + "$ref": "software_schema.json#" + } + ] + } + }, + "measures": { + "description": "The dimension(s) being acquired as signal.", + "type": "array", + "items": { + "$ref": "dimension_schema.json#" + } + }, + "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": [ "name" ] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/data_repository_schema.json b/vendor/dats-1-0-0/data_repository_schema.json new file mode 100644 index 0000000..3dca1ae --- /dev/null +++ b/vendor/dats-1-0-0/data_repository_schema.json @@ -0,0 +1,125 @@ +{ + "id": "https://w3id.org/dats/schema/data_repository_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS data repository schema", + "description": "A repository or catalog of datasets. It could be a primary repository or a repository that aggregates data existing in other repositories.", + "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": [ "DataRepository" ]}, + "identifier": { + "description": "The identifier of the data repository.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the data repository.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the data repository.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the data repository.", + "type": "string" + }, + "description" : { + "description": "A textual narrative comprised of one or more statements describing the data repository.", + "type" : "string" + }, + "dates" : { + "description": "Relevant dates for the data repository.", + "type" : "array", + "items" : { + "$ref" : "date_info_schema.json#" + } + }, + "scopes": { + "description": "Information about the nature of the datasets in the repository, ideally from a controlled vocabulary or ontology (e.g. transcription profile, sequence reads, molecular structure, image, DNA sequence, NMR spectra).", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "types": { + "description": "A descriptor (ideally from a controlled vocabulary) providing information about the type of repository, such as primary resource or aggregator.", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "licenses": { + "description": "The terms of use of the data repository.", + "type": "array", + "items": { + "$ref": "license_schema.json#" + } + }, + "version": { + "description": "A release point for the repository, when applicable.", + "type": "string" + }, + "publishers": { + "description": "The person(s) or organization(s) responsible for the repository and its availability.", + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "person_schema.json#" + }, + { + "$ref": "organization_schema.json#" + } + ] + } + }, + "aggregatorOf": { + "description": "The DataRepositories aggregated by this repository. This property will be empty for primary repositories.", + "type": "array", + "items": { + "$ref": "data_repository_schema.json#" + } + }, + "access" : { + "description": "The information about access modality for the data repository.", + "type" : "array", + "items" : { + "$ref" : "access_schema.json#" + } + }, + "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": [ "name" ] +} diff --git a/vendor/dats-1-0-0/data_standard_schema.json b/vendor/dats-1-0-0/data_standard_schema.json new file mode 100644 index 0000000..e3e99eb --- /dev/null +++ b/vendor/dats-1-0-0/data_standard_schema.json @@ -0,0 +1,80 @@ +{ + "id": "https://w3id.org/dats/schema/data_standard_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS data standard schema", + "description": "A format, reporting guideline, terminology. It is used to indicate whether the dataset conforms to a particular community norm or specification.", + "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": [ "DataStandard" ]}, + "identifier": { + "description": "The identifier of the data standard.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the standard.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the standard.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the standard (e.g. FASTQ, CDISC STDM, ISO8601).", + "type" : "string" + }, + "description" : { + "description": "A textual narrative comprised of one or more statements describing the data standard.", + "type" : "string" + }, + "type" : { + "description": "The nature of the information resource, ideally specified with a controlled vocabulary or ontology (.e.g model or format, vocabulary, reporting guideline).", + "$ref" : "annotation_schema.json#" + }, + "licenses" : { + "description": "The terms of use of the data standard.", + "type" : "array", + "items" : { + "$ref" : "license_schema.json#" + } + }, + "version" : { + "description": "A release point for the repository 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":["name", "type"] +} diff --git a/vendor/dats-1-0-0/data_type_schema.json b/vendor/dats-1-0-0/data_type_schema.json new file mode 100644 index 0000000..278206a --- /dev/null +++ b/vendor/dats-1-0-0/data_type_schema.json @@ -0,0 +1,49 @@ +{ + "id": "https://w3id.org/dats/schema/data_type_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS Data Type schema", + "description": "The nature of the data, as determined for the information collected, the method used and the platform used.", + "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": [ "DataType" ]}, + "information": { + "description": "The measurements or facts that the data is about.", + "$ref" : "annotation_schema.json#" + }, + "method": { + "description": "The procedure or technology used to generate the information.", + "$ref" : "annotation_schema.json#" + + }, + "platform": { + "description": "The set of instruments, software and reagents that are needed to generated the data.", + "$ref" : "annotation_schema.json#" + + }, + "instrument": { + "description": "The specific device used to generate the data.", + "$ref" : "annotation_schema.json#" + + } + } +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/dataset_distribution_schema.json b/vendor/dats-1-0-0/dataset_distribution_schema.json new file mode 100644 index 0000000..2a06f78 --- /dev/null +++ b/vendor/dats-1-0-0/dataset_distribution_schema.json @@ -0,0 +1,130 @@ +{ + "id": "https://w3id.org/dats/schema/dataset_distribution_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS dataset distribution schema", + "description": "(From DCAT) Represents a specific available form of a dataset. Each dataset might be available in different forms, these forms might represent different formats of the dataset or different endpoints. Examples of distributions include a downloadable CSV file, an API or an RSS feed.", + "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": [ "DatasetDistribution" ]}, + "identifier": { + "description": "The identifier of the dataset distribution.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the dataset distribution.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the dataset distribution.", + "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 distribution.", + "type" : "string" + }, + "storedIn" : { + "description": "The data repository hosting the dataset distribution.", + "$ref": "data_repository_schema.json#" + }, + "dates" : { + "description": "Relevant dates for the datasets, e.g. creation date or last modification date may be added.", + "type" : "array", + "items" : { + "$ref" : "date_info_schema.json#" + } + }, + "version" : { + "description": "A release point for the dataset when applicable.", + "type" : "string" + }, + "licenses": { + "description": "The terms of use of the dataset distribution.", + "type": "array", + "items": { + "$ref": "license_schema.json#" + } + }, + "access" : { + "description": "The information about access modality for the dataset distribution.", + "$ref" : "access_schema.json#" + }, + "curationStatus": { + "description": "The level of curation of the dataset distribution.", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "conformsTo" : { + "description": "A data standard whose requirements and constraints are met by the dataset.", + "type" : "array", + "items" : { + "$ref": "data_standard_schema.json#" + } + }, + "qualifiers": { + "description": "One or more characteristics of the dataset distribution (e.g. how it relates to other distributions, if the data is raw or processed, compressed or encrypted).", + "type" : "array", + "items" : { + "anyOf": [ + { "$ref": "annotation_schema.json#"}, + { "$ref": "category_values_pair_schema.json#"} + ] + } + }, + "formats" : { + "description": "The technical format of the dataset distribution. Use the file extension or MIME type when possible. (Definition adapted from DataCite)", + "type" : "array", + "items" : { + "type": "string" + } + }, + "size": { + "description": "The size of the dataset.", + "type": "number" + }, + "unit": { + "description": "The unit of measurement used to estimate the size of the dataset (e.g, petabyte). Ideally, the unit should be coming from a reference controlled terminology.", + "$ref": "annotation_schema.json#" + }, + "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": [ "access" ] +} diff --git a/vendor/dats-1-0-0/dataset_schema.json b/vendor/dats-1-0-0/dataset_schema.json new file mode 100644 index 0000000..daaa6d9 --- /dev/null +++ b/vendor/dats-1-0-0/dataset_schema.json @@ -0,0 +1,208 @@ +{ + "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": { + "description": "The identifier of the dataset.", + "$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/vendor/dats-1-0-0/date_info_schema.json b/vendor/dats-1-0-0/date_info_schema.json new file mode 100644 index 0000000..6aaea50 --- /dev/null +++ b/vendor/dats-1-0-0/date_info_schema.json @@ -0,0 +1,42 @@ +{ + "id": "https://w3id.org/dats/schema/date_info_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS date information schema.", + "description": "Information about a calendar date or timestamp indicating day, month, year and time of an event.", + "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": [ "Date" ] + }, + "date": { + "description": "A date following the ISO8601 standard.", + "type" : "string", + "format": "date-time" + }, + "type": { + "description": "The type of date, used to specify the process which is being timestamped by the date attribute value, ideally comes from a controlled terminology.", + "$ref" : "annotation_schema.json#" + } + }, + "additionalProperties": false, + "required": ["date","type"] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/dimension_schema.json b/vendor/dats-1-0-0/dimension_schema.json new file mode 100644 index 0000000..168e7aa --- /dev/null +++ b/vendor/dats-1-0-0/dimension_schema.json @@ -0,0 +1,108 @@ +{ + "id": "https://w3id.org/dats/schema/dimension_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS dimension schema", + "description": "A feature of an entity, i.e. an individual measurable property (both quantitative or qualitative) of the entity being observed.", + "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": [ "Dimension" ]}, + "identifier": { + "description": "The identifier of the dimension.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the dimension.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the dimension.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name" : { + "description": "The name of the dimension measured or observed during the data acquisition process, ideally from a controlled terminology.", + "$ref" : "annotation_schema.json#" + }, + "description": { + "description": "A textual narrative comprised of one or more statements describing the dimension.", + "type": "string" + }, + "types": { + "description": "A term, ideally from a controlled terminology, identifying the nature of the dimension, placing it in a typology.", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "datatype": { + "description": "The type of data for this dimension, as described with the DataType entity.", + "$ref": "data_type_schema.json#" + }, + "values": { + "description": "The actual collections of values collected for that dimension.", + "type": "array" + }, + "unit": { + "description": "A reference measurement unit associated with scalar dimensions, ideally from a reference controlled terminology.", + "$ref" : "annotation_schema.json#" + }, + "isAbout" : { + "description": "A material or a dataset, which is the object of this dimension (this dimension is about the material - e.g. the heights of the patients - or the dataset - e.g. the standard deviation or the set of outliers or a quality indicator of a dataset).", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref" : "material_schema.json#"}, + {"$ref" : "dataset_schema.json#"} + ] + } + }, + "consentInformation": { + "description": "The consent information related to this dimennsion.", + "type": "array", + "items" : { + "$ref" : "consent_info_schema.json#" + } + }, + "partOf" : { + "description": "The dataset(s) this dimension belongs to.", + "type" : "array", + "items" : { + "$ref": "dataset_schema.json#" + } + }, + "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": [ "name" ] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/disease_schema.json b/vendor/dats-1-0-0/disease_schema.json new file mode 100644 index 0000000..06d3d39 --- /dev/null +++ b/vendor/dats-1-0-0/disease_schema.json @@ -0,0 +1,72 @@ +{ + "id": "https://w3id.org/dats/schema/disease_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS disease schema", + "description": "A disorder of structure or function in a human, animal, or plant, that produces specific symptoms or that affects a specific location.", + "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": [ "Disease" ]}, + "identifier": { + "description": "The identifier of the disease.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the disease.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the disease.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the disease.", + "type" : "string" + }, + "dates" : { + "description": "Relevant dates, such as the diagnosis date of the disease, may be provided.", + "type": "array", + "items": { + "$ref": "date_info_schema.json#" + } + }, + "diseaseStatus": { + "description": "A value (and ideally also an ontology annotation provided as a valueIRI) for the disease status.", + "$ref": "annotation_schema.json#" + }, + "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" : [ "name" ] +} diff --git a/vendor/dats-1-0-0/genome_location_schema.json b/vendor/dats-1-0-0/genome_location_schema.json new file mode 100644 index 0000000..4c13683 --- /dev/null +++ b/vendor/dats-1-0-0/genome_location_schema.json @@ -0,0 +1,51 @@ +{ + "id": "https://w3id.org/dats/schema/genome_location_schema.json", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "GenomeLocation", + "description": "Location of a sequence object used both by display, and by jbrowse to render a browser. The addition to DATS uses the genomeLocation as defined by AGR [https://github.com/alliance-genome/agr_schemas/blob/develop/gene/genomeLocation.json]", + "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": [ "GenomeLocation" ]}, + "assembly": { + "type" : "string", + "description" : "The assembly on which the position and chromosome are based." + }, + "startPosition":{ + "type": "number", + "description": "the start position of the location." + }, + "endPosition":{ + "type": "number", + "description": "the end position of the location." + }, + "chromosome":{ + "type": "string", + "description": "the chromosome of the genomic feature. Note: whatever loaded here, will be used in JBrowse." + }, + "strand":{ + "enum": ["+","-","."], + "description": "strand of the genome location." + } + }, + "required": [ "assembly","chromosome" ] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/grant_schema.json b/vendor/dats-1-0-0/grant_schema.json new file mode 100644 index 0000000..4614852 --- /dev/null +++ b/vendor/dats-1-0-0/grant_schema.json @@ -0,0 +1,99 @@ +{ + "id": "https://w3id.org/dats/schema/grant_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS grant schema", + "description": "An allocated sum of funds given by a government or other organization for a particular purpose.", + "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": [ "Grant" ]}, + "identifier": { + "description": "The identifier of the grant.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the grant.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the grant.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the grant and its funding program.", + "type" : "string" + }, + "funds" : { + "description": "The study or dataset supported by the grant.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref" : "study_schema.json#"}, + {"$ref" : "dataset_schema.json#"} + ] + } + }, + "funders" : { + "description": "The person(s) or organization(s) which has awarded the funds supporting the project.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + }, + "minItems" : 1 + }, + "awardees" : { + "description": "The person(s) or organization(s) which received the funds supporting the project.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + } + }, + "dates" : { + "description": "Relevant dates, such as the date when the grant was awarded, may be provided.", + "type" : "array", + "items": { + "$ref" : "date_info_schema.json#" + } + }, + "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": [ "name"] +} diff --git a/vendor/dats-1-0-0/identifier_info_schema.json b/vendor/dats-1-0-0/identifier_info_schema.json new file mode 100644 index 0000000..eb836f6 --- /dev/null +++ b/vendor/dats-1-0-0/identifier_info_schema.json @@ -0,0 +1,39 @@ +{ + "id": "https://w3id.org/dats/schema/identifier_info_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS identifier information schema", + "description": "Information about the primary identifier.", + "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": [ "Identifier" ]}, + "identifier": { + "description": "A code uniquely identifying an entity locally to a system or globally.", + "type" : "string" + }, + "identifierSource": { + "description": "The identifier source represents information about the organisation/namespace responsible for minting the identifiers. It must be provided if the identifier is provided.", + "type" : "string" + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/instrument_schema.json b/vendor/dats-1-0-0/instrument_schema.json new file mode 100644 index 0000000..9fba4a7 --- /dev/null +++ b/vendor/dats-1-0-0/instrument_schema.json @@ -0,0 +1,79 @@ +{ + "id": "https://w3id.org/dats/schema/instrument_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS instrument schema", + "description": "An entity that helps an agent perform an activity.", + "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": [ "Instrument" ]}, + "identifier": { + "description": "The identifier of the instrument.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the instrument.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the instrument.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the instrument.", + "type" : "string" + }, + "type": { + "description": "The type of the instrument/technology.", + "$ref" : "annotation_schema.json#" + }, + "isUsedBy" : { + "description": "The data acquisition activity that makes use of this instrument.", + "type" : "array", + "items" : { + "$ref": "data_acquisition_schema.json#" + } + }, + "manufacturer" : { + "description": "The person or organisation that produced the instrument.", + "oneOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + }, + "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":[ "name" ] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/license_schema.json b/vendor/dats-1-0-0/license_schema.json new file mode 100644 index 0000000..d1b524c --- /dev/null +++ b/vendor/dats-1-0-0/license_schema.json @@ -0,0 +1,104 @@ +{ + "id": "https://w3id.org/dats/schema/license_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS license schema", + "description": "A legal document giving official permission to do something with a Resource. It is assumed that an external vocabulary will describe with sufficient granularity the permission for redistribution, modification, derivation, reuse, etc. and conditions for citation/acknowledgment.", + "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": [ "License" ]}, + "identifier": { + "description": "The identifier of the license.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the license.", + "type" : "string" + }, + "version": { + "description": "The version of the license.", + "type" : "string" + }, + "dates" : { + "description": "Relevant dates, such as the date of the license was issued, may be provided.", + "type" : "array", + "items": { + "$ref" : "date_info_schema.json#" + } + }, + "licensingAuthority": { + "description": "The person(s) or organization(s) responsible for granting access to the data by approving the license.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + } + }, + "creators" : { + "description": "The person(s) or organization(s) responsible for writing the license.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + } + }, + "consentInformation": { + "description": "Types of consent given by study participant extracted from the terms of use documents. 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#" + } + }, + "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", + "items": { + "$ref" : "category_values_pair_schema.json#" + } + } + }, + "additionalProperties": false, + "required": [ "name"] +} diff --git a/vendor/dats-1-0-0/material_schema.json b/vendor/dats-1-0-0/material_schema.json new file mode 100644 index 0000000..437a8d5 --- /dev/null +++ b/vendor/dats-1-0-0/material_schema.json @@ -0,0 +1,149 @@ +{ + "id": "https://w3id.org/dats/schema/material_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS material schema", + "description": "A physical entity.", + "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": [ + "Material" + ] + }, + "identifier": { + "description": "The identifier of the material.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the material.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the material.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the material.", + "type": "string" + }, + "description": { + "description": "A textual narrative comprised of one or more statements describing the material.", + "type": "string" + }, + "derivesFrom": { + "description": "A material from which this material originated.", + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "material_schema.json#" + }, + { + "$ref": "anatomical_part_schema.json#" + } + ] + } + }, + "spatialCoverage": { + "description": "The spatial coordinates denoting the geospatial origin of the material used to produce measurements part of the dataset.", + "type": "array", + "items": { + "$ref": "place_schema.json#" + } + }, + "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#" + } + }, + "taxonomy": { + "description": "The taxonomic information for this material (ideally specified from a controlled vocabulary/ontology).", + "type": "array", + "items": { + "$ref": "taxonomic_info_schema.json#" + } + }, + "involvedInBiologicalEntity": { + "description": "A biological process (ideally specified from a controlled vocabulary/ontology) in which the material is involved.", + "type": "array", + "items": { + "$ref": "biological_entity_schema.json#" + } + }, + "characteristics": { + "description": "The characteristic information or attributes denoting the material.", + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "dimension_schema.json#" + }, + { + "$ref": "material_schema.json#" + } + ] + } + }, + "consentInformation": { + "description": "The consent information related to this material.", + "type": "array", + "items" : { + "$ref" : "consent_info_schema.json#" + } + }, + "roles" : { + "description": "The roles played by a material.", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "dates": { + "description": "Relevant dates, such as the date when the material was harvested, may be provided.", + "type": "array", + "items": { + "$ref": "date_info_schema.json#" + } + }, + "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": [ + "name" + ] +} diff --git a/vendor/dats-1-0-0/molecular_entity_schema.json b/vendor/dats-1-0-0/molecular_entity_schema.json new file mode 100644 index 0000000..b371eea --- /dev/null +++ b/vendor/dats-1-0-0/molecular_entity_schema.json @@ -0,0 +1,168 @@ +{ + "id": "https://w3id.org/dats/schema/molecular_entity_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS molecular entity schema", + "description": "A physical entity of molecular scales such as proteins, nucleic acids, chemical materials. They can be abiotic, biological or synthetic origin.", + "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": [ "MolecularEntity" ]}, + "identifier": { + "description": "The identifier of the molecular entity.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the molecular entity.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the molecular entity.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the molecular entity.", + "type" : "string" + }, + "description": { + "description": "A textual narrative comprised of one or more statements describing the molecular entity.", + "type": "string" + }, + "taxonomy" : { + "description": "The taxonomic information for this material (ideally specified from a controlled vocabulary/ontology).", + "type": "array", + "items": { + "$ref": "taxonomic_info_schema.json#" + } + }, + "characteristics" : { + "description": "The characteristic information or attributes denoting the material.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref": "dimension_schema.json#"}, + {"$ref": "material_schema.json#"} + ] + } + }, + "genomeLocations" : { + "description": "The set of location information of a genetic element in a genome.", + "type" : "array", + "items" : { + "$ref": "genome_location_schema.json#" + } + }, + "structure": { + "description": "The primary sequence of the molecular entity (e.g. inchi code;DNA sequence in FASTA format)", + "type" : "string" + }, + "roles" : { + "description": "The roles played by the molecular entity.", + "type" : "array", + "items" : { + "$ref": "annotation_schema.json#" + } + }, + "involvedInProcess" : { + "description": "The molecular processes where the molecular entity is known to be involved in.", + "type": "array", + "items":{ + "$ref" : "activity_schema.json#" + } + }, + "relatedEntities": { + "description": "Entities that are related to this molecular entity.", + "type": "array", + "items": { + "type": "object", + "properties": { + "object": { + "description": "The object of the relationship, i.e. the representation or identifier of the related enttity", + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + } + ] + }, + "relation": { + "description": "The type of the relationship corresponding to this molecular entity.", + "$ref": "annotation_schema.json#" + }, + "resultingFrom": { + "description": "The activity (or process) that gave origin at the relationship between this molecular entity and the external entity.", + "$ref": "activity_schema.json#" + }, + "relationEvidence": { + "type": "array", + "items": { + "type": "object", + "properties": { + "evidenceCodes": { + "description": "An array of labels and ideally an ontology term IRI (e.g. for the Evidence & Conclusion Ontology - ECO) indicating the evidence for the relationship between the molecular entity and the external entity", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "publications": { + "description": "The list of publications providing evidence of the relationship.", + "type": "array", + "items": { + "$ref": "publication_schema.json#" + } + }, + "dateEstablished": { + "description": "The date in which the evidence of the relationship was established.", + "$ref": "date_info_schema.json#" + } + } + } + } + } + } + }, + "dates" : { + "description": "Relevant dates for the molecular entity, a date must be added, e.g. creation date, annotation date or last modification date should be added. a type should always be provided", + "type" : "array", + "items" : { + "$ref" : "date_info_schema.json#" + } + }, + "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": [ "name" ] +} diff --git a/vendor/dats-1-0-0/organization_schema.json b/vendor/dats-1-0-0/organization_schema.json new file mode 100644 index 0000000..a4720f5 --- /dev/null +++ b/vendor/dats-1-0-0/organization_schema.json @@ -0,0 +1,76 @@ +{ + "id": "https://w3id.org/dats/schema/organization_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS organization schema", + "description": "Legal or physical entity corresponding to a business or administration.", + "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": [ "Organization" ]}, + "identifier": { + "description": "The identifier of the organization.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the organization.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the organization.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the organization.", + "type" : "string" + }, + "abbreviation": { + "description": "The shortname, abbreviation associated to the organization.", + "type" : "string" + }, + "location": { + "description": "The place where the organization is located.", + "$ref" : "place_schema.json#" + }, + "roles" : { + "description": "The roles of the organization (ideally from a controlled vocabulary/ontology).", + "type" : "array", + "items" : { + "$ref" : "annotation_schema.json#" + } + }, + "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": [ "name" ] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/person_schema.json b/vendor/dats-1-0-0/person_schema.json new file mode 100644 index 0000000..7c39bc7 --- /dev/null +++ b/vendor/dats-1-0-0/person_schema.json @@ -0,0 +1,91 @@ +{ + "id": "https://w3id.org/dats/schema/person_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS person schema", + "description": "A human being", + "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": [ "Person" ]}, + "identifier": { + "description": "Primary identifier for the person.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the person.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the person.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "fullName": { + "description": "The first name, any middle names, and surname of a person.", + "type" : "string" + }, + "firstName": { + "description": "The given name of the person.", + "type" : "string" + }, + "middleInitial": { + "description": "The first letter of the person's middle name.", + "type" : "string" + }, + "lastName": { + "description": "The person's family name.", + "type" : "string" + }, + "email": { + "description": "An electronic mail address for the person.", + "type" : "string", + "format": "email" + }, + "affiliations" : { + "description": "The organizations to which the person is associated with.", + "type" : "array", + "items" : { + "$ref" : "organization_schema.json#" + } + }, + "roles" : { + "description": "The roles assumed by a person, ideally from a controlled vocabulary/ontology.", + "type" : "array", + "items" : { + "$ref" : "annotation_schema.json#" + } + }, + "extraProperties": { + "description": "Extra properties that do not fit in the previous specified attributes. ", + "type": "array", + "items": { + "$ref" : "category_values_pair_schema.json#" + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/place_schema.json b/vendor/dats-1-0-0/place_schema.json new file mode 100644 index 0000000..bd968c9 --- /dev/null +++ b/vendor/dats-1-0-0/place_schema.json @@ -0,0 +1,82 @@ +{ + "id": "https://w3id.org/dats/schema/place_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS place schema", + "description": "A spatially bounded entity.", + "comment": "It corresponds to Feature in GeoJSON, https://tools.ietf.org/html/rfc7946, geoLocation in DataCite,http://schema.datacite.org/meta/kernel-4.0/ and Place in schema.org", + "type": "object", + "definitions": { + "position": { + "description": "A GeoJSON Position", + "type": "array", + "minItems": 2, + "items": { "type": "number" } + } + + }, + "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": [ "Place" ]}, + "identifier": { + "description": "Primary identifier for the place.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the place.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the place.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the place.", + "type": "string" + }, + "description": { + "description": "A textual narrative comprised of one or more statements describing the place.", + "type": "string" + }, + "postalAddress": { + "description": "A physical street address.", + "type": "string" + }, + "geometry": { + "description": "A region of a space.", + "type": "string", + "comment": "It follows GeoJSON specification https://tools.ietf.org/html/rfc7946", + "enum": [ "Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon", "GeometryCollection"] + }, + "coordinates": { + "description": "A non-empty list of GeoJSON positions.", + "type": "array", + "minItems": 1, + "items": { "$ref": "#/definitions/position" } + } + } +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/provenance_schema.json b/vendor/dats-1-0-0/provenance_schema.json new file mode 100644 index 0000000..d8ff2d2 --- /dev/null +++ b/vendor/dats-1-0-0/provenance_schema.json @@ -0,0 +1,51 @@ +{ + "id": "https://w3id.org/dats/schema/provenance_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "Internal DATS provenance schema", + "description": "The provenance information kept in DataMed. This schema is for internal use in DataMed and not to be implemented by repositories.", + "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": [ "Provenance" ]}, + "transformationFile": { + "description": "The DataMed transformation file describing the mapping between the original repository and DATS.", + "type": "string" + }, + "ingestMethod": { + "description": "The method used to ingest the dataset from the repository into DataMed.", + "type": "string" + }, + "ingestTarget": { + "description": "The location where the source files can be found, using the ingestMethod, to produce this DATS intance ingested in DataMed.", + "type": "string" + }, + "filePattern": { + "description": "A regular expression indicating the pattern of files considered during the ingestion process.", + "type": "string" + }, + "ingestTimestamp": { + "description": "A timestamp reporting when the ingestion occurred.", + "type": "string" + } + }, + "additionalProperties": false +} diff --git a/vendor/dats-1-0-0/publication_schema.json b/vendor/dats-1-0-0/publication_schema.json new file mode 100644 index 0000000..dc372b6 --- /dev/null +++ b/vendor/dats-1-0-0/publication_schema.json @@ -0,0 +1,104 @@ +{ + "id": "https://w3id.org/dats/schema/publication_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title" : "DATS publication schema", + "description" : "A (digital) document made available by a publisher.", + "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": [ "Publication" ]}, + "identifier": { + "description": "The identifier of the publication.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the publication.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the publication.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "title": { + "description": "The name of the publication, usually one sentece or short description of the publication.", + "type" : "string" + }, + "type" : { + "description": "Publication type, ideally delegated to an external vocabulary/resource.", + "$ref" : "annotation_schema.json#" + }, + "publicationVenue": { + "description": "The name of the publication venue where the document is published if applicable.", + "type": "string" + }, + "dates" : { + "description": "Relevant dates, the date of the publication must be provided.", + "type" : "array", + "items": { + "$ref" : "date_info_schema.json#" + } + }, + "authors" : { + "description": "The person(s) and/or organisation(s) responsible for the publication.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + }, + "minItems" : 1 + }, + "authorsList": { + "description": "The list of authors made available as a string (does not allow disambiguation).", + "type": "string" + }, + "acknowledges" : { + "description": "The grant(s) which funded and supported the work reported by the publication.", + "type" : "array", + "items" : { + "$ref" : "grant_schema.json#" + } + }, + "licenses" : { + "description": "The terms of use of the publication.", + "type" : "array", + "items" : { + "$ref" : "license_schema.json#" + } + }, + "extraProperties": { + "description": "Extra properties that do not fit in the previous specified attributes. ", + "type": "array", + "items": { + "$ref" : "category_values_pair_schema.json#" + } + } + }, + "additionalProperties": false +} diff --git a/vendor/dats-1-0-0/related_identifier_info_schema.json b/vendor/dats-1-0-0/related_identifier_info_schema.json new file mode 100644 index 0000000..71924da --- /dev/null +++ b/vendor/dats-1-0-0/related_identifier_info_schema.json @@ -0,0 +1,51 @@ +{ + "id": "https://w3id.org/dats/schema/related_identifier_info_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS related identifier information schema", + "description": "Information about an idenfier of related resources.", + "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": [ "RelatedIdentifier" ]}, + "identifier": { + "description": "An identifier of a related resource.", + "type" : "string" + }, + "identifierSource": { + "description": "The identifier source represents information about the organisation/namespace responsible for minting the identifiers. It must be provided if the identifier is provided.", + "type" : "string" + }, + "relationType": { + "description": "The type of the relationship corresponding to this identifier.", + "anyOf": [ + { "type" : "string" }, + { "type": "string", + "format": "uri" + }, + { + "$ref": "annotation_schema.json#" + } + ] + } + }, + "additionalProperties": false +} diff --git a/vendor/dats-1-0-0/software_schema.json b/vendor/dats-1-0-0/software_schema.json new file mode 100644 index 0000000..44f16ef --- /dev/null +++ b/vendor/dats-1-0-0/software_schema.json @@ -0,0 +1,103 @@ +{ + "id": "https://w3id.org/dats/schema/software_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS software schema", + "description": "A digital entity containing sets of instructions and operation, which allows computation and operation of and by computer.", + "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": [ "Software" ]}, + "identifier": { + "description": "The identifier of the software.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the software.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the software.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the software.", + "type" : "string" + }, + "description" : { + "description": "A textual narrative comprised of one or more statements describing the software.", + "type" : "string" + }, + "licenses" : { + "description": "The terms of use of the software.", + "type" : "array", + "items" : { + "$ref" : "license_schema.json#" + } + }, + "version" : { + "description": "A release point for the software.", + "type" : "string" + }, + "dates" : { + "description": "Relevant dates, e.g. the release date of the software, may be provided.", + "type" : "array", + "items": { + "$ref" : "date_info_schema.json#" + } + }, + "isUsedBy" : { + "description": "The data acquisition activity that makes use of this software.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref": "data_acquisition_schema.json#"}, + {"$ref": "data_analysis_schema.json#"} + ] + } + }, + "manufacturer" : { + "description": "The person or organisation that produced the software.", + "type" : "array", + "items" : { + "oneOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + } + }, + "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":[ "@type", "name" ] +} diff --git a/vendor/dats-1-0-0/study_group_schema.json b/vendor/dats-1-0-0/study_group_schema.json new file mode 100644 index 0000000..baf4a7d --- /dev/null +++ b/vendor/dats-1-0-0/study_group_schema.json @@ -0,0 +1,86 @@ +{ + "id": "https://w3id.org/dats/schema/study_group_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS study group schema", + "description": "A collection of entities known as study subjects based on a set of specified criteria and rules; synonyms: population, cohort.", + "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": [ "StudyGroup" ]}, + "identifier": { + "description": "The identifier of the study group.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the study group.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the study group.", + "type" : "string" + }, + "keywords": { + "description": "a set of annotations to characterize the study group.", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "size": { + "description": "The number of members in the group.", + "type" : "number" + }, + "members" : { + "description": "The entities making up the study group.", + "type" : "array", + "items" : { + "$ref" : "material_schema.json#" + } + }, + "consentInformation": { + "description": "The consent information related to this study group.", + "type": "array", + "items" : { + "$ref" : "consent_info_schema.json#" + } + }, + "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": [ "name" ] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/study_schema.json b/vendor/dats-1-0-0/study_schema.json new file mode 100644 index 0000000..988bdf3 --- /dev/null +++ b/vendor/dats-1-0-0/study_schema.json @@ -0,0 +1,197 @@ +{ + "id": "https://w3id.org/dats/schema/study_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS study schema", + "description": "Process to acquire data on a sample and attempt to draw conclusions about the population the sample has been selected from, executing a plan and design.", + "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": [ "Study" ]}, + "identifier": { + "description": "The identifier of the study.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the activity.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the activity.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the activity, usually one sentece or short description of the study.", + "type": "string" + }, + "description" : { + "description": "A textual narrative comprised of one or more statements describing the study.", + "type" : "string" + }, + "types": { + "description": "The types of study (e.g. intervention or observation or meta-analysis or clinical trials, or behavioural study, or the study design).", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "startDate": { + "description": "A timestamp to record the starting point of the activity.", + "$ref": "date_info_schema.json#" + }, + "endDate": { + "description": "A timestamp to record the end point of the activity.", + "$ref": "date_info_schema.json#" + }, + "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#" + } + }, + "duration": { + "description": "The time during which the activity takes place.", + "type": "string" + }, + "location": { + "description": "The location where the activity takes place.", + "$ref": "place_schema.json#" + }, + "performedBy": { + "description": "The person(s) or organisation(s) responsible for executing the process.", + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "person_schema.json#" + }, + { + "$ref": "organization_schema.json#" + } + ] + } + }, + "keywords": { + "description": "Tags associated with the activity, which will help in its discovery.", + "type": "array", + "items": { + "$ref": "annotation_schema.json#" + } + }, + "input": { + "description": "The entities used as input.", + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "dataset_schema.json#" + }, + { + "$ref": "material_schema.json#" + } + ] + } + }, + "output": { + "description": "The entities resulting from applying the activity.", + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "dataset_schema.json#" + }, + { + "$ref": "material_schema.json#" + } + ] + } + }, + "schedulesActivity": { + "description": "The activities scheduled by the study.", + "type": "array", + "items": { + "anyOf":[ + {"$ref": "activity_schema.json#"}, + {"$ref": "data_acquisition_schema.json#"}, + {"$ref": "data_analysis_schema.json#"} + ] + } + }, + "schedulesDataAcquisition": { + "description": "The kind of techniques and response variables used during a study for acquiring data.", + "type": "array", + "items": { + "$ref": "data_acquisition_schema.json#" + }, + "minItems": 1 + }, + "selectionCriteria": { + "description": "The attributes and values that the material should meet in order to be part of the group.", + "type": "array", + "items": { + "anyOf": [ + { "$ref": "annotation_schema.json#"}, + { "$ref": "category_values_pair_schema.json#"} + ] + } + }, + "studyGroups": { + "description": "The different study groups associated with a study.", + "type": "array", + "items": { + "$ref": "study_group_schema.json#" + } + }, + "usesReagent": { + "description": "The materials that are used as reagents (but not subjects) of the study.", + "type": "array", + "items": { + "$ref": "material_schema.json#" + } + }, + "isAboutBiologicalEntity": { + "description": "The biological entities relevant to the study, ideally from a controlled vocabulary/ontology such as Gene Ontology.", + "type": "array", + "items": { + "$ref": "biological_entity_schema.json#" + } + }, + "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": [ + "name" + ] + +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/taxonomic_info_schema.json b/vendor/dats-1-0-0/taxonomic_info_schema.json new file mode 100644 index 0000000..0880119 --- /dev/null +++ b/vendor/dats-1-0-0/taxonomic_info_schema.json @@ -0,0 +1,61 @@ +{ + "id": "https://w3id.org/dats/schema/taxonomic_info_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS organism schema", + "description": "A living entity.", + "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": [ "TaxonomicInformation" ]}, + "identifier": { + "description": "The identifier of the taxonomic information.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the organism.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the organism.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The scientific name of an organism.", + "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" : ["name"] +} \ No newline at end of file diff --git a/vendor/dats-1-0-0/treatment_schema.json b/vendor/dats-1-0-0/treatment_schema.json new file mode 100644 index 0000000..f636d0d --- /dev/null +++ b/vendor/dats-1-0-0/treatment_schema.json @@ -0,0 +1,154 @@ +{ + "id": "https://w3id.org/dats/schema/treatment_schema.json", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "DATS treatment schema", + "description": "Process, part of a study, consisting in exposing participants to the study to different conditions or group those participants into different categories based on specific criteria and compare their outcomes", + "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": [ "Treatment" ] + }, + "identifier": { + "description": "The identifier of the treatment.", + "$ref": "identifier_info_schema.json#" + }, + "alternateIdentifiers": { + "description": "Alternate identifiers for the activity.", + "type": "array", + "items": { + "$ref": "alternate_identifier_info_schema.json#" + } + }, + "relatedIdentifiers": { + "description": "Related identifiers for the activity.", + "type": "array", + "items": { + "$ref": "related_identifier_info_schema.json#" + } + }, + "name": { + "description": "The name of the activity, usually one sentece or short description of the treatment.", + "type" : "string" + }, + "description" : { + "description": "A textual narrative comprised of one or more statements describing the treatment.", + "type" : "string" + }, + "startDate": { + "description": "A timestamp to record the starting point of the activity.", + "$ref": "date_info_schema.json#" + }, + "endDate": { + "description": "A timestamp to record the end point of the activity.", + "$ref": "date_info_schema.json#" + }, + "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#" + } + }, + "duration": { + "description": "The time during which the activity takes place.", + "type" : "string" + }, + "location" : { + "description": "The location where the activity takes place.", + "$ref" : "place_schema.json#" + }, + "performedBy" : { + "description": "The person(s) or organisation(s) responsible for executing the process.", + "type" : "array", + "items" : { + "anyOf": [ + {"$ref" : "person_schema.json#"}, + {"$ref" : "organization_schema.json#"} + ] + } + }, + + "keywords": { + "description": "Tags associated with the activity, which will help in its discovery.", + "type": "array", + "items": { + "$ref" : "annotation_schema.json#" + } + }, + "input" : { + "description": "The entities used as input.", + "type": "array", + "items":{ + "$ref" : "study_group_schema.json#" + }, + "minItems": 1 + }, + "output" : { + "description": "The entities resulting from applying the activity.", + "type": "array", + "items":{ + "$ref" : "study_group_schema.json#" + } + }, + "agent": { + "description": "The nature of the perturbation or intervention used in the treatment.", + "oneOf": [ + {"$ref": "molecular_entity_schema.json#"}, + {"$ref": "material_schema.json#"}, + {"$ref": "activity_schema.json#"}, + { + "type": "string", + "format": "uri" + } + ] + }, + "intensity": { + "description": "A measurement about how acute the perturbation is.", + "type": "array", + "items": { + "oneOf": [ + {"type": "string"}, + {"type": "number"} + ] + } + }, + "concomitance": { + "description": "A boolean value to indicate if more that one perturbations are applied at the same time to the same subject.", + "type": "boolean" + }, + "order": { + "description": "The rank in which perturbations are being applied to study subjects.", + "type": "number" + }, + "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": [ "@type", "name", "input" ] +}