-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdimension_schema.json
90 lines (90 loc) · 3.31 KB
/
dimension_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"id": "http://biocaddie.github.io/dats/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": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"@type": { "type": "string", "enum": [ "Dimension" ]},
"identifier": {
"$ref": "http://biocaddie.github.io/dats/identifier_info_schema.json#"
},
"alternateIdentifiers": {
"description": "Alternate identifiers for the dimension.",
"type": "array",
"items": {
"$ref": "http://biocaddie.github.io/dats/alternate_identifier_info_schema.json#"
}
},
"relatedIdentifiers": {
"description": "Related identifiers for the dimension.",
"type": "array",
"items": {
"$ref": "http://biocaddie.github.io/dats/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": "http://biocaddie.github.io/dats/annotation_schema.json#"
}
},
"datatype": {
"description": "The type of data for this dimension, as described with the DataType entity.",
"$ref": "http://biocaddie.github.io/dats/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" : "http://biocaddie.github.io/dats/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" : "http://biocaddie.github.io/dats/material_schema.json#"},
{"$ref" : "http://biocaddie.github.io/dats/dataset_schema.json#"}
]
}
},
"partOf" : {
"description": "The dataset(s) this dimension belongs to.",
"type" : "array",
"items" : {
"$ref": "http://biocaddie.github.io/dats/dataset_schema.json#"
}
},
"extraProperties": {
"description": "Extra properties that do not fit in the previous specified attributes. ",
"type": "array",
"items": {
"$ref" : "http://biocaddie.github.io/dats/category_values_pair_schema.json#"
}
}
},
"additionalProperties": false,
"required": [ "name" ]
}