adiwg-mdjson_schemas 1.1.3 → 2.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +14 -3
- data/adiwg-json_schemas.gemspec +2 -2
- data/bower.json +0 -1
- data/examples/additionalDocumentation.json +9 -60
- data/examples/address.json +14 -10
- data/examples/allocation.json +12 -0
- data/examples/associatedResource.json +10 -118
- data/examples/attribute.json +27 -0
- data/examples/attributeGroup.json +17 -0
- data/examples/boundingBox.json +6 -0
- data/examples/citation.json +69 -127
- data/examples/computedBbox.json +399 -0
- data/examples/constraint.json +62 -0
- data/examples/contact.json +40 -207
- data/examples/coverageDescription.json +21 -0
- data/examples/date.json +8 -19
- data/examples/dictionary.json +58 -0
- data/examples/dimension.json +11 -0
- data/examples/distribution.json +26 -0
- data/examples/distributor.json +22 -142
- data/examples/domain.json +29 -0
- data/examples/domainItem.json +11 -0
- data/examples/duration.json +17 -0
- data/examples/entity.json +48 -0
- data/examples/entityAttribute.json +31 -0
- data/examples/entityForeignKey.json +17 -0
- data/examples/entityIndex.json +8 -0
- data/examples/extent.json +60 -0
- data/examples/featureCollection.json +58 -0
- data/examples/featureProperties.json +16 -0
- data/examples/format.json +7 -14
- data/examples/funding.json +33 -0
- data/examples/geoJson.json +185 -0
- data/examples/geographicExtent.json +22 -0
- data/examples/geometryCollection.json +14 -0
- data/examples/geometryFeature.json +12 -0
- data/examples/geometryObject.json +90 -0
- data/examples/georectifiedRepresentation.json +28 -0
- data/examples/georeferencableRepresentation.json +25 -0
- data/examples/gmlIdentifier.json +8 -0
- data/examples/graphic.json +33 -0
- data/examples/gridRepresentation.json +14 -0
- data/examples/identifier.json +9 -0
- data/examples/imageDescription.json +15 -0
- data/examples/keyword.json +14 -0
- data/examples/keywordObject.json +12 -0
- data/examples/legalConstraint.json +21 -0
- data/examples/lineage.json +21 -0
- data/examples/locale.json +12 -3
- data/examples/maintenance.json +38 -0
- data/examples/mdJson.json +99 -0
- data/examples/measure.json +5 -0
- data/examples/medium.json +16 -0
- data/examples/metadata.json +102 -0
- data/examples/metadataInfo.json +68 -101
- data/examples/onlineResource.json +13 -17
- data/examples/orderProcess.json +6 -0
- data/examples/party.json +21 -0
- data/examples/phone.json +9 -0
- data/examples/processStep.json +34 -0
- data/examples/releasability.json +28 -0
- data/examples/resourceInfo.json +230 -1256
- data/examples/responsibleParty.json +31 -0
- data/examples/schema.json +8 -0
- data/examples/scope.json +33 -0
- data/examples/scopeDescription.json +8 -0
- data/examples/securityConstraint.json +13 -0
- data/examples/series.json +9 -0
- data/examples/source.json +23 -0
- data/examples/spatialReference.json +34 -0
- data/examples/spatialRepresentation.json +59 -0
- data/examples/spatialResolution.json +11 -0
- data/examples/taxonomicClassification.json +59 -0
- data/examples/taxonomicSystem.json +13 -0
- data/examples/taxonomy.json +79 -188
- data/examples/temporalExtent.json +11 -0
- data/examples/timeInstant.json +13 -0
- data/examples/timeInterval.json +8 -0
- data/examples/timePeriod.json +26 -0
- data/examples/transferOption.json +36 -0
- data/examples/usage.json +48 -33
- data/examples/vectorObject.json +4 -0
- data/examples/vectorRepresentation.json +10 -0
- data/examples/verticalExtent.json +10 -17
- data/examples/voucher.json +12 -0
- data/lib/adiwg/mdjson_schemas/utils.rb +45 -15
- data/lib/adiwg/mdjson_schemas/validator.rb +6 -7
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/lib/adiwg/mdjson_schemas.rb +4 -2
- data/schema/additionalDocumentation.json +29 -0
- data/schema/associatedResource.json +49 -0
- data/schema/attribute.json +157 -0
- data/schema/attributeGroup.json +29 -0
- data/schema/{schema/geojson/bbox.json → bbox.json} +2 -2
- data/schema/{schema/citation.json → citation.json} +73 -99
- data/schema/common.json +49 -0
- data/schema/{schema/resourceConstraint.json → constraint.json} +83 -13
- data/schema/contact.json +234 -0
- data/schema/coverageDescription.json +50 -0
- data/schema/dataDictionary.json +71 -0
- data/schema/distribution.json +35 -0
- data/schema/distributor.json +46 -0
- data/schema/domain.json +65 -0
- data/schema/entity.json +235 -0
- data/schema/extent.json +59 -0
- data/schema/format.json +37 -0
- data/schema/funding.json +67 -0
- data/schema/geographicExtent.json +87 -0
- data/schema/{schema/geojson/geojson.json → geojson.json} +16 -44
- data/schema/{schema/geojson/geometry.json → geometry.json} +2 -1
- data/schema/georectifiedRepresentation.json +89 -0
- data/schema/georeferencableRepresentation.json +49 -0
- data/schema/{schema/graphicOverview.json → graphic.json} +19 -6
- data/schema/{schema/gridInfo.json → gridRepresentation.json} +7 -13
- data/schema/identifier.json +47 -0
- data/schema/imageDescription.json +92 -0
- data/schema/{schema/keyword.json → keyword.json} +18 -4
- data/schema/{schema/dataQuality.json → lineage.json} +92 -57
- data/schema/{schema/maintInfo.json → maintInfo.json} +24 -6
- data/schema/measure.json +31 -0
- data/schema/medium.json +55 -0
- data/schema/metadata.json +77 -0
- data/schema/metadataInfo.json +112 -0
- data/schema/{schema/onlineResource.json → onlineResource.json} +1 -1
- data/schema/orderProcess.json +45 -0
- data/schema/releasability.json +42 -0
- data/schema/{schema/resourceInfo.json → resourceInfo.json} +112 -189
- data/schema/responsibility.json +56 -0
- data/schema/schema.json +16 -31
- data/schema/scope.json +55 -0
- data/schema/spatialReference.json +26 -0
- data/schema/spatialRepresentation.json +83 -0
- data/schema/spatialResolution.json +54 -0
- data/schema/taxonomy.json +178 -0
- data/schema/temporalExtent.json +42 -0
- data/schema/timeInstant.json +46 -0
- data/schema/timePeriod.json +126 -0
- data/schema/transferOption.json +61 -0
- data/schema/{schema/usage.json → usage.json} +34 -4
- data/schema/vectorRepresentation.json +51 -0
- data/schema/verticalExtent.json +37 -0
- data/test/helper.rb +32 -0
- data/test/tc_additionalDocumentation.rb +8 -0
- data/test/tc_address.rb +8 -0
- data/test/tc_associatedResource.rb +8 -0
- data/test/tc_attribute.rb +8 -0
- data/test/tc_attributeGroup.rb +8 -0
- data/test/tc_boundingBox.rb +8 -0
- data/test/tc_citation.rb +8 -0
- data/test/tc_constraint.rb +8 -0
- data/test/tc_contact.rb +8 -0
- data/test/tc_coverageDescription.rb +8 -0
- data/test/tc_dataDictionary.rb +8 -0
- data/test/tc_dimension.rb +8 -0
- data/test/tc_distribution.rb +8 -0
- data/test/tc_distributor.rb +8 -0
- data/test/tc_domain.rb +8 -0
- data/test/tc_domainItem.rb +8 -0
- data/test/tc_duration.rb +8 -0
- data/test/tc_entity.rb +20 -0
- data/test/tc_extent.rb +8 -0
- data/test/tc_featureCollection.rb +8 -0
- data/test/tc_featureProperties.rb +8 -0
- data/test/tc_format.rb +8 -0
- data/test/tc_funding.rb +8 -0
- data/test/tc_geographicElement.rb +12 -0
- data/test/tc_geographicExtent.rb +8 -0
- data/test/tc_geometryCollection.rb +8 -0
- data/test/tc_geometryFeature.rb +8 -0
- data/test/tc_geometryObject.rb +8 -0
- data/test/tc_georectifiedRepresentation.rb +8 -0
- data/test/tc_georeferencableRepresentation.rb +8 -0
- data/test/tc_graphic.rb +8 -0
- data/test/tc_gridRepresentation.rb +8 -0
- data/test/tc_identifier.rb +8 -0
- data/test/tc_imageDescription.rb +8 -0
- data/test/tc_jsonschema.rb +16 -0
- data/test/tc_keyword.rb +8 -0
- data/test/tc_lineage.rb +8 -0
- data/test/tc_maintInfo.rb +8 -0
- data/test/tc_measure.rb +8 -0
- data/test/tc_medium.rb +8 -0
- data/test/tc_metadata.rb +8 -0
- data/test/tc_metadataInfo.rb +8 -0
- data/test/tc_onlineResource.rb +8 -0
- data/test/tc_orderProcess.rb +8 -0
- data/test/tc_party.rb +8 -0
- data/test/tc_processStep.rb +8 -0
- data/test/tc_releasability.rb +8 -0
- data/test/tc_resourceInfo.rb +8 -0
- data/test/tc_responsibility.rb +8 -0
- data/test/tc_schema.rb +8 -0
- data/test/tc_scope.rb +8 -0
- data/test/tc_source.rb +8 -0
- data/test/tc_spatialReference.rb +8 -0
- data/test/tc_spatialRepresentation.rb +8 -0
- data/test/tc_spatialResolution.rb +8 -0
- data/test/tc_taxonomicClassification.rb +8 -0
- data/test/tc_taxonomicSystem.rb +8 -0
- data/test/tc_taxonomy.rb +8 -0
- data/test/tc_temporalExtent.rb +8 -0
- data/test/tc_timeInstant.rb +8 -0
- data/test/tc_timePeriod.rb +8 -0
- data/test/tc_transferOption.rb +8 -0
- data/test/tc_uri.rb +8 -0
- data/test/tc_usage.rb +8 -0
- data/test/tc_utils.rb +8 -11
- data/test/tc_vectorRepresentation.rb +13 -0
- data/test/tc_verticalExtent.rb +8 -0
- data/test/tc_voucher.rb +8 -0
- metadata +264 -57
- data/examples/contactRef.json +0 -12
- data/examples/coverageInfo.json +0 -148
- data/examples/dataDictionary.json +0 -549
- data/examples/dataQuality.json +0 -272
- data/examples/extent_linestring.json +0 -288
- data/examples/extent_point.json +0 -246
- data/examples/extent_polygon.json +0 -353
- data/examples/full_example.json +0 -3065
- data/examples/full_example2.json +0 -2325
- data/examples/geojson.json +0 -446
- data/examples/graphicOverview.json +0 -28
- data/examples/gridInfo.json +0 -23
- data/examples/hierarchyLevel.json +0 -90
- data/examples/keywords.json +0 -144
- data/examples/lcc_project_example.json +0 -326
- data/examples/legalConstraints.json +0 -17
- data/examples/maintInfo.json +0 -34
- data/examples/minimum_example.json +0 -35
- data/examples/resolution.json +0 -9
- data/examples/resourceMaintenance.json +0 -10
- data/examples/securityConstraints.json +0 -13
- data/examples/spatialRef.json +0 -14
- data/examples/temporalElement.json +0 -29
- data/schema/schema/contact.json +0 -262
- data/schema/schema/coverageInfo.json +0 -303
- data/schema/schema/dataDictionary.json +0 -335
- data/schema/schema/distributor.json +0 -216
- data/schema/schema/extent.json +0 -215
- data/schema/schema/geojson/crs.json +0 -99
- data/schema/schema/metadata.json +0 -188
- data/schema/schema/resolution.json +0 -51
- data/schema/schema/taxonomy.json +0 -122
- data/test/tc_schemas.rb +0 -243
- /data/schema/{schema/locale.json → locale.json} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5125c25a518b68af4142a3898e57c54e2f6a2b2
|
4
|
+
data.tar.gz: 63fec0692270d4f3212206e5653c3640be89ae59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc2fb2be42f7cabeaeb7636f33d234743558251b78a90846b530574d5c0c0a9f1a3707394b41eab6e4129e4cb672c8c483e28c83be85934724fbeee086b46c5d
|
7
|
+
data.tar.gz: a5cfd9e9731a602e408fc524b8ad5a073f2d2edbfc03e2abebf36ce69f4175792ca6819e75e32f75afac52284a9eef90a2a963514b1fd6c97f0cf8b0723b9be8
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
[![Build Status](https://travis-ci.org/adiwg/mdJson-schemas.svg?branch=master)](https://travis-ci.org/adiwg/mdJson-schemas)
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/adiwg-mdjson_schemas.svg)](http://badge.fury.io/rb/adiwg-mdjson_schemas)
|
3
|
+
[![Bower version](https://badge.fury.io/bo/mdjson-schemas.svg)](https://badge.fury.io/bo/mdjson-schemas)
|
3
4
|
|
4
5
|
# mdJson-schemas
|
5
6
|
|
@@ -8,7 +9,7 @@ JSON schemas for the ADIwg project and data metadata standard
|
|
8
9
|
|
9
10
|
## Ruby Gem
|
10
11
|
|
11
|
-
|
12
|
+
Use with [ruby-json-schema/json-schema](https://github.com/ruby-json-schema/json-schema) to validate mdJSON records in Ruby.
|
12
13
|
|
13
14
|
### Installation
|
14
15
|
|
@@ -24,9 +25,19 @@ Or install it yourself as:
|
|
24
25
|
|
25
26
|
$ gem install adiwg-json_schemas
|
26
27
|
|
28
|
+
## Bower
|
29
|
+
|
30
|
+
Install:
|
31
|
+
|
32
|
+
$ bower install mdjson-schemas
|
33
|
+
|
27
34
|
### Usage
|
28
35
|
|
29
|
-
|
36
|
+
The main schema file is `schema/schema.json`. Load that file in your validator.
|
37
|
+
|
38
|
+
**NOTE**: The schemas use relative addresses for `$ref` paths. This causes a problem
|
39
|
+
with the [ruby-json-schema/json-schema](https://github.com/ruby-json-schema/json-schema) gem.
|
40
|
+
As a workaround, you can pre-load all of the schemas by calling `ADIWG::MdjsonSchemas::Utils::load_schemas` before validation.
|
30
41
|
|
31
42
|
## Contributing
|
32
43
|
|
@@ -34,4 +45,4 @@ TODO: Write usage instructions here
|
|
34
45
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
35
46
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
36
47
|
4. Push to the branch (`git push origin my-new-feature`)
|
37
|
-
5. Create new Pull Request
|
48
|
+
5. Create new Pull Request
|
data/adiwg-json_schemas.gemspec
CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features|)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.13"
|
22
22
|
spec.add_development_dependency "rake", ">= 0"
|
23
|
-
spec.add_development_dependency "json-schema", "~> 2.
|
23
|
+
spec.add_development_dependency "json-schema", "~> 2.7.0"
|
24
24
|
spec.add_development_dependency "minitest", "~>5"
|
25
25
|
end
|
data/bower.json
CHANGED
@@ -1,61 +1,10 @@
|
|
1
|
-
[
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
"date": "1111-11-11",
|
9
|
-
"dateType": "dateType"
|
10
|
-
}
|
11
|
-
],
|
12
|
-
"edition": "edition",
|
13
|
-
"responsibleParty": [
|
14
|
-
{
|
15
|
-
"contactId": "contactId",
|
16
|
-
"role": "role"
|
17
|
-
}
|
18
|
-
],
|
19
|
-
"presentationForm": ["presentationForm"],
|
20
|
-
"identifier": [
|
21
|
-
{
|
22
|
-
"identifier": "identifier",
|
23
|
-
"type": "type",
|
24
|
-
"authority": {
|
25
|
-
"title": "title",
|
26
|
-
"date": [
|
27
|
-
{
|
28
|
-
"date": "1111-11-11",
|
29
|
-
"dateType": "dateType"
|
30
|
-
}
|
31
|
-
],
|
32
|
-
"responsibleParty": [
|
33
|
-
{
|
34
|
-
"contactId": "contactId",
|
35
|
-
"role": "role"
|
36
|
-
}
|
37
|
-
],
|
38
|
-
"onlineResource": [
|
39
|
-
{
|
40
|
-
"uri": "http://thisisanexample.com",
|
41
|
-
"protocol": "protocol",
|
42
|
-
"name": "name",
|
43
|
-
"description": "description",
|
44
|
-
"function": "function"
|
45
|
-
}
|
46
|
-
]
|
47
|
-
}
|
48
|
-
}
|
49
|
-
],
|
50
|
-
"onlineResource": [
|
51
|
-
{
|
52
|
-
"uri": "http://thisisanexample.com",
|
53
|
-
"protocol": "protocol",
|
54
|
-
"name": "name",
|
55
|
-
"description": "description",
|
56
|
-
"function": "function"
|
57
|
-
}
|
58
|
-
]
|
1
|
+
[{
|
2
|
+
"resourceType": "resourceType",
|
3
|
+
"citation": [{
|
4
|
+
"title": "title"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"title": "title"
|
59
8
|
}
|
60
|
-
|
61
|
-
]
|
9
|
+
]
|
10
|
+
}]
|
data/examples/address.json
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
-
[
|
2
|
-
|
3
|
-
"
|
4
|
-
"
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
[{
|
2
|
+
"deliveryPoint": [
|
3
|
+
"deliveryPoint0",
|
4
|
+
"deliveryPoint1"
|
5
|
+
],
|
6
|
+
"city": "city",
|
7
|
+
"administrativeArea": "administrativeArea",
|
8
|
+
"postalCode": "postalCode",
|
9
|
+
"country": "country",
|
10
|
+
"electronicMailAddress": [
|
11
|
+
"email0@example.com",
|
12
|
+
"email1@example.com"
|
13
|
+
]
|
14
|
+
}]
|
@@ -1,119 +1,11 @@
|
|
1
|
-
[
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
"
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
"date": "1111-11-11",
|
11
|
-
"dateType": "dateType"
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"edition": "edition",
|
15
|
-
"responsibleParty": [
|
16
|
-
{
|
17
|
-
"contactId": "contactId",
|
18
|
-
"role": "role"
|
19
|
-
}
|
20
|
-
],
|
21
|
-
"presentationForm": ["presentationForm"],
|
22
|
-
"identifier": [
|
23
|
-
{
|
24
|
-
"identifier": "identifier",
|
25
|
-
"type": "type",
|
26
|
-
"authority": {
|
27
|
-
"title": "title",
|
28
|
-
"date": [
|
29
|
-
{
|
30
|
-
"date": "1111-11-11",
|
31
|
-
"dateType": "dateType"
|
32
|
-
}
|
33
|
-
],
|
34
|
-
"responsibleParty": [
|
35
|
-
{
|
36
|
-
"contactId": "contactId",
|
37
|
-
"role": "role"
|
38
|
-
}
|
39
|
-
],
|
40
|
-
"onlineResource": [
|
41
|
-
{
|
42
|
-
"uri": "http://thisisanexample.com",
|
43
|
-
"protocol": "protocol",
|
44
|
-
"name": "name",
|
45
|
-
"description": "description",
|
46
|
-
"function": "function"
|
47
|
-
}
|
48
|
-
]
|
49
|
-
}
|
50
|
-
}
|
51
|
-
],
|
52
|
-
"onlineResource": [
|
53
|
-
{
|
54
|
-
"uri": "http://thisisanexample.com",
|
55
|
-
"protocol": "protocol",
|
56
|
-
"name": "name",
|
57
|
-
"description": "description",
|
58
|
-
"function": "function"
|
59
|
-
}
|
60
|
-
]
|
61
|
-
},
|
62
|
-
"metadataCitation": {
|
63
|
-
"title": "title",
|
64
|
-
"date": [
|
65
|
-
{
|
66
|
-
"date": "1111-11-11",
|
67
|
-
"dateType": "dateType"
|
68
|
-
}
|
69
|
-
],
|
70
|
-
"edition": "edition",
|
71
|
-
"responsibleParty": [
|
72
|
-
{
|
73
|
-
"contactId": "contactId",
|
74
|
-
"role": "role"
|
75
|
-
}
|
76
|
-
],
|
77
|
-
"presentationForm": ["presentationForm"],
|
78
|
-
"identifier": [
|
79
|
-
{
|
80
|
-
"identifier": "identifier",
|
81
|
-
"type": "type",
|
82
|
-
"authority": {
|
83
|
-
"title": "title",
|
84
|
-
"date": [
|
85
|
-
{
|
86
|
-
"date": "1111-11-11",
|
87
|
-
"dateType": "dateType"
|
88
|
-
}
|
89
|
-
],
|
90
|
-
"responsibleParty": [
|
91
|
-
{
|
92
|
-
"contactId": "contactId",
|
93
|
-
"role": "role"
|
94
|
-
}
|
95
|
-
],
|
96
|
-
"onlineResource": [
|
97
|
-
{
|
98
|
-
"uri": "http://thisisanexample.com",
|
99
|
-
"protocol": "protocol",
|
100
|
-
"name": "name",
|
101
|
-
"description": "description",
|
102
|
-
"function": "function"
|
103
|
-
}
|
104
|
-
]
|
105
|
-
}
|
106
|
-
}
|
107
|
-
],
|
108
|
-
"onlineResource": [
|
109
|
-
{
|
110
|
-
"uri": "http://thisisanexample.com",
|
111
|
-
"protocol": "protocol",
|
112
|
-
"name": "name",
|
113
|
-
"description": "description",
|
114
|
-
"function": "function"
|
115
|
-
}
|
116
|
-
]
|
117
|
-
}
|
1
|
+
[{
|
2
|
+
"resourceType": "resourceType",
|
3
|
+
"associationType": "associationType",
|
4
|
+
"initiativeType": "initiativeType",
|
5
|
+
"resourceCitation": {
|
6
|
+
"title": "title"
|
7
|
+
},
|
8
|
+
"metadataCitation": {
|
9
|
+
"title": "title"
|
118
10
|
}
|
119
|
-
]
|
11
|
+
}]
|
@@ -0,0 +1,27 @@
|
|
1
|
+
[{
|
2
|
+
"sequenceIdentifier": "sequenceIdentifier",
|
3
|
+
"sequenceIdentifierType": "sequenceIdentifierType",
|
4
|
+
"attributeDescription": "attributeDescription",
|
5
|
+
"attributeIdentifier": [{
|
6
|
+
"identifier": "identifier"
|
7
|
+
}],
|
8
|
+
"minValue": 9.9,
|
9
|
+
"maxValue": 9.9,
|
10
|
+
"units": "units",
|
11
|
+
"scaleFactor": 999,
|
12
|
+
"offset": 999,
|
13
|
+
"meanValue": 9.9,
|
14
|
+
"numberOfValues": 999,
|
15
|
+
"standardDeviation": 9.9,
|
16
|
+
"bitsPerValue": 999,
|
17
|
+
"boundMin": 9.9,
|
18
|
+
"boundMax": 9.9,
|
19
|
+
"boundUnits": "boundUnits",
|
20
|
+
"peakResponse": 9.9,
|
21
|
+
"toneGradations": 999,
|
22
|
+
"bandBoundaryDefinition": "bandBoundaryDefinition",
|
23
|
+
"nominalSpatialResolution": 9.9,
|
24
|
+
"transferFunctionType": "transferFunctionType",
|
25
|
+
"transmittedPolarization": "transmittedPolarization",
|
26
|
+
"detectedPolarization": "detectedPolarization"
|
27
|
+
}]
|
@@ -0,0 +1,17 @@
|
|
1
|
+
[{
|
2
|
+
"attributeContentType": [
|
3
|
+
"attributeContentType0",
|
4
|
+
"attributeContentType1"
|
5
|
+
],
|
6
|
+
"attribute": [{
|
7
|
+
"sequenceIdentifier": "sequenceIdentifier0",
|
8
|
+
"attributeDescription": "attributeDescription0",
|
9
|
+
"sequenceIdentifierType": "sequenceIdentifierType0"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"sequenceIdentifier": "sequenceIdentifier1",
|
13
|
+
"attributeDescription": "attributeDescription1",
|
14
|
+
"sequenceIdentifierType": "sequenceIdentifierType1"
|
15
|
+
}
|
16
|
+
]
|
17
|
+
}]
|
data/examples/citation.json
CHANGED
@@ -1,129 +1,71 @@
|
|
1
|
-
[
|
2
|
-
|
3
|
-
|
4
|
-
"
|
5
|
-
"
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
"
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
"
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
{
|
45
|
-
"uri": "http://thisisanexample1.com",
|
46
|
-
"protocol": "protocol1",
|
47
|
-
"name": "name1",
|
48
|
-
"description": "description1",
|
49
|
-
"function": "function1"
|
50
|
-
}
|
51
|
-
]
|
52
|
-
}
|
53
|
-
}
|
54
|
-
],
|
55
|
-
"onlineResource": [
|
56
|
-
{
|
57
|
-
"uri": "http://thisisanexample1.com",
|
58
|
-
"protocol": "protocol1",
|
59
|
-
"name": "name1",
|
60
|
-
"description": "description1",
|
61
|
-
"function": "function1"
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"uri": "http://thisisanexample2.com",
|
65
|
-
"protocol": "protocol2",
|
66
|
-
"name": "name2",
|
67
|
-
"description": "description2",
|
68
|
-
"function": "function2"
|
69
|
-
}
|
70
|
-
]
|
71
|
-
}, {
|
72
|
-
"title": "Project Tracking System",
|
73
|
-
"date": [
|
74
|
-
{
|
75
|
-
"date": "2013-03-13",
|
76
|
-
"dateType": "creation"
|
77
|
-
}
|
78
|
-
]
|
79
|
-
}, {
|
80
|
-
"title": "Project Tracking System",
|
81
|
-
"date": [
|
82
|
-
{
|
83
|
-
"date": "2013-03-13",
|
84
|
-
"dateType": "creation"
|
85
|
-
}
|
86
|
-
],
|
87
|
-
"responsibleParty": [
|
88
|
-
{
|
89
|
-
"contactId": "1",
|
90
|
-
"role": "originator"
|
91
|
-
}, {
|
92
|
-
"contactId": "2",
|
93
|
-
"role": "publisher"
|
94
|
-
}
|
95
|
-
]
|
96
|
-
}, {
|
97
|
-
"title": "Project Tracking System",
|
98
|
-
"date": [
|
99
|
-
{
|
100
|
-
"date": "2011-11-11",
|
101
|
-
"dateType": "publication"
|
102
|
-
}, {
|
103
|
-
"date": "2013-03-13",
|
104
|
-
"dateType": "revision"
|
105
|
-
}
|
106
|
-
],
|
107
|
-
"edition": "version 1.2.0",
|
108
|
-
"responsibleParty": [
|
109
|
-
{
|
110
|
-
"contactId": "1",
|
111
|
-
"role": "originator"
|
112
|
-
}, {
|
113
|
-
"contactId": "2",
|
114
|
-
"role": "publisher"
|
115
|
-
}
|
116
|
-
],
|
117
|
-
"presentationForm": ["digitalDocument"],
|
118
|
-
"onlineResource": [
|
119
|
-
{
|
120
|
-
"uri": "http://dx.doi.org/10.1000/182"
|
1
|
+
[{
|
2
|
+
"title": "title",
|
3
|
+
"alternateTitle": [
|
4
|
+
"alternateTitle0",
|
5
|
+
"alternateTitle1"
|
6
|
+
],
|
7
|
+
"date": [{
|
8
|
+
"date": "2016-10-13",
|
9
|
+
"dateType": "dateType"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"date": "2016-10-22",
|
13
|
+
"dateType": "dateType"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"edition": "edition",
|
17
|
+
"responsibleParty": [{
|
18
|
+
"role": "role",
|
19
|
+
"timePeriod": [{
|
20
|
+
"startDateTime": "2016-10-14"
|
21
|
+
}],
|
22
|
+
"party": [{
|
23
|
+
"contactId": "individualId0"
|
24
|
+
}]
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"role": "role",
|
28
|
+
"timePeriod": [{
|
29
|
+
"startDateTime": "2016-10-14"
|
30
|
+
}],
|
31
|
+
"party": [{
|
32
|
+
"contactId": "individualId0"
|
33
|
+
}]
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"presentationForm": [
|
37
|
+
"presentationForm0",
|
38
|
+
"presentationForm1"
|
39
|
+
],
|
40
|
+
"identifier": [{
|
41
|
+
"identifier": "identifier",
|
42
|
+
"authority": {
|
43
|
+
"title": "title"
|
121
44
|
}
|
122
|
-
|
123
|
-
|
124
|
-
"
|
125
|
-
|
126
|
-
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"identifier": "identifier"
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"series": {
|
51
|
+
"seriesName": "seriesName"
|
52
|
+
},
|
53
|
+
"otherCitationDetails": [
|
54
|
+
"otherCitationDetails0",
|
55
|
+
"otherCitationDetails1"
|
56
|
+
],
|
57
|
+
"onlineResource": [{
|
58
|
+
"uri": "http://adiwg.org"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"uri": "http://adiwg.org"
|
62
|
+
}
|
63
|
+
],
|
64
|
+
"graphic": [{
|
65
|
+
"fileName": "fileName"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"fileName": "fileName"
|
127
69
|
}
|
128
|
-
|
129
|
-
]
|
70
|
+
]
|
71
|
+
}]
|