-
Notifications
You must be signed in to change notification settings - Fork 3
/
SamplingCollection.json
43 lines (43 loc) · 1.59 KB
/
SamplingCollection.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://raw.githubusercontent.com/peterataylor/om-json/master/SamplingCollection.json",
"title": "Sampling feature collection",
"description": "Collection of features on which observations may be made.",
"type": "object",
"properties": {
"id": {
"title": "id",
"description": "A unique identifier for the sampling feature collection",
"type": "string"
},
"type": {
"title": "type",
"description": "Identifies the type of object",
"type": "enum"
},
"sampledFeature": {
"title": "sampledFeature",
"description": "the feature which the sampling feature collection was designed to sample",
"type": "array",
"items": { "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
"minItems": 1,
"uniqueItems": true
},
"member": {
"title": "member",
"description": "Member of this sampling feature collection",
"type": "array",
"items": {
"anyOf": [
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Sampling.json" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Specimen.json" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/SpatialSampling.json" }
]
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [ "id", "member" ]
}