adiwg-mdjson_schemas 2.0.0.pre.beta.2 → 2.0.0.pre.beta.3

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: 76edb553f2e7784a5c7113773e529845105ccc41
4
- data.tar.gz: a4cdfb32fdd6f2878bdd7132c9e010d422dd33b1
3
+ metadata.gz: 32efb5d5f59b97b007cf7618edf9692f0d3f450c
4
+ data.tar.gz: ef1da9ada56e1da0ca261415c34b186d0b25c474
5
5
  SHA512:
6
- metadata.gz: a59170148181c601520009744d3c569f41f1ef167e64af9ffbe479f45cd1cac2530029d611d8df60b283f8205648eba02f45cd364c7e1b7e114c7a50e23d66a6
7
- data.tar.gz: 2434033df176ac3af598d2b7352796b8ff2f57c3ec645eff36c9bec50ed042f85087cc69d3ca91b602f7a3a2a4b9a5e89a9d9f9c34b6b8bc8852e020c768d7cc
6
+ metadata.gz: 10d499a5a15ddc94dbadd4a87b7734e9c5e603edfae2a06b3f45fad52d7176e12ee8b850d6c8b8353f18ad9756ec287a5fa9087537ecf9e0fcde78b0279e0fb1
7
+ data.tar.gz: 5c97d54fd677204b3cf89ac7a6c1ed19fe8091f7efffdd85dfebcc977c0f034d2749e8709d6fdac225709be2c0411b800ad14f869c9e17aa505999d000c49b48
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "2.0.0-beta.2"
4
+ VERSION = "2.0.0-beta.3"
5
5
  end
6
6
  end
@@ -9,7 +9,7 @@
9
9
  "required": ["useLimitation"]
10
10
  }, {
11
11
  "type": "object",
12
- "title": "security is required",
12
+ "title": "security required if type is security",
13
13
  "required": ["security"],
14
14
  "properties": {
15
15
  "type": {
@@ -18,7 +18,7 @@
18
18
  }
19
19
  }, {
20
20
  "type": "object",
21
- "title": "legal is required",
21
+ "title": "legal required if type is legal",
22
22
  "required": ["legal"],
23
23
  "properties": {
24
24
  "type": {
@@ -28,9 +28,8 @@
28
28
  }],
29
29
  "properties": {
30
30
  "type": {
31
- "type": "string",
32
- "description": "Indicates the type of constraint.",
33
- "enum": ["use", "legal", "security"]
31
+ "enum": ["use", "legal", "security"],
32
+ "description": "Indicates the type of constraint."
34
33
  },
35
34
  "useLimitation": {
36
35
  "type": "array",
@@ -24,8 +24,7 @@
24
24
  "orientationParameterDescription": {
25
25
  "type": "string",
26
26
  "description": "Description of parameters used to describe sensor orientation.",
27
- "translation": {},
28
- "minLength": 1
27
+ "translation": {}
29
28
  },
30
29
  "georeferencedParameter": {
31
30
  "type": "string",
data/schema/measure.json CHANGED
@@ -4,24 +4,24 @@
4
4
  "type": "object",
5
5
  "title": "measure",
6
6
  "description": "Number and type of units",
7
- "example": "../examples/measure.json", "required": ["type", "value", "unitOfMeasure"],
7
+ "example": "../examples/measure.json",
8
+ "required": ["type", "value", "unitOfMeasure"],
8
9
  "additionalProperties": true,
9
10
  "properties": {
10
11
  "type": {
11
- "type": "string",
12
+ "enum": ["distance", "length", "angle", "measure", "scale"],
12
13
  "description": "The type of measurement.",
13
- "translation": {},
14
- "enum": ["distance", "length", "vertical", "angle"]
14
+ "translation": {}
15
15
  },
16
16
  "value": {
17
17
  "type": "number",
18
18
  "description": "The number of units in the measurement.",
19
- "translation": {}
19
+ "translation": {}
20
20
  },
21
21
  "unitOfMeasure": {
22
22
  "type": "string",
23
23
  "description": "The type of units to associated with the value.",
24
- "translation": {},
24
+ "translation": {},
25
25
  "minLength": 1
26
26
  }
27
27
  }
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-beta.2",
4
+ "version": "2.0.0-beta.3",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "example": "../examples/mdJson.json",
7
7
  "type": "object",
data/schema/scope.json CHANGED
@@ -35,7 +35,6 @@
35
35
  "scopeDescription": {
36
36
  "type": "object",
37
37
  "additionalProperties": true,
38
- "minProperties": 1,
39
38
  "properties": {
40
39
  "dataset": {
41
40
  "type": "string",
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.beta.2
4
+ version: 2.0.0.pre.beta.3
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-23 00:00:00.000000000 Z
11
+ date: 2017-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler