-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTemporalInterval.json
108 lines (108 loc) · 3.21 KB
/
TemporalInterval.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"@context": {
"owl": "http://www.w3.org/2002/07/owl#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"schema": "http://schema.org/",
"niaid": "https://discovery.biothings.io/view/niaid/"
},
"@id": "https://discovery.biothings.io/view/niaid/",
"@graph": [
{
"@id": "niaid:TemporalInterval",
"@type": "rdfs:Class",
"rdfs:comment": "Temporal information relevant to the dataset, NOT the dataset record.",
"rdfs:label": "TemporalInterval",
"rdfs:subClassOf": {
"@id": "schema:Schedule"
},
"schema:isPartOf": {
"@id": "https://discovery.biothings.io/view/niaid/"
},
"$validation": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"temporalType": {
"description": "Categorization of how the location relates to the dataset or computational tool",
"owl:cardinality": "many",
"oneOf": [
{
"type": "string",
"enum": [
"exposure",
"collection",
"screening",
"treatment",
"study date",
"other",
"unknown"
]
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"exposure",
"collection",
"screening",
"treatment",
"study date",
"other",
"unknown"
]
}
}
]
},
"startDate": {
"description": "The start date of the temporal interval for the dataset",
"owl:cardinality": "one",
"type": "string",
"format": "date"
},
"name": {
"description": "String describing the temporal interval",
"owl:cardinality": "one",
"type": "string"
},
"endDate": {
"description": "The end date of the temporal interval for the dataset.",
"owl:cardinality": "one",
"type": "string",
"format": "date"
},
"duration": {
"description": "A time interval in ISO 8601 duration format.",
"owl:cardinality": "one",
"type": "string"
}
},
"recommended": [
"temporalType",
"startDate",
"endDate",
"duration"
],
"optional": [
"name"
]
}
},
{
"@id": "niaid:temporalType",
"@type": "rdf:Property",
"rdfs:comment": "A categorization of a temporal relationship to a dataset, NOT the dataset record. Eg- data collection temporal interval, screening temporal interval, etc.",
"rdfs:label": "temporalType",
"schema:domainIncludes": [
{
"@id": "niaid:TemporalInterval"
}
],
"schema:rangeIncludes": [{
"@id": "schema:Text"
}]
}
]
}