Skip to content

Commit 2d3fa60

Browse files
committed
Added dats schemas
1 parent 53ddcc3 commit 2d3fa60

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed

meta/entity/dats.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$id": "/dcic/signature-commons-schema/v5/meta/entity/dats.json",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"description": "Entity metadata as described by dats",
5+
"allOf": [
6+
{
7+
"$ref": "/dcic/signature-commons-schema/v5/core/meta.json"
8+
},
9+
{
10+
"anyOf": [
11+
{"$ref" : "https://w3id.org/dats/schema/biological_entity_schema.json"},
12+
{"$ref" : "https://w3id.org/dats/schema/taxonomic_info_schema.json"},
13+
{"$ref" : "https://w3id.org/dats/schema/disease_schema.json"},
14+
{"$ref" : "https://w3id.org/dats/schema/molecular_entity_schema.json"},
15+
{"$ref" : "https://w3id.org/dats/schema/anatomical_part_schema.json"},
16+
{"$ref" : "https://w3id.org/dats/schema/treatment_schema.json"},
17+
{"$ref" : "https://w3id.org/dats/schema/material_schema.json"},
18+
{"$ref" : "https://w3id.org/dats/schema/study_group_schema.json"},
19+
{"$ref" : "https://w3id.org/dats/schema/annotation_schema.json"}
20+
]
21+
}
22+
]
23+
}

meta/library/dats.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$id": "/dcic/signature-commons-schema/v5/meta/library/dats.json",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"description": "Library metadata as described by dats",
5+
"allOf": [
6+
{
7+
"$ref": "/dcic/signature-commons-schema/v5/core/meta.json"
8+
},
9+
{
10+
"$ref": "https://w3id.org/dats/schema/dataset_schema.json"
11+
}
12+
]
13+
}

meta/signature/dats.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$id": "/dcic/signature-commons-schema/v5/meta/signature/dats.json",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"description": "Signature metadata as described by dats",
5+
"allOf": [
6+
{
7+
"$ref": "/dcic/signature-commons-schema/v5/core/meta.json"
8+
},
9+
{
10+
"$ref": "https://w3id.org/dats/schema/study_schema.json"
11+
}
12+
]
13+
}

0 commit comments

Comments
 (0)