adiwg-mdjson_schemas 2.0.0.pre.alpha.16 → 2.0.0.pre.alpha.17

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: 8627a4ef0d2841810e41f3c8053fc35197ce02bb
4
- data.tar.gz: de5a6866ca3a17b340989552295e4b7c915ceb37
3
+ metadata.gz: 79586dc2bd79bef2aba2c0b5ba98731a29c42b19
4
+ data.tar.gz: f948adda11aefd9f33ddf9ea8430e3bf2ededcc8
5
5
  SHA512:
6
- metadata.gz: d0a64262141a661353ae222c773a1cfdb20ce850e0de4ab0994871ac8be0e8faf3e3c0d1202404868f80d51eaa775271d6117386caee9fa17db771bb184f6dbf
7
- data.tar.gz: ffc42f7288a371726bb2fc7a7812f6763f9d4fdf5d07e1fe034d0bfde02446fa7dff02a07d30f877716d0d875231475113e9e834d3a4f27770a3fbaf01b0f3f5
6
+ metadata.gz: 937789e69823ad9efa896d703d70a71e7cca720f265706dcce84553d1a835316628b52228b2484672a5f2174c47404625deac0a4301583194325739e2040a44c
7
+ data.tar.gz: 35719d0038d1211e031b66c3a2ae9f636cccca3879b31f73049932521a8555fb9c5d38acee6a726e7a2d881e3c0a3efd9cf6bffa7a2b9c3ab8ea8936e818f287
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "2.0.0-alpha.16"
4
+ VERSION = "2.0.0-alpha.17"
5
5
  end
6
6
  end
data/schema/schema.json CHANGED
@@ -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.16",
4
+ "version": "2.0.0-alpha.17",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "example": "../examples/mdJson.json",
7
7
  "type": "object",
@@ -7,7 +7,6 @@
7
7
  "ISO 19115-2": ["MD_Metadata > referenceSystemInfo > MD_ReferenceSystem > referenceSystemIdentifier > RS_Identifier > code"]
8
8
  },
9
9
  "type": "object",
10
- "required": ["referenceSystemIdentifier", "referenceSystemType"],
11
10
  "additionalProperties": true,
12
11
  "properties": {
13
12
  "referenceSystemType": {
@@ -21,5 +20,14 @@
21
20
  "$ref": "./identifier.json#",
22
21
  "description": "The reference system identifier or definition."
23
22
  }
24
- }
23
+ },
24
+ "anyOf": [{
25
+ "title": "referenceSystemType is required",
26
+ "required": ["referenceSystemType"]
27
+ },
28
+ {
29
+ "title": "referenceSystemIdentifier is required",
30
+ "required": ["referenceSystemIdentifier"]
31
+ }
32
+ ]
25
33
  }
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.16
4
+ version: 2.0.0.pre.alpha.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Bradley, Stan Smith