adiwg-mdjson_schemas 2.9.3.pre.beta.0 → 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 +1 -1
- data/README.md +2 -2
- 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 +2 -2
- data/package.json +1 -1
- data/schema/acquisition.json +70 -0
- 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 +16 -3
- 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 +28 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6de1212746135b00ea5dfb556f4b3e0022ddfb2eba3b79b823fbf6c77c790026
|
4
|
+
data.tar.gz: c4d05abd051f543e3cf433a6286d923b9108e13b25f270ab60a6ea11db260317
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 913fc0e5e7f2e80cc60f1a80c82c787be718ddc271d4c4d77e41234778d7d749894b52791e280e0d4654b657da6d90184cbde51b12ff0889647ef32a4c5f1220
|
7
|
+
data.tar.gz: '059b4bf5ff9f68a420c2a7fec3bf7fd2bbe94c50ef23b113ecbb38f52bd96cebac778a2337a0761dd228d324bfd76df7f2395c9caff18150d8d289628dcafe90'
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -15,7 +15,7 @@ Use with [ruby-json-schema/json-schema](https://github.com/ruby-json-schema/json
|
|
15
15
|
|
16
16
|
Add this line to your application's Gemfile:
|
17
17
|
|
18
|
-
gem 'adiwg-
|
18
|
+
gem 'adiwg-mdjson_schemas'
|
19
19
|
|
20
20
|
And then execute:
|
21
21
|
|
@@ -23,7 +23,7 @@ And then execute:
|
|
23
23
|
|
24
24
|
Or install it yourself as:
|
25
25
|
|
26
|
-
$ gem install adiwg-
|
26
|
+
$ gem install adiwg-mdjson_schemas
|
27
27
|
|
28
28
|
## npm
|
29
29
|
|
data/examples/event.json
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"eventId": "event ID",
|
4
|
+
"identifier": { },
|
5
|
+
"trigger": "manual",
|
6
|
+
"context": "pass",
|
7
|
+
"sequence": "start",
|
8
|
+
"time": "2019-06-10T16:07:00",
|
9
|
+
"expectedObjective": ["objectiveId"],
|
10
|
+
"relatedPass": "passId",
|
11
|
+
"relatedSensor": ["instrumentId"]
|
12
|
+
}
|
13
|
+
]
|
@@ -0,0 +1,13 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"objectiveId": "objective ID",
|
4
|
+
"identifier": [ ],
|
5
|
+
"priority": "objective priority",
|
6
|
+
"objectiveType": ["instantaneousCollection"],
|
7
|
+
"function": [],
|
8
|
+
"extent": [ ],
|
9
|
+
"objectiveOccurrence": [ ],
|
10
|
+
"pass": [ ],
|
11
|
+
"sensingInstrument": [ ]
|
12
|
+
}
|
13
|
+
]
|
@@ -0,0 +1,16 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"operationId": "operation ID",
|
4
|
+
"description": "operation description",
|
5
|
+
"citation": { },
|
6
|
+
"identifier": { },
|
7
|
+
"status": "pending",
|
8
|
+
"operationType": "real",
|
9
|
+
"objective": [ ],
|
10
|
+
"parentOperation": { },
|
11
|
+
"childOperation": [ ],
|
12
|
+
"plan": { },
|
13
|
+
"platform": [ ],
|
14
|
+
"significantEvent": [ ]
|
15
|
+
}
|
16
|
+
]
|
data/examples/pass.json
ADDED
data/examples/plan.json
ADDED
data/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "mdjson-schemas",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.10.0-beta.0",
|
4
4
|
"lockfileVersion": 3,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "mdjson-schemas",
|
9
|
-
"version": "2.
|
9
|
+
"version": "2.10.0-beta.0",
|
10
10
|
"license": "GPL-3.0",
|
11
11
|
"devDependencies": {
|
12
12
|
"ajv": "^6.5.0",
|
data/package.json
CHANGED
@@ -0,0 +1,70 @@
|
|
1
|
+
{
|
2
|
+
"id": "acquisition.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "Designations for the measuring instruments, the platform carrying them, and the mission to which the data contributes.",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/acquisition.json",
|
7
|
+
"translation": {
|
8
|
+
"ISO 19115-2": [
|
9
|
+
"MD_Metadata > acquisitionInformation > MI_AcquisitionInformation"
|
10
|
+
],
|
11
|
+
"FGDC CSDGM": ["idinfo > accconst"]
|
12
|
+
},
|
13
|
+
"additionalProperties": false,
|
14
|
+
"properties": {
|
15
|
+
"scope": {
|
16
|
+
"$ref": "./scope.json#"
|
17
|
+
},
|
18
|
+
"plan": {
|
19
|
+
"type": "array",
|
20
|
+
"items": {
|
21
|
+
"$ref": "./plan.json#"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"requirement": {
|
25
|
+
"type": "array",
|
26
|
+
"items": {
|
27
|
+
"$ref": "./requirement.json#"
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"objective": {
|
31
|
+
"type": "array",
|
32
|
+
"items": {
|
33
|
+
"$ref": "./objective.json#"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"platform": {
|
37
|
+
"type": "array",
|
38
|
+
"items": {
|
39
|
+
"$ref": "./platform.json#"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"instrument": {
|
43
|
+
"type": "array",
|
44
|
+
"items": {
|
45
|
+
"$ref": "./instrument.json#"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
"operation": {
|
49
|
+
"type": "array",
|
50
|
+
"items": {
|
51
|
+
"$ref": "./operation.json#"
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"event": {
|
55
|
+
"type": "array",
|
56
|
+
"items": {
|
57
|
+
"$ref": "./event.json#"
|
58
|
+
}
|
59
|
+
},
|
60
|
+
"pass": {
|
61
|
+
"type": "array",
|
62
|
+
"items": {
|
63
|
+
"$ref": "./pass.json#"
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"environment": {
|
67
|
+
"$ref": "./environment.json#"
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
@@ -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
@@ -16,7 +16,9 @@
|
|
16
16
|
},
|
17
17
|
"resourceInfo": {
|
18
18
|
"translation": {
|
19
|
-
"ISO 19115-2": [
|
19
|
+
"ISO 19115-2": [
|
20
|
+
"MD_Metadata > identificationInfo > MD_DataIdentification"
|
21
|
+
],
|
20
22
|
"FGDC CSDGM": ["idinfo"]
|
21
23
|
},
|
22
24
|
"$ref": "resourceInfo.json#"
|
@@ -52,7 +54,9 @@
|
|
52
54
|
"type": "array",
|
53
55
|
"description": "Other resources which are directly related to the subject resource such as parent, child, or sibling datasets or projects.",
|
54
56
|
"translation": {
|
55
|
-
"ISO 19115-2": [
|
57
|
+
"ISO 19115-2": [
|
58
|
+
"MD_DataIdentification > aggregationInfo > MD_AggregateInformation"
|
59
|
+
],
|
56
60
|
"FGDC CSDGM": ["idinfo > crossref"]
|
57
61
|
},
|
58
62
|
"items": {
|
@@ -63,7 +67,9 @@
|
|
63
67
|
"type": "array",
|
64
68
|
"description": "Other documents related to, but not defining, the resource such as factsheets, data catalog pages, award documents, proposals, and informational websites.",
|
65
69
|
"translation": {
|
66
|
-
"ISO 19115-2": [
|
70
|
+
"ISO 19115-2": [
|
71
|
+
"MD_DataIdentification > aggregationInfo > MD_AggregateInformation > aggregateDataSetName > CI_Citation"
|
72
|
+
],
|
67
73
|
"FGDC CSDGM": ["idinfo > crossref "]
|
68
74
|
},
|
69
75
|
"items": {
|
@@ -76,6 +82,13 @@
|
|
76
82
|
"items": {
|
77
83
|
"$ref": "./funding.json#"
|
78
84
|
}
|
85
|
+
},
|
86
|
+
"acquisition": {
|
87
|
+
"type": "array",
|
88
|
+
"description": "Information about the acquisition of the resource.",
|
89
|
+
"items": {
|
90
|
+
"$ref": "./acquisition.json#"
|
91
|
+
}
|
79
92
|
}
|
80
93
|
}
|
81
94
|
}
|
@@ -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
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"id": "platform.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "designation of the platform used to acquire the dataset",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/platform.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["platformId", "identifier", "description", "instrument"],
|
9
|
+
"properties": {
|
10
|
+
"platformId": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "a unique mdJSON system identifier for the platform"
|
13
|
+
},
|
14
|
+
"citation": {
|
15
|
+
"$ref": "./citation.json#",
|
16
|
+
"description": "source where information about the platform is described"
|
17
|
+
},
|
18
|
+
"identifier": {
|
19
|
+
"$ref": "./identifier.json#",
|
20
|
+
"description": "unique identification of the platform"
|
21
|
+
},
|
22
|
+
"description": {
|
23
|
+
"type": "string",
|
24
|
+
"description": "narrative description of the platform supporting the instrument"
|
25
|
+
},
|
26
|
+
"sponsor": {
|
27
|
+
"type": "array",
|
28
|
+
"items": {
|
29
|
+
"$ref": "./responsibility.json#"
|
30
|
+
},
|
31
|
+
"description": "organization responsible for building, launch, or operation of the platform"
|
32
|
+
},
|
33
|
+
"instrument": {
|
34
|
+
"type": "array",
|
35
|
+
"items": {
|
36
|
+
"$ref": "./instrument.json#"
|
37
|
+
},
|
38
|
+
"description": "instrument(s) mounted on a platform"
|
39
|
+
},
|
40
|
+
"history": {
|
41
|
+
"type": "array",
|
42
|
+
"items": {
|
43
|
+
"$ref": "./instrumentationEventList.json#"
|
44
|
+
},
|
45
|
+
"description": "list of events affecting a platform"
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"id": "requestedDate.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "range of date validity",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/requestedDate.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["requestedDateOfCollection","latestAcceptableDate"],
|
9
|
+
"properties": {
|
10
|
+
"requestedDateOfCollection": {
|
11
|
+
"$ref": "./common.json#/definitions/date",
|
12
|
+
"description": "preferred date and time of collection"
|
13
|
+
},
|
14
|
+
"latestAcceptableDate": {
|
15
|
+
"$ref": "./common.json#/definitions/date",
|
16
|
+
"description": "latest date and time collection must be completed"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
@@ -0,0 +1,57 @@
|
|
1
|
+
{
|
2
|
+
"id": "requirement.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "requirement to be satisfied by the planned data acquisition",
|
5
|
+
"type": "object",
|
6
|
+
"required": ["requirementId","identifier","requestor","recipient","priority","requestedDate","expiryDate"],
|
7
|
+
"example": "../examples/requirement.json",
|
8
|
+
"additionalProperties": false,
|
9
|
+
"properties": {
|
10
|
+
"requirementId": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "a unique mdJSON system identifier for the requirement"
|
13
|
+
},
|
14
|
+
"citation": {
|
15
|
+
"$ref": "./citation.json#",
|
16
|
+
"description": "identification of reference or guidance material for the requirement"
|
17
|
+
},
|
18
|
+
"identifier": {
|
19
|
+
"$ref": "./identifier.json#",
|
20
|
+
"description": "unique name, or code, for the requirement"
|
21
|
+
},
|
22
|
+
"requestor": {
|
23
|
+
"type": "array",
|
24
|
+
"items": {
|
25
|
+
"$ref": "./responsibility.json#"
|
26
|
+
},
|
27
|
+
"description": "origin of requirement"
|
28
|
+
},
|
29
|
+
"recipient": {
|
30
|
+
"type": "array",
|
31
|
+
"items": {
|
32
|
+
"$ref": "./responsibility.json#"
|
33
|
+
},
|
34
|
+
"description": "person(s), or body(ies), to receive results of requirement"
|
35
|
+
},
|
36
|
+
"priority": {
|
37
|
+
"type": "string",
|
38
|
+
"enum": ["critical","highImportance","mediumImportance","lowImportance"],
|
39
|
+
"description": "relative ordered importance, or urgency, of the requirement"
|
40
|
+
},
|
41
|
+
"requestedDate": {
|
42
|
+
"$ref": "./requestedDate.json#",
|
43
|
+
"description": "required or preferred acquisition date and time"
|
44
|
+
},
|
45
|
+
"expiryDate": {
|
46
|
+
"$ref": "./common.json#/definitions/date",
|
47
|
+
"description": "date and time after which collection is no longer valid"
|
48
|
+
},
|
49
|
+
"satisfiedPlan": {
|
50
|
+
"type": "array",
|
51
|
+
"items": {
|
52
|
+
"$ref": "./plan.json#"
|
53
|
+
},
|
54
|
+
"description": "plan that identifies solution to satisfy the requirement"
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"id": "revision.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "history of the revision of an event",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/revision.json",
|
7
|
+
"additionalProperties": false,
|
8
|
+
"required": ["description", "responsibleParty", "dateInfo"],
|
9
|
+
"properties": {
|
10
|
+
"description": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "description of the revision."
|
13
|
+
},
|
14
|
+
"responsibleParty": {
|
15
|
+
"$ref": "./responsibility.json#",
|
16
|
+
"description": "individual or organization responsible for the revision"
|
17
|
+
},
|
18
|
+
"dateInfo": {
|
19
|
+
"type": "array",
|
20
|
+
"items": {
|
21
|
+
"$ref": "./common.json#/definitions/date"
|
22
|
+
},
|
23
|
+
"description": "information about dates related to the revision"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
data/schema/schema.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adiwg-mdjson_schemas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.10.0.pre.beta.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Bradley, Stan Smith
|
@@ -127,6 +127,8 @@ files:
|
|
127
127
|
- examples/entityAttribute.json
|
128
128
|
- examples/entityForeignKey.json
|
129
129
|
- examples/entityIndex.json
|
130
|
+
- examples/environment.json
|
131
|
+
- examples/event.json
|
130
132
|
- examples/extent.json
|
131
133
|
- examples/featureCollection.json
|
132
134
|
- examples/featureProperties.json
|
@@ -145,6 +147,9 @@ files:
|
|
145
147
|
- examples/gridRepresentation.json
|
146
148
|
- examples/identifier.json
|
147
149
|
- examples/imageDescription.json
|
150
|
+
- examples/instrument.json
|
151
|
+
- examples/instrumentationEvent.json
|
152
|
+
- examples/instrumentationEventList.json
|
148
153
|
- examples/keyword.json
|
149
154
|
- examples/legalConstraint.json
|
150
155
|
- examples/lineage.json
|
@@ -156,19 +161,27 @@ files:
|
|
156
161
|
- examples/metadata.json
|
157
162
|
- examples/metadataInfo.json
|
158
163
|
- examples/metadataRepository.json
|
164
|
+
- examples/objective.json
|
159
165
|
- examples/obliqueLinePoint.json
|
160
166
|
- examples/onlineResource.json
|
167
|
+
- examples/operation.json
|
161
168
|
- examples/orderProcess.json
|
162
169
|
- examples/party.json
|
170
|
+
- examples/pass.json
|
163
171
|
- examples/phone.json
|
172
|
+
- examples/plan.json
|
173
|
+
- examples/platform.json
|
164
174
|
- examples/processStep.json
|
165
175
|
- examples/projection.json
|
166
176
|
- examples/rangeElementDescription.json
|
167
177
|
- examples/referenceSystemParameterSet.json
|
168
178
|
- examples/releasability.json
|
179
|
+
- examples/requestedDate.json
|
180
|
+
- examples/requirement.json
|
169
181
|
- examples/resourceInfo.json
|
170
182
|
- examples/resourceType.json
|
171
183
|
- examples/responsibleParty.json
|
184
|
+
- examples/revision.json
|
172
185
|
- examples/scope.json
|
173
186
|
- examples/scopeDescription.json
|
174
187
|
- examples/securityConstraint.json
|
@@ -201,6 +214,7 @@ files:
|
|
201
214
|
- lib/adiwg/mdjson_schemas/version.rb
|
202
215
|
- package-lock.json
|
203
216
|
- package.json
|
217
|
+
- schema/acquisition.json
|
204
218
|
- schema/additionalDocumentation.json
|
205
219
|
- schema/associatedResource.json
|
206
220
|
- schema/attribute.json
|
@@ -222,7 +236,9 @@ files:
|
|
222
236
|
- schema/domain.json
|
223
237
|
- schema/entity.json
|
224
238
|
- schema/entityAttribute.json
|
239
|
+
- schema/environment.json
|
225
240
|
- schema/evaluationMethod.json
|
241
|
+
- schema/event.json
|
226
242
|
- schema/extent.json
|
227
243
|
- schema/format.json
|
228
244
|
- schema/funding.json
|
@@ -237,6 +253,9 @@ files:
|
|
237
253
|
- schema/gridRepresentation.json
|
238
254
|
- schema/identifier.json
|
239
255
|
- schema/imageDescription.json
|
256
|
+
- schema/instrument.json
|
257
|
+
- schema/instrumentationEvent.json
|
258
|
+
- schema/instrumentationEventList.json
|
240
259
|
- schema/keyword.json
|
241
260
|
- schema/lineage.json
|
242
261
|
- schema/locale.json
|
@@ -246,8 +265,13 @@ files:
|
|
246
265
|
- schema/metadata.json
|
247
266
|
- schema/metadataInfo.json
|
248
267
|
- schema/metadataRepository.json
|
268
|
+
- schema/objective.json
|
249
269
|
- schema/onlineResource.json
|
270
|
+
- schema/operation.json
|
250
271
|
- schema/orderProcess.json
|
272
|
+
- schema/pass.json
|
273
|
+
- schema/plan.json
|
274
|
+
- schema/platform.json
|
251
275
|
- schema/projection.json
|
252
276
|
- schema/qualityMeasure.json
|
253
277
|
- schema/qualityResultFile.json
|
@@ -255,9 +279,12 @@ files:
|
|
255
279
|
- schema/rangeElementDescription.json
|
256
280
|
- schema/referenceSystemParameterSet.json
|
257
281
|
- schema/releasability.json
|
282
|
+
- schema/requestedDate.json
|
283
|
+
- schema/requirement.json
|
258
284
|
- schema/resourceInfo.json
|
259
285
|
- schema/resourceType.json
|
260
286
|
- schema/responsibility.json
|
287
|
+
- schema/revision.json
|
261
288
|
- schema/schema.json
|
262
289
|
- schema/scope.json
|
263
290
|
- schema/spatialReference.json
|