adiwg-mdjson_schemas 2.9.6 → 2.10.0.pre.beta.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +2 -2
- data/adiwg-json_schemas.gemspec +1 -1
- data/examples/environment.json +10 -0
- data/examples/event.json +13 -0
- data/examples/instrument.json +12 -0
- data/examples/instrumentationEvent.json +9 -0
- data/examples/instrumentationEventList.json +9 -0
- data/examples/objective.json +13 -0
- data/examples/operation.json +16 -0
- data/examples/pass.json +8 -0
- data/examples/plan.json +10 -0
- data/examples/platform.json +11 -0
- data/examples/requestedDate.json +4 -0
- data/examples/requirement.json +14 -0
- data/examples/revision.json +5 -0
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/package-lock.json +75 -73
- data/package.json +3 -6
- data/schema/acquisition.json +70 -0
- data/schema/dataDictionary.json +5 -36
- data/schema/dataQualityReport.json +15 -15
- data/schema/environment.json +34 -0
- data/schema/event.json +56 -0
- data/schema/instrument.json +46 -0
- data/schema/instrumentationEvent.json +49 -0
- data/schema/instrumentationEventList.json +40 -0
- data/schema/metadata.json +7 -0
- data/schema/objective.json +69 -0
- data/schema/operation.json +101 -0
- data/schema/pass.json +30 -0
- data/schema/plan.json +65 -0
- data/schema/platform.json +48 -0
- data/schema/requestedDate.json +20 -0
- data/schema/requirement.json +57 -0
- data/schema/revision.json +27 -0
- data/schema/schema.json +1 -1
- metadata +33 -9
- data/.github/workflows/create-release.yml +0 -41
- data/CONTRIBUTING.md +0 -75
- data/scripts/clean.sh +0 -5
data/schema/dataDictionary.json
CHANGED
@@ -7,16 +7,6 @@
|
|
7
7
|
"required": ["subject", "citation", "responsibleParty"],
|
8
8
|
"additionalProperties": true,
|
9
9
|
"properties": {
|
10
|
-
"dictionaryId": {
|
11
|
-
"type": "string",
|
12
|
-
"description": "Unique identifier for the dictionary.",
|
13
|
-
"translation": {
|
14
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > identifier > MD_Identifier"],
|
15
|
-
"FGDC CSDGM": ["no translation"],
|
16
|
-
"DCAT": ["no translation"],
|
17
|
-
"sbJSON": ["no translation"]
|
18
|
-
}
|
19
|
-
},
|
20
10
|
"citation": {
|
21
11
|
"description": "Citation for the dictionary.",
|
22
12
|
"$ref": "./citation.json#"
|
@@ -24,12 +14,7 @@
|
|
24
14
|
"description": {
|
25
15
|
"type": "string",
|
26
16
|
"description": "A free text description of the contents of the data dictionary.",
|
27
|
-
"translation": {
|
28
|
-
"ISO 19115-2": [],
|
29
|
-
"FGDC CSDGM": ["eainfo > detailed > enttype > enttypd"],
|
30
|
-
"DCAT": ["no translation"],
|
31
|
-
"sbJSON": ["no translation"]
|
32
|
-
}
|
17
|
+
"translation": {}
|
33
18
|
},
|
34
19
|
"subject": {
|
35
20
|
"type": "array",
|
@@ -61,6 +46,7 @@
|
|
61
46
|
"items": {
|
62
47
|
"$ref": "./locale.json"
|
63
48
|
}
|
49
|
+
|
64
50
|
},
|
65
51
|
"responsibleParty": {
|
66
52
|
"$ref": "./responsibility.json#",
|
@@ -74,33 +60,19 @@
|
|
74
60
|
"dictionaryFunctionalLanguage": {
|
75
61
|
"type": "string",
|
76
62
|
"description": "Formal functional language used in the dictionary.",
|
77
|
-
"translation": {
|
78
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > functionalLanguage"],
|
79
|
-
"FGDC CSDGM": ["no translation"],
|
80
|
-
"DCAT": ["no translation"],
|
81
|
-
"sbJSON": ["no translation"]
|
82
|
-
}
|
63
|
+
"translation": {}
|
83
64
|
},
|
84
65
|
"dictionaryIncludedWithResource": {
|
85
66
|
"type": "boolean",
|
86
67
|
"description": "Indication of whether or not the data dictionary is included with the resource.",
|
87
68
|
"translation": {
|
88
|
-
"ISO 19115-3": ["MD_FeatureCatalogueDescription > includedWithDataset"]
|
89
|
-
"FGDC CSDGM": ["eainfo"],
|
90
|
-
"DCAT": ["no translation"],
|
91
|
-
"sbJSON": ["no translation"]
|
69
|
+
"ISO 19115-3": ["MD_FeatureCatalogueDescription > includedWithDataset"]
|
92
70
|
},
|
93
71
|
"default": false
|
94
72
|
},
|
95
73
|
"domain": {
|
96
74
|
"type": "array",
|
97
75
|
"description": "A list of permissable values used to constrain an attribute's value. A single domain may be assigned to multiple attributes in a table or database.",
|
98
|
-
"translation": {
|
99
|
-
"ISO 19115-2": ["FC_FeatureAttribute > listedValue"],
|
100
|
-
"FGDC CSDGM": ["eainfo > detailed > attr > attrdomv"],
|
101
|
-
"DCAT": ["no translation"],
|
102
|
-
"sbJSON": ["no translation"]
|
103
|
-
},
|
104
76
|
"items": {
|
105
77
|
"$ref": "./domain.json#"
|
106
78
|
}
|
@@ -109,10 +81,7 @@
|
|
109
81
|
"type": "array",
|
110
82
|
"description": "Defines the structure of a discrete data object within the data resource. The data object may be a table, dataset, or single sheet of a spreadsheet.",
|
111
83
|
"translation": {
|
112
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType"]
|
113
|
-
"FGDC CSDGM": ["eainfo"],
|
114
|
-
"DCAT": ["no translation"],
|
115
|
-
"sbJSON": ["no translation"]
|
84
|
+
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType"]
|
116
85
|
},
|
117
86
|
"items": {
|
118
87
|
"$ref": "./entity.json#"
|
@@ -38,21 +38,21 @@
|
|
38
38
|
"DCAT": ["no translation"]
|
39
39
|
},
|
40
40
|
"enum": [
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
54
|
-
"
|
55
|
-
"
|
41
|
+
"AbsoluteExternalPositionalAccuracy",
|
42
|
+
"RelativeInternalPositionalAccuracy",
|
43
|
+
"GriddedDataPositionalAccuracy",
|
44
|
+
"ConceptualConsistency",
|
45
|
+
"DomainConsistency",
|
46
|
+
"FormatConsistency",
|
47
|
+
"TopologicalConsistency",
|
48
|
+
"ThematicClassificationCorrectness",
|
49
|
+
"NonQuantitativeAttributeCorrectness",
|
50
|
+
"QuantitativeAttributeAccuracy",
|
51
|
+
"AccuracyOfATimeMeasurement",
|
52
|
+
"TemporalValidity",
|
53
|
+
"TemporalConsistency",
|
54
|
+
"CompletenessCommission",
|
55
|
+
"CompletenessOmission"
|
56
56
|
]
|
57
57
|
},
|
58
58
|
"standaloneQualityReportDetails": {
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"id": "environment.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "information about the environmental conditions during the acquisition",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/environment.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"properties": {
|
9
|
+
"averageAirTemperature": {
|
10
|
+
"type": "number",
|
11
|
+
"description": "average air temperature along the flight pass during the photo flight"
|
12
|
+
},
|
13
|
+
"maxRelativeHumidity": {
|
14
|
+
"type": "number",
|
15
|
+
"description": "maximum relative humidity along the flight pass during the photo flight"
|
16
|
+
},
|
17
|
+
"maxAltitude": {
|
18
|
+
"type": "number",
|
19
|
+
"description": "maximum altitude during the photo flight"
|
20
|
+
},
|
21
|
+
"meteorologicalConditions": {
|
22
|
+
"type": "string",
|
23
|
+
"description": "meteorological conditions in the photo flight area, in particular clouds, snow and wind"
|
24
|
+
},
|
25
|
+
"solarAzimuth": {
|
26
|
+
"type": "number",
|
27
|
+
"description": "clockwise angle in degrees from north to the centre of the sun’s disc. Note: This angle is calculated from the nadir point of the sensor, not at the centre point of the image"
|
28
|
+
},
|
29
|
+
"solarElevation": {
|
30
|
+
"type": "number",
|
31
|
+
"description": "angle between the horizon and the centre of the Sun’s disk"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
data/schema/event.json
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
{
|
2
|
+
"id": "event.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "designations for the planning information related to meeting the data acquisition requirements",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/event.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["eventId", "identifier", "trigger", "context", "sequence", "time"],
|
9
|
+
"properties": {
|
10
|
+
"eventId": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "a unique mdJSON system identifier for the event"
|
13
|
+
},
|
14
|
+
"identifier": {
|
15
|
+
"$ref": "./identifier.json#",
|
16
|
+
"description": "event name or number"
|
17
|
+
},
|
18
|
+
"trigger": {
|
19
|
+
"type": "string",
|
20
|
+
"description": "initiator of the event",
|
21
|
+
"enum": ["automatic", "manual", "preProgrammed"]
|
22
|
+
},
|
23
|
+
"context": {
|
24
|
+
"type": "string",
|
25
|
+
"description": "meaning of the event",
|
26
|
+
"enum": ["acquisition", "pass", "wayPoint"]
|
27
|
+
},
|
28
|
+
"sequence": {
|
29
|
+
"type": "string",
|
30
|
+
"description": "relative time ordering of the event",
|
31
|
+
"enum": ["start", "end", "instantaneous"]
|
32
|
+
},
|
33
|
+
"time": {
|
34
|
+
"$ref": "./common.json#/definitions/date",
|
35
|
+
"description": "time the event occurred"
|
36
|
+
},
|
37
|
+
"expectedObjective": {
|
38
|
+
"type": "array",
|
39
|
+
"items": {
|
40
|
+
"$ref": "./objective.json#"
|
41
|
+
},
|
42
|
+
"description": "objective or objectives satisfied by an event"
|
43
|
+
},
|
44
|
+
"relatedPass": {
|
45
|
+
"$ref": "./pass.json#",
|
46
|
+
"description": "pass during which an event occurs"
|
47
|
+
},
|
48
|
+
"relatedSensor": {
|
49
|
+
"type": "array",
|
50
|
+
"items": {
|
51
|
+
"$ref": "./instrument.json#"
|
52
|
+
},
|
53
|
+
"description": "instrument or instruments for which the event is meaningful"
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
{
|
2
|
+
"id": "instrument.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/instrument.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["instrumentId","identifier","instrumentType"],
|
9
|
+
"properties": {
|
10
|
+
"instrumentId": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "a unique mdJSON system identifier for the instrument"
|
13
|
+
},
|
14
|
+
"citation": {
|
15
|
+
"$ref": "./citation.json#",
|
16
|
+
"description": "complete citation of the instrument"
|
17
|
+
},
|
18
|
+
"identifier": {
|
19
|
+
"$ref": "./identifier.json#",
|
20
|
+
"description": "unique identification of the instrument"
|
21
|
+
},
|
22
|
+
"instrumentType": {
|
23
|
+
"type": "string",
|
24
|
+
"description": "name of the type of instrument. Examples: framing, linescan, push-broom, panframe"
|
25
|
+
},
|
26
|
+
"description": {
|
27
|
+
"type": "string",
|
28
|
+
"description": "textual description of the instrument"
|
29
|
+
},
|
30
|
+
"mountedOn": {
|
31
|
+
"$ref": "./platform.json#",
|
32
|
+
"description": "platform on which the instrument is mounted"
|
33
|
+
},
|
34
|
+
"history": {
|
35
|
+
"type": "array",
|
36
|
+
"items": {
|
37
|
+
"$ref": "./instrumentationEventList.json#"
|
38
|
+
},
|
39
|
+
"description": "list of events associated with the instrument"
|
40
|
+
},
|
41
|
+
"hostId": {
|
42
|
+
"$ref": "./identifier.json#",
|
43
|
+
"description": "identifier of the hosting instrument for a sensor"
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
{
|
2
|
+
"id": "instrumentationEvent.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "an event related to a platform, instrument, sensor",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/instrumentationEvent.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["description","eventType"],
|
9
|
+
"properties": {
|
10
|
+
"citation": {
|
11
|
+
"$ref": "./citation.json#",
|
12
|
+
"description": "citation to the instrumentationEvent"
|
13
|
+
},
|
14
|
+
"description": {
|
15
|
+
"type": "string",
|
16
|
+
"description": "description of the instrumentationEvent"
|
17
|
+
},
|
18
|
+
"extent": {
|
19
|
+
"$ref": "./extent.json#",
|
20
|
+
"description": "extent of the instrumentationEvent"
|
21
|
+
},
|
22
|
+
"eventType": {
|
23
|
+
"type": "string",
|
24
|
+
"description": "type of the instrumentationEvent",
|
25
|
+
"enum": [
|
26
|
+
"announcement",
|
27
|
+
"calibration",
|
28
|
+
"calibrationCoefficientUpdate",
|
29
|
+
"dataLoss",
|
30
|
+
"fatal",
|
31
|
+
"manoeuvre",
|
32
|
+
"missingData",
|
33
|
+
"notice",
|
34
|
+
"prelaunch",
|
35
|
+
"severe",
|
36
|
+
"switchOff",
|
37
|
+
"switchOn",
|
38
|
+
"clean"
|
39
|
+
]
|
40
|
+
},
|
41
|
+
"revisionHistory": {
|
42
|
+
"type": "array",
|
43
|
+
"items": {
|
44
|
+
"$ref": "./revision.json#"
|
45
|
+
},
|
46
|
+
"description": "history of revisions to the instrumentationEvent"
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"id": "instrumentationEventList.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "list of events related to platform, instrument, sensor",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/instrumentationEventList.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["description"],
|
9
|
+
"properties": {
|
10
|
+
"citation": {
|
11
|
+
"type": "array",
|
12
|
+
"items": {
|
13
|
+
"$ref": "./citation.json#"
|
14
|
+
},
|
15
|
+
"description": "description of the language and character-set used for the instrumentationEventList"
|
16
|
+
},
|
17
|
+
"description": {
|
18
|
+
"type": "string",
|
19
|
+
"description": "description of the language and character-set used for the instrumentationEventList"
|
20
|
+
},
|
21
|
+
"locale": {
|
22
|
+
"$ref": "./locale.json#",
|
23
|
+
"description": "description of the language and character-set used for the instrumentationEventList"
|
24
|
+
},
|
25
|
+
"constraints": {
|
26
|
+
"type": "array",
|
27
|
+
"items": {
|
28
|
+
"$ref": "./constraint.json#"
|
29
|
+
},
|
30
|
+
"description": "use and access constraints"
|
31
|
+
},
|
32
|
+
"instrumentationEvent": {
|
33
|
+
"type": "array",
|
34
|
+
"items": {
|
35
|
+
"$ref": "./instrumentationEvent.json#"
|
36
|
+
},
|
37
|
+
"description": "event(s) in the list of events"
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
data/schema/metadata.json
CHANGED
@@ -0,0 +1,69 @@
|
|
1
|
+
{
|
2
|
+
"id": "objective.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "describes the characteristics, spatial and temporal extent of the intended object to be observed",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/objective.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["objectiveId", "identifier"],
|
9
|
+
"properties": {
|
10
|
+
"objectiveId": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "a unique mdJSON system identifier for the objective"
|
13
|
+
},
|
14
|
+
"identifier": {
|
15
|
+
"type": "array",
|
16
|
+
"description": "code used to identify the objective",
|
17
|
+
"items": {
|
18
|
+
"$ref": "./identifier.json#"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"priority": {
|
22
|
+
"type": "string",
|
23
|
+
"description": "priority applied to the target"
|
24
|
+
},
|
25
|
+
"objectiveType": {
|
26
|
+
"type": "array",
|
27
|
+
"items": {
|
28
|
+
"type": "string",
|
29
|
+
"enum": ["instantaneousCollection", "persistentView", "survey"]
|
30
|
+
},
|
31
|
+
"description": "collection techniques for the objective"
|
32
|
+
},
|
33
|
+
"function": {
|
34
|
+
"type": "array",
|
35
|
+
"items": {
|
36
|
+
"type": "string"
|
37
|
+
},
|
38
|
+
"description": "role or purpose performed by or activity performed at the objective"
|
39
|
+
},
|
40
|
+
"extent": {
|
41
|
+
"type": "array",
|
42
|
+
"items": {
|
43
|
+
"$ref": "./extent.json#"
|
44
|
+
},
|
45
|
+
"description": "extent information including the bounding box, bounding polygon, vertical and temporal extent of the objective"
|
46
|
+
},
|
47
|
+
"objectiveOccurrence": {
|
48
|
+
"type": "array",
|
49
|
+
"items": {
|
50
|
+
"$ref": "./event.json#"
|
51
|
+
},
|
52
|
+
"description": "event or events associated with objective completion"
|
53
|
+
},
|
54
|
+
"pass": {
|
55
|
+
"type": "array",
|
56
|
+
"items": {
|
57
|
+
"$ref": "./pass.json#"
|
58
|
+
},
|
59
|
+
"description": "pass of the platform over the objective"
|
60
|
+
},
|
61
|
+
"sensingInstrument": {
|
62
|
+
"type": "array",
|
63
|
+
"items": {
|
64
|
+
"$ref": "./instrument.json#"
|
65
|
+
},
|
66
|
+
"description": "instrument which senses the objective data"
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
{
|
2
|
+
"id": "operation.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/operation.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": [
|
9
|
+
"operationId",
|
10
|
+
"identifier",
|
11
|
+
"status",
|
12
|
+
"parentOperation"
|
13
|
+
],
|
14
|
+
"properties": {
|
15
|
+
"operationId": {
|
16
|
+
"type": "string",
|
17
|
+
"description": "a unique mdJSON system identifier for the operation"
|
18
|
+
},
|
19
|
+
"description": {
|
20
|
+
"type": "string",
|
21
|
+
"description": "description of the mission on which the platform observations are made and the objectives of that mission"
|
22
|
+
},
|
23
|
+
"citation": {
|
24
|
+
"$ref": "./citation.json#",
|
25
|
+
"description": "identification of the mission"
|
26
|
+
},
|
27
|
+
"identifier": {
|
28
|
+
"$ref": "./identifier.json#",
|
29
|
+
"description": "unique identification of the operation"
|
30
|
+
},
|
31
|
+
"status": {
|
32
|
+
"type": "string",
|
33
|
+
"description": "status of the data acquisition",
|
34
|
+
"enum": [
|
35
|
+
"accepted",
|
36
|
+
"completed",
|
37
|
+
"deprecated",
|
38
|
+
"final",
|
39
|
+
"historicalArchive",
|
40
|
+
"notAccepted",
|
41
|
+
"obsolete",
|
42
|
+
"onGoing",
|
43
|
+
"pending",
|
44
|
+
"planned",
|
45
|
+
"proposed",
|
46
|
+
"required",
|
47
|
+
"retired",
|
48
|
+
"superseded",
|
49
|
+
"tentative",
|
50
|
+
"underDevelopment",
|
51
|
+
"valid",
|
52
|
+
"withdrawn"
|
53
|
+
]
|
54
|
+
},
|
55
|
+
"operationType": {
|
56
|
+
"type": "string",
|
57
|
+
"description": "collection technique for the operation",
|
58
|
+
"enum": [
|
59
|
+
"real",
|
60
|
+
"simulated",
|
61
|
+
"synthetic"
|
62
|
+
]
|
63
|
+
},
|
64
|
+
"objective": {
|
65
|
+
"type": "array",
|
66
|
+
"items": {
|
67
|
+
"$ref": "./objective.json#"
|
68
|
+
},
|
69
|
+
"description": "object(s) or area(s) of interest to be sensed"
|
70
|
+
},
|
71
|
+
"parentOperation": {
|
72
|
+
"$ref": "./operation.json#",
|
73
|
+
"description": "heritage of the operation"
|
74
|
+
},
|
75
|
+
"childOperation": {
|
76
|
+
"type": "array",
|
77
|
+
"items": {
|
78
|
+
"$ref": "./operation.json#"
|
79
|
+
},
|
80
|
+
"description": "sub-missions that make up part of a larger mission"
|
81
|
+
},
|
82
|
+
"plan": {
|
83
|
+
"ref": "./plan.json#",
|
84
|
+
"description": "plan satisfied by the operation"
|
85
|
+
},
|
86
|
+
"platform": {
|
87
|
+
"type": "array",
|
88
|
+
"items": {
|
89
|
+
"$ref": "./platform.json#"
|
90
|
+
},
|
91
|
+
"description": "platform (or platforms) used in the operation"
|
92
|
+
},
|
93
|
+
"significantEvent": {
|
94
|
+
"type": "array",
|
95
|
+
"items": {
|
96
|
+
"$ref": "./event.json#"
|
97
|
+
},
|
98
|
+
"description": "record of an event occurring during an operation"
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
data/schema/pass.json
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"id": "pass.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "identification of collection coverage",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/pass.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["passId","identifier"],
|
9
|
+
"properties": {
|
10
|
+
"passId": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "unique identifier for the pass"
|
13
|
+
},
|
14
|
+
"identifier": {
|
15
|
+
"$ref": "./identifier.json#",
|
16
|
+
"description": "a unique mdJSON system identifier for the pass"
|
17
|
+
},
|
18
|
+
"extent": {
|
19
|
+
"$ref": "./extent.json#",
|
20
|
+
"description": "area covered by the pass"
|
21
|
+
},
|
22
|
+
"relatedEvent": {
|
23
|
+
"type": "array",
|
24
|
+
"items": {
|
25
|
+
"$ref": "./event.json#"
|
26
|
+
},
|
27
|
+
"description": "occurrence of one or more events for a pass"
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
data/schema/plan.json
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
{
|
2
|
+
"id": "plan.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "Designations for the planning information related to meeting the data acquisition requirements.",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/plan.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["planId", "status", "citation"],
|
9
|
+
"properties": {
|
10
|
+
"planId": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "a unique mdJSON system identifier for the plan"
|
13
|
+
},
|
14
|
+
"planType": {
|
15
|
+
"type": "string",
|
16
|
+
"description": "Manner of sampling geometry that the planner expects for collection of objective data",
|
17
|
+
"enum": ["point", "linear", "areal", "strip"]
|
18
|
+
},
|
19
|
+
"status": {
|
20
|
+
"type": "string",
|
21
|
+
"description": "Current status of the plan (pending, completed, etc.)",
|
22
|
+
"enum": [
|
23
|
+
"accepted",
|
24
|
+
"cancelled",
|
25
|
+
"completed",
|
26
|
+
"deprecated",
|
27
|
+
"final",
|
28
|
+
"funded",
|
29
|
+
"historicalArchive",
|
30
|
+
"notAccepted",
|
31
|
+
"obsolete",
|
32
|
+
"onGoing",
|
33
|
+
"pending",
|
34
|
+
"planned",
|
35
|
+
"proposed",
|
36
|
+
"required",
|
37
|
+
"retired",
|
38
|
+
"superseded",
|
39
|
+
"suspended",
|
40
|
+
"tentative",
|
41
|
+
"underDevelopment",
|
42
|
+
"valid",
|
43
|
+
"withdrawn"
|
44
|
+
]
|
45
|
+
},
|
46
|
+
"citation": {
|
47
|
+
"description": "Identification of authority requesting target collection",
|
48
|
+
"$ref": "./citation.json#"
|
49
|
+
},
|
50
|
+
"planOperation": {
|
51
|
+
"type": "array",
|
52
|
+
"description": "Identification of the activity or activities that satisfy a plan",
|
53
|
+
"items": {
|
54
|
+
"$ref": "./operation.json#"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"satisfiedRequirement": {
|
58
|
+
"type": "array",
|
59
|
+
"description": "Requirement satisfied by the plan",
|
60
|
+
"items": {
|
61
|
+
"$ref": "./requirement.json#"
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|