adiwg-mdjson_schemas 2.3.2 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -1
- data/examples/date.json +19 -8
- data/examples/dateObject.json +4 -0
- data/examples/dictionary.json +1 -0
- data/examples/domain.json +5 -7
- data/examples/entity.json +7 -1
- data/examples/entityAttribute.json +31 -2
- data/examples/valueRange.json +4 -0
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/package.json +1 -1
- data/schema/common.json +1 -1
- data/schema/dataDictionary.json +5 -0
- data/schema/domain.json +5 -1
- data/schema/entity.json +35 -77
- data/schema/entityAttribute.json +177 -0
- data/schema/schema.json +1 -1
- data/test/tc_date.rb +12 -0
- data/test/tc_entity.rb +0 -4
- data/test/tc_entityAttribute.rb +12 -0
- data/yarn.lock +271 -0
- metadata +11 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a0b49adb961261b375a4128ff567c94fcd77d70
|
4
|
+
data.tar.gz: 1d95c2467901ac313e03568c08fad26de047d9b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50a6cb4362007af4cb74ad20b1f15e5df1b07e8deeb46c01de29ed544872d0806effc479de47489303eda910552306ff771bcb2ea46c6f8a718845e12bb7eff1
|
7
|
+
data.tar.gz: 4016e62653da049c3a60e4c05e43fafaa5d6d296f353327905dcc49e56739fc5b9347de5c1b2be734193e5c116403a50f6dde6c3cea5be7cf11a3a8ce6ca1db0
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,44 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v2.4.0](https://github.com/adiwg/mdJson-schemas/tree/v2.4.0)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/adiwg/mdJson-schemas/compare/v2.3.2...v2.4.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- dataDictionary rule change [\#172](https://github.com/adiwg/mdJson-schemas/issues/172)
|
10
|
+
- entityAttribute rule change [\#168](https://github.com/adiwg/mdJson-schemas/issues/168)
|
11
|
+
- entity rule change [\#167](https://github.com/adiwg/mdJson-schemas/issues/167)
|
12
|
+
- domain rule change [\#166](https://github.com/adiwg/mdJson-schemas/issues/166)
|
13
|
+
- valueRange new object [\#165](https://github.com/adiwg/mdJson-schemas/issues/165)
|
14
|
+
|
15
|
+
**Fixed bugs:**
|
16
|
+
|
17
|
+
- check keyword rules [\#173](https://github.com/adiwg/mdJson-schemas/issues/173)
|
18
|
+
- OrderProcess plannedAvailability example incorrect [\#151](https://github.com/adiwg/mdJson-schemas/issues/151)
|
19
|
+
|
20
|
+
**Closed issues:**
|
21
|
+
|
22
|
+
- resourceTimePeriod [\#148](https://github.com/adiwg/mdJson-schemas/issues/148)
|
23
|
+
|
24
|
+
## [v2.3.2](https://github.com/adiwg/mdJson-schemas/tree/v2.3.2) (2017-10-03)
|
25
|
+
[Full Changelog](https://github.com/adiwg/mdJson-schemas/compare/v2.3.1...v2.3.2)
|
26
|
+
|
27
|
+
## [v2.3.1](https://github.com/adiwg/mdJson-schemas/tree/v2.3.1) (2017-09-03)
|
28
|
+
[Full Changelog](https://github.com/adiwg/mdJson-schemas/compare/v2.3.0...v2.3.1)
|
29
|
+
|
3
30
|
## [v2.3.0](https://github.com/adiwg/mdJson-schemas/tree/v2.3.0) (2017-08-31)
|
4
31
|
[Full Changelog](https://github.com/adiwg/mdJson-schemas/compare/v2.2.0...v2.3.0)
|
5
32
|
|
33
|
+
**Implemented enhancements:**
|
34
|
+
|
35
|
+
- Support for Award ID in funding allocation [\#150](https://github.com/adiwg/mdJson-schemas/issues/150)
|
36
|
+
- Support for Lineage Process Step Source references [\#149](https://github.com/adiwg/mdJson-schemas/issues/149)
|
37
|
+
|
38
|
+
**Fixed bugs:**
|
39
|
+
|
40
|
+
- Support for Lineage Process Step Source references [\#149](https://github.com/adiwg/mdJson-schemas/issues/149)
|
41
|
+
|
6
42
|
## [v2.2.0](https://github.com/adiwg/mdJson-schemas/tree/v2.2.0) (2017-06-07)
|
7
43
|
[Full Changelog](https://github.com/adiwg/mdJson-schemas/compare/v2.1.2...v2.2.0)
|
8
44
|
|
@@ -65,4 +101,4 @@
|
|
65
101
|
- Fixed spatialRepresentation ([1833df8](https://github.com/adiwg/mdJson-schemas/commit/1833df80b9324dfbc5eb067821bde4a8011ccc08) )
|
66
102
|
|
67
103
|
|
68
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
104
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/examples/date.json
CHANGED
@@ -1,8 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
[
|
2
|
+
"2013",
|
3
|
+
"2013-09",
|
4
|
+
"2013-09-06",
|
5
|
+
"2013-09-10T05",
|
6
|
+
"2013-09-11T02:36",
|
7
|
+
"2013-09-11T02:37:16",
|
8
|
+
"2013-09-11T13Z",
|
9
|
+
"2013-09-11T03-08:00",
|
10
|
+
"2013-09-11T02:40Z",
|
11
|
+
"2013-09-11T02:38-08",
|
12
|
+
"2013-09-11T02:39-09:00",
|
13
|
+
"2013-09-11T02:38:22Z",
|
14
|
+
"2013-09-11T12:38:22-08",
|
15
|
+
"2013-09-11T02:39:44-09:00",
|
16
|
+
"2013-09-11T22:58:09+06:15",
|
17
|
+
"2012-07-15T08:05:00.000001+09:00",
|
18
|
+
"2012-08-16T08:06:00.0+09:00"
|
19
|
+
]
|
data/examples/dictionary.json
CHANGED
data/examples/domain.json
CHANGED
@@ -13,17 +13,15 @@
|
|
13
13
|
"value": "value1",
|
14
14
|
"definition": "definition1"
|
15
15
|
}
|
16
|
-
]
|
16
|
+
],
|
17
|
+
"domainReference":{
|
18
|
+
"title": "domainReference"
|
19
|
+
}
|
17
20
|
},
|
18
21
|
{
|
19
22
|
"domainId": "dom022",
|
20
23
|
"commonName": "US States",
|
21
24
|
"codeName": "STATE",
|
22
|
-
"description": "States of the United States of America"
|
23
|
-
"domainItem": [{
|
24
|
-
"name": "",
|
25
|
-
"value": "",
|
26
|
-
"definition": ""
|
27
|
-
}]
|
25
|
+
"description": "States of the United States of America"
|
28
26
|
}
|
29
27
|
]
|
data/examples/entity.json
CHANGED
@@ -21,6 +21,9 @@
|
|
21
21
|
"codeName": "",
|
22
22
|
"alias": [""],
|
23
23
|
"definition": "",
|
24
|
+
"entityReference": [{
|
25
|
+
"title": "entityReference"
|
26
|
+
}],
|
24
27
|
"primaryKeyAttributeCodeName": [""],
|
25
28
|
"index": [{
|
26
29
|
"codeName": "",
|
@@ -43,6 +46,9 @@
|
|
43
46
|
"localAttributeCodeName": [""],
|
44
47
|
"referencedEntityCodeName": "",
|
45
48
|
"referencedAttributeCodeName": [""]
|
46
|
-
}]
|
49
|
+
}],
|
50
|
+
"fieldSeparatorCharacter": ",",
|
51
|
+
"numberOfHeaderLines": 9,
|
52
|
+
"quoteCharacter": "\""
|
47
53
|
}
|
48
54
|
]
|
@@ -6,12 +6,37 @@
|
|
6
6
|
"alias1"
|
7
7
|
],
|
8
8
|
"definition": "definition",
|
9
|
+
"attributeReference": {
|
10
|
+
"title": "attributeReference"
|
11
|
+
},
|
9
12
|
"dataType": "dataType",
|
10
13
|
"allowNull": true,
|
11
14
|
"units": "units",
|
15
|
+
"unitsResolution": 9.9,
|
16
|
+
"isCaseSensitive": false,
|
12
17
|
"domainId": "domainId",
|
13
18
|
"minValue": "minValue",
|
14
|
-
"maxValue": "maxValue"
|
19
|
+
"maxValue": "maxValue",
|
20
|
+
"fieldWidth": 9,
|
21
|
+
"missingValue": "missingValue",
|
22
|
+
"valueRange": [{
|
23
|
+
"minRangeValue": "0",
|
24
|
+
"maxRangeValue": "9.9"
|
25
|
+
}],
|
26
|
+
"timePeriod": [{
|
27
|
+
"id": "id",
|
28
|
+
"description": "description",
|
29
|
+
"identifier": {
|
30
|
+
"identifier": "identifier",
|
31
|
+
"namespace": "namespace"
|
32
|
+
},
|
33
|
+
"periodName": [
|
34
|
+
"periodName0",
|
35
|
+
"periodName1"
|
36
|
+
],
|
37
|
+
"startDateTime": "2016-10-14T11:10:15.2-10:00",
|
38
|
+
"endDateTime": "2016-12-31"
|
39
|
+
}]
|
15
40
|
},
|
16
41
|
{
|
17
42
|
"commonName": "Employee ID",
|
@@ -24,8 +49,12 @@
|
|
24
49
|
"dataType": "numeric",
|
25
50
|
"allowNull": true,
|
26
51
|
"units": "meters",
|
52
|
+
"unitsResolution": 1,
|
53
|
+
"isCaseSensitive": true,
|
27
54
|
"domainId": "dom042",
|
28
55
|
"minValue": "1000000",
|
29
|
-
"maxValue": "5000000"
|
56
|
+
"maxValue": "5000000",
|
57
|
+
"fieldWidth": 7,
|
58
|
+
"missingValue": "-999"
|
30
59
|
}
|
31
60
|
]
|
data/package.json
CHANGED
data/schema/common.json
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
"dateObject": {
|
30
30
|
"type": "object",
|
31
31
|
"description": "An ISO 8601 date/timestamp and type.",
|
32
|
-
"example": "../examples/
|
32
|
+
"example": "../examples/dateObject.json",
|
33
33
|
"required": ["date", "dateType"],
|
34
34
|
"additionalProperties": true,
|
35
35
|
"properties": {
|
data/schema/dataDictionary.json
CHANGED
@@ -11,6 +11,11 @@
|
|
11
11
|
"description": "Citation for the dictionary.",
|
12
12
|
"$ref": "./citation.json#"
|
13
13
|
},
|
14
|
+
"description": {
|
15
|
+
"type": "string",
|
16
|
+
"description": "A free text description of the contents of the data dictionary.",
|
17
|
+
"translation": {}
|
18
|
+
},
|
14
19
|
"subject": {
|
15
20
|
"type": "array",
|
16
21
|
"description": "Identifies the scope of the data dictionary. E.g. 'database', 'dataset', 'table'.",
|
data/schema/domain.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"type": "object",
|
5
5
|
"description": "A list of permissable values used to constrain an attribute's value. A single domain may be assigned to multiple attributes in a table or database.",
|
6
6
|
"example":"../examples/domain.json",
|
7
|
-
"required": ["domainId", "codeName", "description"
|
7
|
+
"required": ["domainId", "codeName", "description"],
|
8
8
|
"additionalProperties": true,
|
9
9
|
"properties": {
|
10
10
|
"domainId": {
|
@@ -29,6 +29,10 @@
|
|
29
29
|
"items": {
|
30
30
|
"$ref": "#/definitions/domainItem"
|
31
31
|
}
|
32
|
+
},
|
33
|
+
"domainReference": {
|
34
|
+
"description": "Reference to a standard or list which contains the members of an established set of valid values.",
|
35
|
+
"$ref": "./citation.json#"
|
32
36
|
}
|
33
37
|
},
|
34
38
|
"definitions": {
|
data/schema/entity.json
CHANGED
@@ -48,6 +48,17 @@
|
|
48
48
|
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > definition"]
|
49
49
|
}
|
50
50
|
},
|
51
|
+
"entityReference": {
|
52
|
+
"type": "array",
|
53
|
+
"description": "Reference to a standard or external schema which describes the entity.",
|
54
|
+
"translation": {
|
55
|
+
"FGDC CSDGM": ["eainfo > overview > eadetcit"],
|
56
|
+
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType"]
|
57
|
+
},
|
58
|
+
"items": {
|
59
|
+
"$ref": "./citation.json#"
|
60
|
+
}
|
61
|
+
},
|
51
62
|
"primaryKeyAttributeCodeName": {
|
52
63
|
"type": "array",
|
53
64
|
"description": "An array of quoted attribute code names that together compose the primary key set for the entity",
|
@@ -75,7 +86,7 @@
|
|
75
86
|
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute"]
|
76
87
|
},
|
77
88
|
"items": {
|
78
|
-
"$ref": "
|
89
|
+
"$ref": "./entityAttribute.json#"
|
79
90
|
}
|
80
91
|
},
|
81
92
|
"foreignKey": {
|
@@ -87,6 +98,29 @@
|
|
87
98
|
"items": {
|
88
99
|
"$ref": "#/definitions/foreignKey"
|
89
100
|
}
|
101
|
+
},
|
102
|
+
"fieldSeparatorCharacter":{
|
103
|
+
"type" : "string",
|
104
|
+
"description" : "The character which indicates the end of the data field contents.",
|
105
|
+
"translation": {
|
106
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtinfo > asciistr > dfwidthd"]
|
107
|
+
},
|
108
|
+
"minLength" : 1
|
109
|
+
},
|
110
|
+
"numberOfHeaderLines":{
|
111
|
+
"type" : "integer",
|
112
|
+
"description" : "The number of lines at the beginning of the file before the data content actually begins.",
|
113
|
+
"translation": {
|
114
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtinfo > asciistr > numheadl"]
|
115
|
+
}
|
116
|
+
},
|
117
|
+
"quoteCharacter":{
|
118
|
+
"type" : "string",
|
119
|
+
"description" : "Character used to quote fields in the data representation so that the field delimiter can be used as part of the field value. This character is typically a single quote mark or double quote mark.",
|
120
|
+
"translation": {
|
121
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtinfo > asciistr > quotech"]
|
122
|
+
},
|
123
|
+
"minLength" : 1
|
90
124
|
}
|
91
125
|
},
|
92
126
|
"definitions": {
|
@@ -123,82 +157,6 @@
|
|
123
157
|
}
|
124
158
|
}
|
125
159
|
},
|
126
|
-
"attribute": {
|
127
|
-
"type": "object",
|
128
|
-
"example": "../examples/entityAttribute.json",
|
129
|
-
"required": ["codeName", "dataType", "definition", "allowNull"],
|
130
|
-
"additionalProperties": true,
|
131
|
-
"properties": {
|
132
|
-
"commonName": {
|
133
|
-
"type": "string",
|
134
|
-
"description": "The common name used to identify this attribute",
|
135
|
-
"translation": {
|
136
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > memberName > localName"]
|
137
|
-
}
|
138
|
-
},
|
139
|
-
"codeName": {
|
140
|
-
"type": "string",
|
141
|
-
"description": "The code used to identify this attribute. Most often this will be the table or spreadsheet column name",
|
142
|
-
"translation": {
|
143
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > code > CharacterString"]
|
144
|
-
}
|
145
|
-
},
|
146
|
-
"alias": {
|
147
|
-
"type": "array",
|
148
|
-
"description": "An array of quoted strings providing alternate names by which the attribute is known",
|
149
|
-
"items": {
|
150
|
-
"type": "string"
|
151
|
-
}
|
152
|
-
},
|
153
|
-
"definition": {
|
154
|
-
"type": "string",
|
155
|
-
"description": "A succinct but comprehensive definition for the attribute",
|
156
|
-
"translation": {
|
157
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > definition > CharacterString"]
|
158
|
-
}
|
159
|
-
},
|
160
|
-
"dataType": {
|
161
|
-
"type": "string",
|
162
|
-
"description": "The datatype for the attribute. Names for datatypes vary widely by database management system. Use the datatype name associated with the database system that implemented the entity. E.g. 'integer', 'boolean', 'decimal(8,5)', 'varchar(200)'",
|
163
|
-
"translation": {
|
164
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > valueType > TypeName > aName > CharacterString"]
|
165
|
-
}
|
166
|
-
},
|
167
|
-
"allowNull": {
|
168
|
-
"type": "boolean",
|
169
|
-
"description": "Indicates whether null values are allowed for the attribute",
|
170
|
-
"translation": {
|
171
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > cardinality > Multiplicity > range > MultiplicityRange > lower > integer[0=optional | 1=required]"]
|
172
|
-
},
|
173
|
-
"default": false
|
174
|
-
},
|
175
|
-
"allowMany": {
|
176
|
-
"type": "boolean",
|
177
|
-
"description": "Indicates whether null values are allowed for the attribute",
|
178
|
-
"translation": {},
|
179
|
-
"default": false
|
180
|
-
},
|
181
|
-
"units": {
|
182
|
-
"type": "string",
|
183
|
-
"description": "A unit-of-measure for the attribute. E.g. 'meters', 'atmospheres', 'liters'",
|
184
|
-
"translation": {
|
185
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > valueMeasurementUnit > [UnitDefinition > identifier | ConversionalUnit > identifier, name, catalogSystem, conversionToPreferredUnit, formula | BaseUnit > identifier, name, catalogSymbol, unitSystem | DerivedUnit > identifier, name, remarks, catalogSymbol, derivationUnitTerm]"]
|
186
|
-
}
|
187
|
-
},
|
188
|
-
"domainId": {
|
189
|
-
"type": "string",
|
190
|
-
"description": "Provides the domain ID for the dictionary Domain containing the list of permissable values for this attribute"
|
191
|
-
},
|
192
|
-
"minValue": {
|
193
|
-
"type": "string",
|
194
|
-
"description": "The minimum range value permissible for this attribute"
|
195
|
-
},
|
196
|
-
"maxValue": {
|
197
|
-
"type": "string",
|
198
|
-
"description": "The maximum range value permissible for this attribute"
|
199
|
-
}
|
200
|
-
}
|
201
|
-
},
|
202
160
|
"foreignKey": {
|
203
161
|
"type": "object",
|
204
162
|
"example": "../examples/entityForeignKey.json",
|
@@ -0,0 +1,177 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"id": "entityAttribute.json#",
|
4
|
+
"title": "attribute",
|
5
|
+
"type": "object",
|
6
|
+
"example": "../examples/entityAttribute.json",
|
7
|
+
"required": ["codeName", "dataType", "definition", "allowNull"],
|
8
|
+
"additionalProperties": true,
|
9
|
+
"properties": {
|
10
|
+
"commonName": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "The common name used to identify this attribute",
|
13
|
+
"translation": {
|
14
|
+
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > memberName > localName"]
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"codeName": {
|
18
|
+
"type": "string",
|
19
|
+
"description": "The code used to identify this attribute. Most often this will be the table or spreadsheet column name",
|
20
|
+
"translation": {
|
21
|
+
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > code > CharacterString"]
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"alias": {
|
25
|
+
"type": "array",
|
26
|
+
"description": "An array of quoted strings providing alternate names by which the attribute is known",
|
27
|
+
"items": {
|
28
|
+
"type": "string"
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"definition": {
|
32
|
+
"type": "string",
|
33
|
+
"description": "A succinct but comprehensive definition for the attribute",
|
34
|
+
"translation": {
|
35
|
+
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > definition > CharacterString"]
|
36
|
+
}
|
37
|
+
},
|
38
|
+
"attributeReference": {
|
39
|
+
"description": "Reference to a standard or external description of the entity attribute.",
|
40
|
+
"translation": {
|
41
|
+
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > definitionReference > FC_DefinitionReference > definitionSource > FC_DefinitionSource > source > CI_Citation"],
|
42
|
+
"FGDC CSDGM": ["eainfo > detailed > attr > attrdef"]
|
43
|
+
},
|
44
|
+
"$ref": "./citation.json#"
|
45
|
+
},
|
46
|
+
"dataType": {
|
47
|
+
"type": "string",
|
48
|
+
"description": "The datatype for the attribute. Names for datatypes vary widely by database management system. Use the datatype name associated with the database system that implemented the entity. E.g. 'integer', 'boolean', 'decimal(8,5)', 'varchar(200)'",
|
49
|
+
"translation": {
|
50
|
+
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > valueType > TypeName > aName > CharacterString"]
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"allowNull": {
|
54
|
+
"type": "boolean",
|
55
|
+
"description": "Indicates whether null values are allowed for the attribute",
|
56
|
+
"translation": {
|
57
|
+
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > cardinality > Multiplicity > range > MultiplicityRange > lower > integer[0=optional | 1=required]"]
|
58
|
+
},
|
59
|
+
"default": false
|
60
|
+
},
|
61
|
+
"allowMany": {
|
62
|
+
"type": "boolean",
|
63
|
+
"description": "Indicates whether null values are allowed for the attribute",
|
64
|
+
"translation": {},
|
65
|
+
"default": false
|
66
|
+
},
|
67
|
+
"units": {
|
68
|
+
"type": "string",
|
69
|
+
"description": "A unit-of-measure for the attribute. E.g. 'meters', 'atmospheres', 'liters'",
|
70
|
+
"translation": {
|
71
|
+
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > valueMeasurementUnit > [UnitDefinition > identifier | ConversionalUnit > identifier, name, catalogSystem, conversionToPreferredUnit, formula | BaseUnit > identifier, name, catalogSymbol, unitSystem | DerivedUnit > identifier, name, remarks, catalogSymbol, derivationUnitTerm]"]
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"unitsResolution": {
|
75
|
+
"type": "number",
|
76
|
+
"description": "The smallest unit increment to which an attribute value is measured.",
|
77
|
+
"translation": {
|
78
|
+
"FGDC CSDGM": [
|
79
|
+
"eainfo > detailed > attr > attrdomv > rdom > attrunit",
|
80
|
+
"eainfo > detailed > attr > attrdomv > rdom > attrmres"
|
81
|
+
]
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"isCaseSensitive": {
|
85
|
+
"type": "boolean",
|
86
|
+
"default": false,
|
87
|
+
"description": "Indicates if the content of the data set is encoded in case-sensitive ASCII.",
|
88
|
+
"translation": {
|
89
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtinfo > asciistr > casesens"]
|
90
|
+
}
|
91
|
+
},
|
92
|
+
"fieldWidth": {
|
93
|
+
"type": "integer",
|
94
|
+
"description": "The number of characters in the data field.",
|
95
|
+
"translation": {
|
96
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtinfo > asciistr > datafiel > dfwidth"]
|
97
|
+
|
98
|
+
}
|
99
|
+
},
|
100
|
+
"missingValue": {
|
101
|
+
"type": "string",
|
102
|
+
"description": "The code which represents missing data.",
|
103
|
+
"translation": {
|
104
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtinfo > asciistr > datafiel > missingv"]
|
105
|
+
|
106
|
+
}
|
107
|
+
},
|
108
|
+
"domainId": {
|
109
|
+
"type": "string",
|
110
|
+
"description": "Provides the domain ID for the dictionary Domain containing the list of permissable values for this attribute"
|
111
|
+
},
|
112
|
+
"minValue": {
|
113
|
+
"type": "string",
|
114
|
+
"description": "The minimum range value permissible for this attribute"
|
115
|
+
},
|
116
|
+
"maxValue": {
|
117
|
+
"type": "string",
|
118
|
+
"description": "The maximum range value permissible for this attribute"
|
119
|
+
},
|
120
|
+
"valueRange": {
|
121
|
+
"type": "array",
|
122
|
+
"description": "The minimum and maximum values that may be assigned to the attribute.",
|
123
|
+
"items": {
|
124
|
+
"$ref": "#/definitions/valueRange"
|
125
|
+
}
|
126
|
+
},
|
127
|
+
"timePeriod":{
|
128
|
+
"type" : "array",
|
129
|
+
"description" : "The earliest or only date for which the attribute values are current. In cases when a range of dates are provided, this is the earliest date for which the information is valid.",
|
130
|
+
"translation": {
|
131
|
+
"FGDC CSDGM": [
|
132
|
+
"eainfo > detailed > attr > attrdomv > begdatea",
|
133
|
+
"eainfo > detailed > attr > attrdomv > enddatea"
|
134
|
+
]
|
135
|
+
},
|
136
|
+
"items" : {
|
137
|
+
"$ref" : "./timePeriod.json#"
|
138
|
+
}
|
139
|
+
}
|
140
|
+
},
|
141
|
+
"definitions": {
|
142
|
+
"valueRange": {
|
143
|
+
"type": "object",
|
144
|
+
"description": "The minimum and maximum values of a continuum of valid values.",
|
145
|
+
"example": "../examples/valueRange.json",
|
146
|
+
"translation": {
|
147
|
+
"FGDC CSDGM": [
|
148
|
+
"eainfo > detailed > attr > attrdomv > rdom"
|
149
|
+
]
|
150
|
+
},
|
151
|
+
"required": ["minRangeValue", "maxRangeValue"],
|
152
|
+
"additionalProperties": true,
|
153
|
+
"properties": {
|
154
|
+
"minRangeValue": {
|
155
|
+
"type": "string",
|
156
|
+
"description": "The least value that the attribute can be assigned.",
|
157
|
+
"translation": {
|
158
|
+
"FGDC CSDGM": [
|
159
|
+
"eainfo > detailed > attr > attrdomv > rdom > rdommin"
|
160
|
+
]
|
161
|
+
},
|
162
|
+
"minLength": 1
|
163
|
+
},
|
164
|
+
"maxRangeValue": {
|
165
|
+
"type": "string",
|
166
|
+
"description": "The greatest value that the attribute can be assigned.",
|
167
|
+
"translation": {
|
168
|
+
"FGDC CSDGM": [
|
169
|
+
"eainfo > detailed > attr > attrdomv > rdom > rdommax"
|
170
|
+
]
|
171
|
+
},
|
172
|
+
"minLength": 1
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
data/schema/schema.json
CHANGED
data/test/tc_date.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'helper.rb'
|
2
|
+
|
3
|
+
class TestDate < TestHelper
|
4
|
+
def test_date
|
5
|
+
errors = JSON::Validator.fully_validate('common.json', @@example + 'date.json', fragment: '#/definitions/date', strict: @@strict, list: true)
|
6
|
+
assert(errors.empty?, errors.join('n'))
|
7
|
+
end
|
8
|
+
def test_dateObject
|
9
|
+
errors = JSON::Validator.fully_validate('common.json', @@example + 'dateObject.json', fragment: '#/definitions/dateObject', strict: @@strict, list: true)
|
10
|
+
assert(errors.empty?, errors.join('n'))
|
11
|
+
end
|
12
|
+
end
|
data/test/tc_entity.rb
CHANGED
@@ -13,8 +13,4 @@ class TestEntity < TestHelper
|
|
13
13
|
errors = JSON::Validator.fully_validate('entity.json', @@example + 'entityForeignKey.json', fragment:'#/definitions/foreignKey', strict: @@strict, list: true)
|
14
14
|
assert(errors.empty?, errors.join("\n"))
|
15
15
|
end
|
16
|
-
def test_attribute
|
17
|
-
errors = JSON::Validator.fully_validate('entity.json', @@example + 'entityAttribute.json', fragment:'#/definitions/attribute', strict: @@strict, list: true)
|
18
|
-
assert(errors.empty?, errors.join("\n"))
|
19
|
-
end
|
20
16
|
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'helper.rb'
|
2
|
+
|
3
|
+
class TestEntityAttribute < TestHelper
|
4
|
+
def test_attribute
|
5
|
+
errors = JSON::Validator.fully_validate('entityAttribute.json', @@example + 'entityAttribute.json', strict: @@strict, list: true)
|
6
|
+
assert(errors.empty?, errors.join("\n"))
|
7
|
+
end
|
8
|
+
def test_valueRange
|
9
|
+
errors = JSON::Validator.fully_validate('entityAttribute.json', @@example + 'valueRange.json', fragment:'#/definitions/valueRange', strict: @@strict, list: true)
|
10
|
+
assert(errors.empty?, errors.join("\n"))
|
11
|
+
end
|
12
|
+
end
|
data/yarn.lock
ADDED
@@ -0,0 +1,271 @@
|
|
1
|
+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
2
|
+
# yarn lockfile v1
|
3
|
+
|
4
|
+
|
5
|
+
ajv@^5.2.2:
|
6
|
+
version "5.5.2"
|
7
|
+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965"
|
8
|
+
dependencies:
|
9
|
+
co "^4.6.0"
|
10
|
+
fast-deep-equal "^1.0.0"
|
11
|
+
fast-json-stable-stringify "^2.0.0"
|
12
|
+
json-schema-traverse "^0.3.0"
|
13
|
+
|
14
|
+
balanced-match@^1.0.0:
|
15
|
+
version "1.0.0"
|
16
|
+
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
|
17
|
+
|
18
|
+
brace-expansion@^1.1.7:
|
19
|
+
version "1.1.8"
|
20
|
+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
|
21
|
+
dependencies:
|
22
|
+
balanced-match "^1.0.0"
|
23
|
+
concat-map "0.0.1"
|
24
|
+
|
25
|
+
browser-stdout@1.3.0:
|
26
|
+
version "1.3.0"
|
27
|
+
resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f"
|
28
|
+
|
29
|
+
buildify@^0.4.0:
|
30
|
+
version "0.4.0"
|
31
|
+
resolved "https://registry.yarnpkg.com/buildify/-/buildify-0.4.0.tgz#20c8bde20488b32588ce92a4189672a084d3a0c4"
|
32
|
+
dependencies:
|
33
|
+
clean-css "0.6.0"
|
34
|
+
mkdirp "0.3.2"
|
35
|
+
uglify-js "1.3.4"
|
36
|
+
underscore "1.3.3"
|
37
|
+
|
38
|
+
clean-css@0.6.0:
|
39
|
+
version "0.6.0"
|
40
|
+
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-0.6.0.tgz#0ca422fc0ad342856c6b8442194d546e264469ce"
|
41
|
+
dependencies:
|
42
|
+
optimist "0.3.x"
|
43
|
+
|
44
|
+
co@^4.6.0:
|
45
|
+
version "4.6.0"
|
46
|
+
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
|
47
|
+
|
48
|
+
commander@2.9.0:
|
49
|
+
version "2.9.0"
|
50
|
+
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
|
51
|
+
dependencies:
|
52
|
+
graceful-readlink ">= 1.0.0"
|
53
|
+
|
54
|
+
concat-map@0.0.1:
|
55
|
+
version "0.0.1"
|
56
|
+
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
57
|
+
|
58
|
+
debug@2.6.8:
|
59
|
+
version "2.6.8"
|
60
|
+
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
|
61
|
+
dependencies:
|
62
|
+
ms "2.0.0"
|
63
|
+
|
64
|
+
diff@3.2.0:
|
65
|
+
version "3.2.0"
|
66
|
+
resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9"
|
67
|
+
|
68
|
+
escape-string-regexp@1.0.5:
|
69
|
+
version "1.0.5"
|
70
|
+
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
71
|
+
|
72
|
+
fast-deep-equal@^1.0.0:
|
73
|
+
version "1.0.0"
|
74
|
+
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff"
|
75
|
+
|
76
|
+
fast-json-stable-stringify@^2.0.0:
|
77
|
+
version "2.0.0"
|
78
|
+
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
|
79
|
+
|
80
|
+
fs.realpath@^1.0.0:
|
81
|
+
version "1.0.0"
|
82
|
+
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
83
|
+
|
84
|
+
glob@7.1.1:
|
85
|
+
version "7.1.1"
|
86
|
+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
|
87
|
+
dependencies:
|
88
|
+
fs.realpath "^1.0.0"
|
89
|
+
inflight "^1.0.4"
|
90
|
+
inherits "2"
|
91
|
+
minimatch "^3.0.2"
|
92
|
+
once "^1.3.0"
|
93
|
+
path-is-absolute "^1.0.0"
|
94
|
+
|
95
|
+
glob@^7.0.5, glob@^7.1.2:
|
96
|
+
version "7.1.2"
|
97
|
+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
|
98
|
+
dependencies:
|
99
|
+
fs.realpath "^1.0.0"
|
100
|
+
inflight "^1.0.4"
|
101
|
+
inherits "2"
|
102
|
+
minimatch "^3.0.4"
|
103
|
+
once "^1.3.0"
|
104
|
+
path-is-absolute "^1.0.0"
|
105
|
+
|
106
|
+
"graceful-readlink@>= 1.0.0":
|
107
|
+
version "1.0.1"
|
108
|
+
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
|
109
|
+
|
110
|
+
growl@1.9.2:
|
111
|
+
version "1.9.2"
|
112
|
+
resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f"
|
113
|
+
|
114
|
+
has-flag@^1.0.0:
|
115
|
+
version "1.0.0"
|
116
|
+
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
|
117
|
+
|
118
|
+
he@1.1.1:
|
119
|
+
version "1.1.1"
|
120
|
+
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
|
121
|
+
|
122
|
+
inflight@^1.0.4:
|
123
|
+
version "1.0.6"
|
124
|
+
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
|
125
|
+
dependencies:
|
126
|
+
once "^1.3.0"
|
127
|
+
wrappy "1"
|
128
|
+
|
129
|
+
inherits@2:
|
130
|
+
version "2.0.3"
|
131
|
+
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
132
|
+
|
133
|
+
json-schema-traverse@^0.3.0:
|
134
|
+
version "0.3.1"
|
135
|
+
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340"
|
136
|
+
|
137
|
+
json3@3.3.2:
|
138
|
+
version "3.3.2"
|
139
|
+
resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1"
|
140
|
+
|
141
|
+
lodash._baseassign@^3.0.0:
|
142
|
+
version "3.2.0"
|
143
|
+
resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e"
|
144
|
+
dependencies:
|
145
|
+
lodash._basecopy "^3.0.0"
|
146
|
+
lodash.keys "^3.0.0"
|
147
|
+
|
148
|
+
lodash._basecopy@^3.0.0:
|
149
|
+
version "3.0.1"
|
150
|
+
resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36"
|
151
|
+
|
152
|
+
lodash._basecreate@^3.0.0:
|
153
|
+
version "3.0.3"
|
154
|
+
resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821"
|
155
|
+
|
156
|
+
lodash._getnative@^3.0.0:
|
157
|
+
version "3.9.1"
|
158
|
+
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
|
159
|
+
|
160
|
+
lodash._isiterateecall@^3.0.0:
|
161
|
+
version "3.0.9"
|
162
|
+
resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c"
|
163
|
+
|
164
|
+
lodash.create@3.1.1:
|
165
|
+
version "3.1.1"
|
166
|
+
resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7"
|
167
|
+
dependencies:
|
168
|
+
lodash._baseassign "^3.0.0"
|
169
|
+
lodash._basecreate "^3.0.0"
|
170
|
+
lodash._isiterateecall "^3.0.0"
|
171
|
+
|
172
|
+
lodash.isarguments@^3.0.0:
|
173
|
+
version "3.1.0"
|
174
|
+
resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a"
|
175
|
+
|
176
|
+
lodash.isarray@^3.0.0:
|
177
|
+
version "3.0.4"
|
178
|
+
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
|
179
|
+
|
180
|
+
lodash.keys@^3.0.0:
|
181
|
+
version "3.1.2"
|
182
|
+
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
|
183
|
+
dependencies:
|
184
|
+
lodash._getnative "^3.0.0"
|
185
|
+
lodash.isarguments "^3.0.0"
|
186
|
+
lodash.isarray "^3.0.0"
|
187
|
+
|
188
|
+
minimatch@^3.0.2, minimatch@^3.0.4:
|
189
|
+
version "3.0.4"
|
190
|
+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
191
|
+
dependencies:
|
192
|
+
brace-expansion "^1.1.7"
|
193
|
+
|
194
|
+
minimist@0.0.8:
|
195
|
+
version "0.0.8"
|
196
|
+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
197
|
+
|
198
|
+
mkdirp@0.3.2:
|
199
|
+
version "0.3.2"
|
200
|
+
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.3.2.tgz#4bfb891e9c48b93d6b567f2c3cf2dd3f56bcdef8"
|
201
|
+
|
202
|
+
mkdirp@0.5.1, mkdirp@^0.5.1:
|
203
|
+
version "0.5.1"
|
204
|
+
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
|
205
|
+
dependencies:
|
206
|
+
minimist "0.0.8"
|
207
|
+
|
208
|
+
mocha@^3.5.0:
|
209
|
+
version "3.5.3"
|
210
|
+
resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.5.3.tgz#1e0480fe36d2da5858d1eb6acc38418b26eaa20d"
|
211
|
+
dependencies:
|
212
|
+
browser-stdout "1.3.0"
|
213
|
+
commander "2.9.0"
|
214
|
+
debug "2.6.8"
|
215
|
+
diff "3.2.0"
|
216
|
+
escape-string-regexp "1.0.5"
|
217
|
+
glob "7.1.1"
|
218
|
+
growl "1.9.2"
|
219
|
+
he "1.1.1"
|
220
|
+
json3 "3.3.2"
|
221
|
+
lodash.create "3.1.1"
|
222
|
+
mkdirp "0.5.1"
|
223
|
+
supports-color "3.1.2"
|
224
|
+
|
225
|
+
ms@2.0.0:
|
226
|
+
version "2.0.0"
|
227
|
+
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
|
228
|
+
|
229
|
+
once@^1.3.0:
|
230
|
+
version "1.4.0"
|
231
|
+
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
232
|
+
dependencies:
|
233
|
+
wrappy "1"
|
234
|
+
|
235
|
+
optimist@0.3.x:
|
236
|
+
version "0.3.7"
|
237
|
+
resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.3.7.tgz#c90941ad59e4273328923074d2cf2e7cbc6ec0d9"
|
238
|
+
dependencies:
|
239
|
+
wordwrap "~0.0.2"
|
240
|
+
|
241
|
+
path-is-absolute@^1.0.0:
|
242
|
+
version "1.0.1"
|
243
|
+
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
244
|
+
|
245
|
+
rimraf@^2.6.1:
|
246
|
+
version "2.6.2"
|
247
|
+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
|
248
|
+
dependencies:
|
249
|
+
glob "^7.0.5"
|
250
|
+
|
251
|
+
supports-color@3.1.2:
|
252
|
+
version "3.1.2"
|
253
|
+
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5"
|
254
|
+
dependencies:
|
255
|
+
has-flag "^1.0.0"
|
256
|
+
|
257
|
+
uglify-js@1.3.4:
|
258
|
+
version "1.3.4"
|
259
|
+
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-1.3.4.tgz#282cec40db568798e0ec6d71d0c989d323f0636b"
|
260
|
+
|
261
|
+
underscore@1.3.3:
|
262
|
+
version "1.3.3"
|
263
|
+
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.3.3.tgz#47ac53683daf832bfa952e1774417da47817ae42"
|
264
|
+
|
265
|
+
wordwrap@~0.0.2:
|
266
|
+
version "0.0.3"
|
267
|
+
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
|
268
|
+
|
269
|
+
wrappy@1:
|
270
|
+
version "1.0.2"
|
271
|
+
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
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.
|
4
|
+
version: 2.4.0
|
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-
|
11
|
+
date: 2017-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -101,6 +101,7 @@ files:
|
|
101
101
|
- examples/contact.json
|
102
102
|
- examples/coverageDescription.json
|
103
103
|
- examples/date.json
|
104
|
+
- examples/dateObject.json
|
104
105
|
- examples/dictionary.json
|
105
106
|
- examples/dimension.json
|
106
107
|
- examples/distribution.json
|
@@ -166,6 +167,7 @@ files:
|
|
166
167
|
- examples/transferOption.json
|
167
168
|
- examples/uri.json
|
168
169
|
- examples/usage.json
|
170
|
+
- examples/valueRange.json
|
169
171
|
- examples/vectorObject.json
|
170
172
|
- examples/vectorRepresentation.json
|
171
173
|
- examples/verticalExtent.json
|
@@ -192,6 +194,7 @@ files:
|
|
192
194
|
- schema/distributor.json
|
193
195
|
- schema/domain.json
|
194
196
|
- schema/entity.json
|
197
|
+
- schema/entityAttribute.json
|
195
198
|
- schema/extent.json
|
196
199
|
- schema/format.json
|
197
200
|
- schema/funding.json
|
@@ -247,6 +250,7 @@ files:
|
|
247
250
|
- test/tc_contact.rb
|
248
251
|
- test/tc_coverageDescription.rb
|
249
252
|
- test/tc_dataDictionary.rb
|
253
|
+
- test/tc_date.rb
|
250
254
|
- test/tc_dimension.rb
|
251
255
|
- test/tc_distribution.rb
|
252
256
|
- test/tc_distributor.rb
|
@@ -254,6 +258,7 @@ files:
|
|
254
258
|
- test/tc_domainItem.rb
|
255
259
|
- test/tc_duration.rb
|
256
260
|
- test/tc_entity.rb
|
261
|
+
- test/tc_entityAttribute.rb
|
257
262
|
- test/tc_extent.rb
|
258
263
|
- test/tc_featureCollection.rb
|
259
264
|
- test/tc_featureProperties.rb
|
@@ -312,6 +317,7 @@ files:
|
|
312
317
|
- test/tc_voucher.rb
|
313
318
|
- test/test.js
|
314
319
|
- test/tu_utils.rb
|
320
|
+
- yarn.lock
|
315
321
|
homepage: https://github.com/adiwg/mdJson-schemas
|
316
322
|
licenses:
|
317
323
|
- UNLICENSE
|
@@ -332,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
332
338
|
version: '0'
|
333
339
|
requirements: []
|
334
340
|
rubyforge_project:
|
335
|
-
rubygems_version: 2.5
|
341
|
+
rubygems_version: 2.4.5
|
336
342
|
signing_key:
|
337
343
|
specification_version: 4
|
338
344
|
summary: JSON schemas for the ADIwg metadata standard
|
@@ -351,6 +357,7 @@ test_files:
|
|
351
357
|
- test/tc_contact.rb
|
352
358
|
- test/tc_coverageDescription.rb
|
353
359
|
- test/tc_dataDictionary.rb
|
360
|
+
- test/tc_date.rb
|
354
361
|
- test/tc_dimension.rb
|
355
362
|
- test/tc_distribution.rb
|
356
363
|
- test/tc_distributor.rb
|
@@ -358,6 +365,7 @@ test_files:
|
|
358
365
|
- test/tc_domainItem.rb
|
359
366
|
- test/tc_duration.rb
|
360
367
|
- test/tc_entity.rb
|
368
|
+
- test/tc_entityAttribute.rb
|
361
369
|
- test/tc_extent.rb
|
362
370
|
- test/tc_featureCollection.rb
|
363
371
|
- test/tc_featureProperties.rb
|