adiwg-mdjson_schemas 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bower.json +30 -0
- data/examples/full_example.json +2 -1
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/schema/schema.json +1 -1
- data/schema/schema/dataDictionary.json +2 -2
- data/schema/schema/metadata.json +9 -2
- data/schema/schema/resourceInfo.json +11 -1
- data/templates/mdJson_template.json +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ccf27f25faff3b1d6fe3bffd2cedd3a1afea2a4
|
4
|
+
data.tar.gz: d8bf5245dab4e8718f1b4177a0178f61facddf2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dba384c7acb729d6bb1066c25723b2ac1c6dab386c808fba45aa7335046531daf67c4ffe79e389b3175e44ce4c7e92abf2243b89b4a8cb0b521d9ffb9a1f7e1f
|
7
|
+
data.tar.gz: 7205637a550a5b2d1fd873e791e656ab9594807e39bb4ad4dd44a9a853c1009b4545f4804af992c9b75c2c59c4643907d584a7fbdf62d1c41885a7161cf19f79
|
data/bower.json
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"name": "mdjson-schemas",
|
3
|
+
"version": "1.0.2",
|
4
|
+
"homepage": "https://github.com/adiwg/mdJson-schemas",
|
5
|
+
"authors": [
|
6
|
+
"Josh Bradley <jbradley@arcticlcc.org>"
|
7
|
+
],
|
8
|
+
"description": "JSON schemas, examples, and templates for ADIwg metadata standards",
|
9
|
+
"main": "schema/schema.json",
|
10
|
+
"keywords": [
|
11
|
+
"json",
|
12
|
+
"json-schema",
|
13
|
+
"metadata",
|
14
|
+
"ADIwg"
|
15
|
+
],
|
16
|
+
"license": "Unlicense",
|
17
|
+
"ignore": [
|
18
|
+
"**/.*",
|
19
|
+
"node_modules",
|
20
|
+
"bower_components",
|
21
|
+
"test",
|
22
|
+
"tests",
|
23
|
+
"lib",
|
24
|
+
"*.gemspec",
|
25
|
+
"Gemfile",
|
26
|
+
"Gemfile.lock",
|
27
|
+
"pkg",
|
28
|
+
"Rakefile"
|
29
|
+
]
|
30
|
+
}
|
data/examples/full_example.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version":{
|
3
3
|
"name":"mdJson",
|
4
|
-
"version":"1.0.
|
4
|
+
"version":"1.0.2"
|
5
5
|
},
|
6
6
|
"contact":[
|
7
7
|
{
|
@@ -537,6 +537,7 @@
|
|
537
537
|
"eng; USA",
|
538
538
|
"esp; MEX"
|
539
539
|
],
|
540
|
+
"characterSet": ["utf8"],
|
540
541
|
"purpose":"Long-term monitoring of permafrost conditions in the Alaska Arctic",
|
541
542
|
"credit":[
|
542
543
|
"Allison Gaylord - Nunatech",
|
data/schema/schema.json
CHANGED
@@ -139,7 +139,7 @@
|
|
139
139
|
},
|
140
140
|
"alias": {
|
141
141
|
"type": "array",
|
142
|
-
"description": "An array of quoted strings providing
|
142
|
+
"description": "An array of quoted strings providing alternate names used to identify this entity",
|
143
143
|
"translation": {
|
144
144
|
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > aliases > localName"]
|
145
145
|
},
|
@@ -325,4 +325,4 @@
|
|
325
325
|
}
|
326
326
|
}
|
327
327
|
}
|
328
|
-
}
|
328
|
+
}
|
data/schema/schema/metadata.json
CHANGED
@@ -113,6 +113,7 @@
|
|
113
113
|
},
|
114
114
|
"items": {
|
115
115
|
"type": "object",
|
116
|
+
"example": "../../examples/full_example.json#/metadata/associatedResource",
|
116
117
|
"required": ["associationType", "resourceType"],
|
117
118
|
"additionalProperties": true,
|
118
119
|
"properties": {
|
@@ -132,7 +133,10 @@
|
|
132
133
|
},
|
133
134
|
"resourceType": {
|
134
135
|
"type": "string",
|
135
|
-
"description": "Identifies the type of resource, such as: a dataset, study, publication, etc."
|
136
|
+
"description": "Identifies the type of resource, such as: a dataset, study, publication, etc.",
|
137
|
+
"translation": {
|
138
|
+
"ISO 19115-2": ["[MD_ScopeCode]"]
|
139
|
+
}
|
136
140
|
},
|
137
141
|
"resourceCitation": {
|
138
142
|
"description": "Citation for the associated resource.",
|
@@ -161,7 +165,10 @@
|
|
161
165
|
"properties": {
|
162
166
|
"resourceType": {
|
163
167
|
"type": "string",
|
164
|
-
"description": "Identifies the type of resource, such as: userGuide, website, report, etc."
|
168
|
+
"description": "Identifies the type of resource, such as: userGuide, website, report, etc.",
|
169
|
+
"translation": {
|
170
|
+
"ISO 19115-2": ["[MD_ScopeCode]"]
|
171
|
+
}
|
165
172
|
},
|
166
173
|
"citation": {
|
167
174
|
"$ref": "citation.json#"
|
@@ -61,7 +61,7 @@
|
|
61
61
|
"type": "string",
|
62
62
|
"description": "Status of the resource.",
|
63
63
|
"translation": {
|
64
|
-
"ISO 19115-2": ["MD_DataIdentification > status"],
|
64
|
+
"ISO 19115-2": ["MD_DataIdentification > status [MD_ProgressCode]"],
|
65
65
|
"FGDC CSDGM": ["idinfo > status > progress"]
|
66
66
|
}
|
67
67
|
},
|
@@ -83,6 +83,16 @@
|
|
83
83
|
"type": "string"
|
84
84
|
}
|
85
85
|
},
|
86
|
+
"characterSet": {
|
87
|
+
"type": "array",
|
88
|
+
"description": "Full name of the character encoding standard used by the resource.",
|
89
|
+
"translation": {
|
90
|
+
"ISO 19115-2": ["MD_DataIdentification > characterSet [MD_CharacterSetCode]"]
|
91
|
+
},
|
92
|
+
"items": {
|
93
|
+
"type": "string"
|
94
|
+
}
|
95
|
+
},
|
86
96
|
"purpose": {
|
87
97
|
"type": "string",
|
88
98
|
"description": "A summary of intentions for which the resource was created.",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": {
|
3
3
|
"name": "mdJson",
|
4
|
-
"version": "1.0.
|
4
|
+
"version": "1.0.2"
|
5
5
|
},
|
6
6
|
"contact": [
|
7
7
|
{
|
@@ -171,6 +171,7 @@
|
|
171
171
|
"hasMapLocation": true,
|
172
172
|
"hasDataAvailable": true,
|
173
173
|
"language": [""],
|
174
|
+
"characterSet": [""],
|
174
175
|
"purpose": "",
|
175
176
|
"credit": [""],
|
176
177
|
"topicCategory": [""],
|
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: 1.0.
|
4
|
+
version: 1.0.2
|
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: 2015-
|
11
|
+
date: 2015-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- README.md
|
83
83
|
- Rakefile
|
84
84
|
- adiwg-json_schemas.gemspec
|
85
|
+
- bower.json
|
85
86
|
- examples/additionalDocumentation.json
|
86
87
|
- examples/address.json
|
87
88
|
- examples/associatedResource.json
|