Skip to content

Commit

Permalink
Added dats schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand committed Jul 3, 2019
1 parent 53ddcc3 commit 2d3fa60
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
23 changes: 23 additions & 0 deletions meta/entity/dats.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$id": "/dcic/signature-commons-schema/v5/meta/entity/dats.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Entity metadata as described by dats",
"allOf": [
{
"$ref": "/dcic/signature-commons-schema/v5/core/meta.json"
},
{
"anyOf": [
{"$ref" : "https://w3id.org/dats/schema/biological_entity_schema.json"},
{"$ref" : "https://w3id.org/dats/schema/taxonomic_info_schema.json"},
{"$ref" : "https://w3id.org/dats/schema/disease_schema.json"},
{"$ref" : "https://w3id.org/dats/schema/molecular_entity_schema.json"},
{"$ref" : "https://w3id.org/dats/schema/anatomical_part_schema.json"},
{"$ref" : "https://w3id.org/dats/schema/treatment_schema.json"},
{"$ref" : "https://w3id.org/dats/schema/material_schema.json"},
{"$ref" : "https://w3id.org/dats/schema/study_group_schema.json"},
{"$ref" : "https://w3id.org/dats/schema/annotation_schema.json"}
]
}
]
}
13 changes: 13 additions & 0 deletions meta/library/dats.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$id": "/dcic/signature-commons-schema/v5/meta/library/dats.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Library metadata as described by dats",
"allOf": [
{
"$ref": "/dcic/signature-commons-schema/v5/core/meta.json"
},
{
"$ref": "https://w3id.org/dats/schema/dataset_schema.json"
}
]
}
13 changes: 13 additions & 0 deletions meta/signature/dats.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$id": "/dcic/signature-commons-schema/v5/meta/signature/dats.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Signature metadata as described by dats",
"allOf": [
{
"$ref": "/dcic/signature-commons-schema/v5/core/meta.json"
},
{
"$ref": "https://w3id.org/dats/schema/study_schema.json"
}
]
}

0 comments on commit 2d3fa60

Please sign in to comment.