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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1766a665fa71fe4ddbd01497f0ddc49b2b0a5f3e
4
- data.tar.gz: e1a3c7ff40bbae10880f0c17c9fb2e0f69963b24
3
+ metadata.gz: 91163224549f790d4e36261ee343fb774d91aad1
4
+ data.tar.gz: 59e285d30175d3a6b2045fd70e33a6f249c3ec3e
5
5
  SHA512:
6
- metadata.gz: 045cd25866310f2fe017588a24a73715c6912c5b456b80b8a24f85d91eeb8891fa31204ef8414157600adf6dbd94451692d1b24a431cd921aeff97b4c337c38a
7
- data.tar.gz: 8ff41fdcdcf329c0360a588df3a7102bca739a0e741efac480939c1474f458159c3ad70c1d4b09ce2c108a4514b85667f1150b5821edf95507c0c488e681b038
6
+ metadata.gz: 71a6067f535015433c5c1ff746b111807f496e73685f752952b7bb1660c5235cec2810a46f6e1fd7e479a4381d8e9b01ef749f90a2032df499d642f29464faee
7
+ data.tar.gz: aaf85e807e294c47aafe3fdafbc1c372a49c6b7610f80b91f4c1e33dd94dad95a77e19df6caeb3d8d4a623b26656e0a4b7149a059f05e566c335d3b5fa4f70f0
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "2.0.0-alpha.18"
4
+ VERSION = "2.0.0-beta"
5
5
  end
6
6
  end
@@ -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", "metadataDate"],
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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "schema.json#",
3
3
  "$schema": "http://json-schema.org/draft-04/schema#",
4
- "version": "2.0.0-alpha.18",
4
+ "version": "2.0.0-beta",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "example": "../examples/mdJson.json",
7
7
  "type": "object",
@@ -11,13 +11,9 @@
11
11
  "type": "object",
12
12
  "title": "gridRepresentation",
13
13
  "example": "../examples/gridRepresentation.json",
14
- "required": ["type", "gridRepresentation"],
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": ["type", "vectorRepresentation"],
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": ["type", "georectifiedRepresentation"],
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": ["type", "georeferenceableRepresentation"],
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.alpha.18
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-17 00:00:00.000000000 Z
11
+ date: 2017-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler