adiwg-mdjson_schemas 2.0.0.pre.alpha.18 → 2.0.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/schema/metadataInfo.json +2 -16
- data/schema/schema.json +1 -1
- data/schema/spatialRepresentation.json +5 -24
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91163224549f790d4e36261ee343fb774d91aad1
|
4
|
+
data.tar.gz: 59e285d30175d3a6b2045fd70e33a6f249c3ec3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71a6067f535015433c5c1ff746b111807f496e73685f752952b7bb1660c5235cec2810a46f6e1fd7e479a4381d8e9b01ef749f90a2032df499d642f29464faee
|
7
|
+
data.tar.gz: aaf85e807e294c47aafe3fdafbc1c372a49c6b7610f80b91f4c1e33dd94dad95a77e19df6caeb3d8d4a623b26656e0a4b7149a059f05e566c335d3b5fa4f70f0
|
data/schema/metadataInfo.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"type": "object",
|
5
5
|
"description": "General information about the metadata record.",
|
6
6
|
"example": "../examples/metadataInfo.json",
|
7
|
-
"required": ["metadataContact"
|
7
|
+
"required": ["metadataContact"],
|
8
8
|
"additionalProperties": true,
|
9
9
|
"properties": {
|
10
10
|
"metadataIdentifier": {
|
@@ -54,21 +54,7 @@
|
|
54
54
|
"minItems": 1,
|
55
55
|
"items": {
|
56
56
|
"$ref": "common.json#/definitions/dateObject"
|
57
|
-
}
|
58
|
-
"allOf": [{
|
59
|
-
"type": "array",
|
60
|
-
"items": [{
|
61
|
-
"type": "object",
|
62
|
-
"title": "Creation date required.",
|
63
|
-
"description": "A creation date must be the first object in the array.",
|
64
|
-
"properties": {
|
65
|
-
"dateType": {
|
66
|
-
"type": "string",
|
67
|
-
"enum": ["creation"]
|
68
|
-
}
|
69
|
-
}
|
70
|
-
}]
|
71
|
-
}]
|
57
|
+
}
|
72
58
|
},
|
73
59
|
"metadataOnlineResource": {
|
74
60
|
"type": "array",
|
data/schema/schema.json
CHANGED
@@ -11,13 +11,9 @@
|
|
11
11
|
"type": "object",
|
12
12
|
"title": "gridRepresentation",
|
13
13
|
"example": "../examples/gridRepresentation.json",
|
14
|
-
"required": ["
|
14
|
+
"required": ["gridRepresentation"],
|
15
15
|
"additionalProperties": true,
|
16
16
|
"properties": {
|
17
|
-
"type": {
|
18
|
-
"type": "string",
|
19
|
-
"enum": ["grid"]
|
20
|
-
},
|
21
17
|
"gridRepresentation": {
|
22
18
|
"$ref": "./gridRepresentation.json#"
|
23
19
|
}
|
@@ -27,13 +23,9 @@
|
|
27
23
|
"type": "object",
|
28
24
|
"title": "vectorRepresentation",
|
29
25
|
"example": "../examples/vectorRepresentation.json",
|
30
|
-
"required": ["
|
26
|
+
"required": ["vectorRepresentation"],
|
31
27
|
"additionalProperties": true,
|
32
28
|
"properties": {
|
33
|
-
"type": {
|
34
|
-
"type": "string",
|
35
|
-
"enum": ["vector"]
|
36
|
-
},
|
37
29
|
"gridRepresentation": {
|
38
30
|
"$ref": "./vectorRepresentation.json#"
|
39
31
|
}
|
@@ -43,13 +35,9 @@
|
|
43
35
|
"type": "object",
|
44
36
|
"title": "georectifiedRepresentation",
|
45
37
|
"example": "../examples/georectifiedRepresentation.json",
|
46
|
-
"required": ["
|
38
|
+
"required": ["georectifiedRepresentation"],
|
47
39
|
"additionalProperties": true,
|
48
40
|
"properties": {
|
49
|
-
"type": {
|
50
|
-
"type": "string",
|
51
|
-
"enum": ["georectified"]
|
52
|
-
},
|
53
41
|
"gridRepresentation": {
|
54
42
|
"$ref": "./georectifiedRepresentation.json#"
|
55
43
|
}
|
@@ -59,7 +47,7 @@
|
|
59
47
|
"type": "object",
|
60
48
|
"title": "georeferenceableRepresentation",
|
61
49
|
"example": "../examples/georeferenceableRepresentation.json",
|
62
|
-
"required": ["
|
50
|
+
"required": ["georeferenceableRepresentation"],
|
63
51
|
"additionalProperties": true,
|
64
52
|
"properties": {
|
65
53
|
"type": {
|
@@ -71,12 +59,5 @@
|
|
71
59
|
}
|
72
60
|
}
|
73
61
|
}
|
74
|
-
]
|
75
|
-
"properties": {
|
76
|
-
"type": {
|
77
|
-
"type": "string",
|
78
|
-
"description": "Identifies the type of spatial representation defined for the object",
|
79
|
-
"enum": ["grid", "vector", "georectified", "georeferenceable"]
|
80
|
-
}
|
81
|
-
}
|
62
|
+
]
|
82
63
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adiwg-mdjson_schemas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre.
|
4
|
+
version: 2.0.0.pre.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Bradley, Stan Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|