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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17bbedf59ae8674ce3f6fd3512e1fd6472004df4
4
- data.tar.gz: d80064b5eac8984bfa8e4cec4cf7c3a420970e68
3
+ metadata.gz: 7ccf27f25faff3b1d6fe3bffd2cedd3a1afea2a4
4
+ data.tar.gz: d8bf5245dab4e8718f1b4177a0178f61facddf2f
5
5
  SHA512:
6
- metadata.gz: c37da50fc5dcf290c3a85493ba8d445675e0d8b554c5ad534009a624a653a1edd3226c568baa35bce23f0ace5aec9f083a43641444a560f6fff646d8fc4a364e
7
- data.tar.gz: 12e82d450f43c3d9a85447b502e918c9770afd27a3609c3c8be683562ccc31914d44fca4e01eec01ff97405e8918a994eea1a542c78d271f1d167127158aaa09
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
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version":{
3
3
  "name":"mdJson",
4
- "version":"1.0.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",
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
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": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "type": "object",
7
7
  "required": ["version", "contact", "metadata"],
@@ -139,7 +139,7 @@
139
139
  },
140
140
  "alias": {
141
141
  "type": "array",
142
- "description": "An array of quoted strings providing alternalte names used to identify this entity",
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
+ }
@@ -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.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.1
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-05-02 00:00:00.000000000 Z
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