-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSpecimen.json
70 lines (70 loc) · 3.25 KB
/
Specimen.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://raw.githubusercontent.com/peterataylor/om-json/master/Specimen.json",
"title": "Specimen",
"description": " ## EXTENDS SAMPLING FEATURE ## A Specimen is a physical sample, obtained for observation(s) normally carried out ex-situ, sometimes in a laboratory.",
"type": "object",
"allOf": [
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Sampling.json" },
{
"properties": {
"samplingTime": {
"title": "samplingTime",
"description": "time the specimen was taken from the sampled feature",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/temporalPrimitive"
},
"samplingMethod": {
"title": "samplingMethod",
"description": "Process used to take the specimen from the sampled feature.",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"samplingLocation": {
"title": "samplingLocation",
"description": "Location from which the specimen was taken within the sampled feature",
"oneOf": [
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/text" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Geometry.json#/definitions/geometryObject" }
]
},
"samplingElevation": {
"title": "samplingElevation",
"description": "Elevation from which the specimen was taken at the sampling location",
"properties": {
"elevation": { "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/measure" },
"verticalDatum": { "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" }
},
"required": [ "elevation"]
},
"currentLocation": {
"title": "currentLocation",
"description": "Location where the specimen is currently",
"oneOf": [
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/text" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Geometry.json#/definitions/geometryObject" }
]
},
"size": {
"title": "size",
"description": "Physical extent of the specimen (length, mass, etc)",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/measure"
}
}
}
],
"properties": {
"id": {},
"type": {},
"sampledFeature": {},
"relatedObservation": {},
"complex": {},
"samplingTime": {},
"samplingMethod": {},
"samplingLocation": {},
"samplingElevation": {},
"currentLocation": {},
"size": {}
},
"required": [ "id","samplingTime" ]
}