adiwg-mdjson_schemas 2.0.0.pre.alpha.13 → 2.0.0.pre.alpha.14

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: 0ffd24c8b879f02abce6df38ee26eb424d487b1a
4
- data.tar.gz: 3c75c661c227ad9f1ec84b7c2c33b7c2bf1a1902
3
+ metadata.gz: fe11e20d0b072e5c4a7349e61aac5fdd54910add
4
+ data.tar.gz: 2074c488dc1aeedab7989d2189120d1a1c225ade
5
5
  SHA512:
6
- metadata.gz: ccee47cdcc8706b3df546c96bcbc27b7c981fcbd39b3ac691d436a8fcda2c41bbec3230ff14bbb4b1350b89e6289f583440a8eded7f0eb422babed96df60dfdd
7
- data.tar.gz: e05a1295f5b1e78f29ffd71ff3337a7a6a1e3d83e910567fe10ef73e00bfc4d15c43505e2f20d2bf73c87fe06243538dc5fe07527ed72252760c15576084f1a2
6
+ metadata.gz: d6c646dc9d5da865c6e2ed6aa15e50b9c0903afca5bede415585b341e1beeffc9670c668d4f7fc332a69f46f7771706daee7669245af2fa3411241b4c65d059a
7
+ data.tar.gz: a61db90f7fcd42817f6d688e65d24f2e0525bd8a1d917cfde30bfbdf2f6f0903f05d9e26705a45ee5e6b1be704f3cafbf8415d96c0c087e63a5edc6a543c19d7
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "2.0.0-alpha.13"
4
+ VERSION = "2.0.0-alpha.14"
5
5
  end
6
6
  end
data/schema/metadata.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "ISO 19115-2": ["MI_Metadata"],
9
9
  "FGDC CSDGM": ["metadata"]
10
10
  },
11
- "required": ["resourceInfo"],
11
+ "required": ["resourceInfo", "metadataInfo"],
12
12
  "additionalProperties": false,
13
13
  "properties": {
14
14
  "metadataInfo": {
@@ -62,7 +62,21 @@
62
62
  "minItems": 1,
63
63
  "items": {
64
64
  "$ref": "common.json#/definitions/dateObject"
65
- }
65
+ },
66
+ "allOf": [{
67
+ "type": "array",
68
+ "items": [{
69
+ "type": "object",
70
+ "title": "Creation date required.",
71
+ "description": "A creation date must be the first object in the array.",
72
+ "properties": {
73
+ "dateType": {
74
+ "type": "string",
75
+ "enum": ["creation"]
76
+ }
77
+ }
78
+ }]
79
+ }]
66
80
  },
67
81
  "metadataOnlineResource": {
68
82
  "type": "array",
data/schema/schema.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "id": "schema.json#",
3
3
  "$schema": "http://json-schema.org/draft-04/schema#",
4
- "version": "2.0.0-alpha.13",
4
+ "version": "2.0.0-alpha.14",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "example": "../examples/mdJson.json",
7
7
  "type": "object",
8
- "required": ["schema", "contact", "metadata"],
8
+ "required": ["schema", "contact"],
9
9
  "properties": {
10
10
  "schema": {
11
11
  "$ref": "#/definitions/schema"
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.0.0.pre.alpha.13
4
+ version: 2.0.0.pre.alpha.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Bradley, Stan Smith