forked from peterataylor/om-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpatialSampling.json
39 lines (39 loc) · 1.63 KB
/
SpatialSampling.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://raw.githubusercontent.com/adamml/om-json/master/SpatialSampling.json",
"title": "Spatial Sampling Feature",
"description": " ## EXTENDS SAMPLING FEATURE ## Sampling feature whose defining characteristic is that it samples the intended feature by geometric subsetting. ",
"type": "object",
"allOf": [
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Sampling.json" },
{
"properties": {
"shape": {
"title": "shape",
"description": "Spatial location and extent of the sampling feature",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Geometry.json#/definitions/geometryObject"
},
"hostedProcedure": {
"title": "hostedProcedure",
"description": "Observation procedure (instrument, sensor, observer) associated with or hosted by this spatial sampling feature.",
"type": "array",
"items": { "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
"minItems": 1
}
}
}
],
"properties": {
"@context" : { "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/@context" },
"id": {},
"type": { "enum": [ "SamplingPoint" , "SamplingCurve" , "SamplingSurface" , "SamplingSolid" ] },
"sampledFeature": {},
"relatedObservation": {},
"complex": {},
"type": {},
"shape": {},
"hostedProcedure": {}
},
"additionalProperties" : false,
"required": [ "id", "sampledFeature", "shape" ]
}