Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of conformsTo property with a enum including the schema id #24 #25

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion access_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
]
},
"@id": {
"@id": {
"description": "The JSON-LD identifier",
"type": "string",
"format": "uri"
Expand All @@ -29,6 +29,12 @@
"type": "string",
"enum": [ "Access" ]
},
"conformsTo": {
"type": "string",
"enum": [
"https://w3id.org/dats/schema/access_schema.json"
]
},
"identifier": {
"$ref": "identifier_info_schema.json#"
},
Expand Down
5 changes: 4 additions & 1 deletion activity_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
"type": "string", "format": "uri" },
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "Activity" ]
"type": "string", "enum": [ "Activity" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/activity_schema.json" ]
},
"identifier": {
"$ref": "identifier_info_schema.json#"
Expand Down
4 changes: 4 additions & 0 deletions alternate_identifier_info_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "AlternateIdentifier" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/alternate_identifier_info_schema.json" ]
},
"identifier": {
"description": "An identifier or identifiers other than the primary Identifier applied to the resource being registered. (definition from DataCite)",
"type" : "string"
Expand Down
4 changes: 4 additions & 0 deletions anatomical_part_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "AnatomicalPart" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/anatomical_part_schema.json" ]
},
"identifier": {
"$ref": "identifier_info_schema.json#"
},
Expand Down
4 changes: 4 additions & 0 deletions annotation_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"Annotation"
]
},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/annotation_schema.json" ]
},
"value": {
"description": "The value of the annotation - it can be a string or a number (for coded values).",
"oneOf": [
Expand Down
4 changes: 4 additions & 0 deletions biological_entity_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "BiologicalEntity" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/biological_entity_schema.json" ]
},
"identifier": {
"$ref": "identifier_info_schema.json#"
},
Expand Down
4 changes: 4 additions & 0 deletions category_values_pair_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "CategoryValuesPair" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/category_values_pair_schema.json" ]
},
"category": {
"description": "A characteristic or property about the entity this object is associated with.",
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions consent_info_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "ConsentInfo" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/consent_info_schema.json" ]
},
"identifier": {
"$ref": "identifier_info_schema.json#"
},
Expand Down
4 changes: 4 additions & 0 deletions data_analysis_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "DataAnalysis" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/data_analysis_schema.json" ]
},
"identifier": {
"$ref": "identifier_info_schema.json#"
},
Expand Down
4 changes: 4 additions & 0 deletions data_repository_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "DataRepository" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/data_repository_schema.json" ]
},
"identifier": {
"$ref": "identifier_info_schema.json#"
},
Expand Down
4 changes: 4 additions & 0 deletions data_standard_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "DataStandard" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/data_standard_schema.json" ]
},
"identifier": {
"$ref": "identifier_info_schema.json#"
},
Expand Down
5 changes: 5 additions & 0 deletions data_type_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@
}
]
},

"@id": {
"description": "The JSON-LD identifier",
"type": "string", "format": "uri"
},
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "DataType" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/data_type_schema.json" ]
},
"information": {
"description": "The measurements or facts that the data is about.",
"$ref" : "annotation_schema.json#"
Expand Down
4 changes: 4 additions & 0 deletions dataset_distribution_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "DatasetDistribution" ]},
"conformsTo": {
"type": "string",
"enum": [ "https://w3id.org/dats/schema/dataset_distribution_schema.json" ]
},
"identifier": {
"$ref": "identifier_info_schema.json#"
},
Expand Down
Loading