adiwg-mdtranslator 0.12.1 → 1.0.0rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.gitmodules +3 -3
- data/Rakefile +1 -1
- data/adiwg-mdtranslator.gemspec +3 -3
- data/lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb +5 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/mdJson_validator.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entity.rb +9 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entityAttribute.rb +9 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_mdJson.rb +7 -2
- data/lib/adiwg/mdtranslator/readers/mdJson/readme.md +2 -2
- data/lib/adiwg/mdtranslator/version.rb +5 -1
- data/lib/adiwg/mdtranslator/writers/html/html_writer.rb +43 -0
- data/lib/adiwg/mdtranslator/writers/html/md_html_writer.rb +25 -0
- data/lib/adiwg/mdtranslator/writers/html/readme.md +10 -0
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_aggregateInformation.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_boundingPolygon.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_citation.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_contact.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_dataIdentification.rb +17 -17
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_dataQuality.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_date.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_digitalTransferOptions.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_distribution.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_distributor.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_extent.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureAttribute.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureType.rb +11 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_genericMetaData.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_geographicElement.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_identifier.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_keyword.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_legalConstraints.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_lineage.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_maintenanceInformation.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_medium.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_metadataExtension.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_multiGeometry.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_onlineResource.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_processStep.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_referenceSystem.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_responsibleParty.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_securityConstraints.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_source.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_taxonSystem.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_temporalExtent.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_usage.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_vouchers.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso19110/class_FCfeatureCatalogue.rb +159 -147
- data/lib/adiwg/mdtranslator/writers/iso19110/iso19110_writer.rb +17 -23
- data/lib/adiwg/mdtranslator/writers/iso19115_2/class_MImetadata.rb +11 -10
- data/lib/adiwg/mdtranslator/writers/iso19115_2/iso19115_2_writer.rb +97 -103
- data/lib/adiwg/mdtranslator/writers/mdWriters.rb +1 -11
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_additionalDocumentation.rb +4 -4
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_address.rb +3 -3
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_associatedResource.rb +4 -4
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_browseGraphic.rb +3 -3
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_citation.rb +4 -4
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_contact.rb +4 -4
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_dictionaryInfo.rb +4 -4
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_domain.rb +4 -4
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_onlineResource.rb +3 -3
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_phone.rb +3 -3
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_responsibleParty.rb +3 -3
- data/test/readers/mdJson/{v0_9 → v1_0}/tc_translation.rb +4 -4
- data/test/schemas/v1_0/.gitignore +18 -0
- data/test/schemas/v1_0/.travis.yml +7 -0
- data/test/schemas/v1_0/CREDITS +3 -0
- data/test/schemas/v1_0/Gemfile +4 -0
- data/test/schemas/v1_0/LICENSE +24 -0
- data/test/schemas/v1_0/README.md +36 -0
- data/test/schemas/v1_0/Rakefile +12 -0
- data/test/schemas/v1_0/adiwg-json_schemas.gemspec +25 -0
- data/test/schemas/v1_0/examples/additionalDocumentation.json +61 -0
- data/test/schemas/v1_0/examples/address.json +10 -0
- data/test/schemas/v1_0/examples/associatedResource.json +119 -0
- data/test/schemas/v1_0/examples/citation.json +128 -0
- data/test/schemas/v1_0/examples/contact.json +205 -0
- data/test/schemas/v1_0/examples/contactRef.json +12 -0
- data/test/schemas/v1_0/examples/dataDictionary.json +547 -0
- data/test/schemas/v1_0/examples/dataQuality.json +272 -0
- data/test/schemas/v1_0/examples/date.json +19 -0
- data/test/schemas/v1_0/examples/distributor.json +113 -0
- data/test/schemas/v1_0/examples/extent_linestring.json +288 -0
- data/test/schemas/v1_0/examples/extent_point.json +246 -0
- data/test/schemas/v1_0/examples/extent_polygon.json +353 -0
- data/test/schemas/v1_0/examples/format.json +14 -0
- data/test/schemas/v1_0/examples/full_example.json +2844 -0
- data/test/schemas/v1_0/examples/full_example2.json +2325 -0
- data/test/schemas/v1_0/examples/geojson.json +446 -0
- data/test/schemas/v1_0/examples/graphicOverview.json +28 -0
- data/test/schemas/v1_0/examples/hierarchyLevel.json +90 -0
- data/test/schemas/v1_0/examples/keywords.json +144 -0
- data/test/schemas/v1_0/examples/lcc_project_example.json +326 -0
- data/test/schemas/v1_0/examples/legalConstraints.json +17 -0
- data/test/schemas/v1_0/examples/maintInfo.json +34 -0
- data/test/schemas/v1_0/examples/metadataInfo.json +103 -0
- data/test/schemas/v1_0/examples/minimum_example.json +35 -0
- data/test/schemas/v1_0/examples/onlineResource.json +17 -0
- data/test/schemas/v1_0/examples/resolution.json +9 -0
- data/test/schemas/v1_0/examples/resourceInfo.json +1264 -0
- data/test/schemas/v1_0/examples/resourceMaintenance.json +10 -0
- data/test/schemas/v1_0/examples/securityConstraints.json +13 -0
- data/test/schemas/v1_0/examples/spatialRef.json +14 -0
- data/test/schemas/v1_0/examples/taxonomy.json +197 -0
- data/test/schemas/v1_0/examples/temporalElement.json +29 -0
- data/test/schemas/v1_0/examples/uri.json +16 -0
- data/test/schemas/v1_0/examples/usage.json +35 -0
- data/test/schemas/v1_0/examples/verticalExtent.json +18 -0
- data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/utils.rb +20 -0
- data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/validator.rb +42 -0
- data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/version.rb +6 -0
- data/test/schemas/v1_0/lib/adiwg/mdjson_schemas.rb +7 -0
- data/test/schemas/v1_0/lib/adiwg-mdjson_schemas.rb +1 -0
- data/test/schemas/v1_0/schema/schema/citation.json +186 -0
- data/test/schemas/v1_0/schema/schema/contact.json +255 -0
- data/test/schemas/v1_0/schema/schema/dataDictionary.json +209 -0
- data/test/schemas/v1_0/schema/schema/dataQuality.json +159 -0
- data/test/schemas/v1_0/schema/schema/distributor.json +171 -0
- data/test/schemas/v1_0/schema/schema/extent.json +214 -0
- data/test/schemas/v1_0/schema/schema/geojson/bbox.json +14 -0
- data/test/schemas/v1_0/schema/schema/geojson/crs.json +99 -0
- data/test/schemas/v1_0/schema/schema/geojson/geojson.json +194 -0
- data/test/schemas/v1_0/schema/schema/geojson/geometry.json +203 -0
- data/test/schemas/v1_0/schema/schema/graphicOverview.json +42 -0
- data/test/schemas/v1_0/schema/schema/keyword.json +39 -0
- data/test/schemas/v1_0/schema/schema/maintInfo.json +43 -0
- data/test/schemas/v1_0/schema/schema/metadata.json +173 -0
- data/test/schemas/v1_0/schema/schema/onlineResource.json +42 -0
- data/test/schemas/v1_0/schema/schema/resolution.json +51 -0
- data/test/schemas/v1_0/schema/schema/resourceConstraint.json +108 -0
- data/test/schemas/v1_0/schema/schema/resourceInfo.json +305 -0
- data/test/schemas/v1_0/schema/schema/taxonomy.json +122 -0
- data/test/schemas/v1_0/schema/schema/usage.json +39 -0
- data/test/schemas/v1_0/schema/schema.json +64 -0
- data/test/schemas/v1_0/templates/mdJson_template.json +1065 -0
- data/test/schemas/v1_0/test/draft-04.json +189 -0
- data/test/schemas/v1_0/test/tc_schemas.rb +210 -0
- data/test/schemas/v1_0/test/tc_utils.rb +27 -0
- metadata +241 -90
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_additionalDocumentation.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_address.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_associatedResource.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_boundingBox.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_browseGraphic.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_citation.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_contacts.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_coordinates.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dataDictionary.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dataQuality.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dateTime.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_descriptiveKeyword.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dictionaryInfo.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_distributionInfo.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_domain.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_domainItem.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entityForeignKey.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entityIndex.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_extent.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_geoCoordSystem.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_geoProperties.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_geographicElement.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_legalConstraint.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_lineString.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_lineage.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_metadata.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_metadataExtension.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_metadataInfo.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_onlineResource.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_phone.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_point.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_polygon.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_processStep.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resolution.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceFormat.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceIdentifier.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceInfo.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceMaintenance.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceSpecificUsage.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_responsibleParty.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_securityConstraint.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_source.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_spatialReference.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_taxonClass.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_taxonomy.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_temporalElement.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_timeInstant.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_timePeriod.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_verticalElement.rb +0 -0
- /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_voucher.rb +0 -0
@@ -0,0 +1,547 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"dictionaryInfo": {
|
4
|
+
"citation": {
|
5
|
+
"title": "title",
|
6
|
+
"date": [
|
7
|
+
{
|
8
|
+
"date": "1111-11-11",
|
9
|
+
"dateType": "dateType1"
|
10
|
+
}, {
|
11
|
+
"date": "1112-11-11",
|
12
|
+
"dateType": "dateType2"
|
13
|
+
}
|
14
|
+
],
|
15
|
+
"edition": "edition",
|
16
|
+
"responsibleParty": [
|
17
|
+
{
|
18
|
+
"contactId": "contactId1",
|
19
|
+
"role": "role1"
|
20
|
+
}, {
|
21
|
+
"contactId": "contactId2",
|
22
|
+
"role": "role2"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"onlineResource": [
|
26
|
+
{
|
27
|
+
"uri": "http://thisisanexample1.com",
|
28
|
+
"protocol": "protocol1",
|
29
|
+
"name": "name1",
|
30
|
+
"description": "description1",
|
31
|
+
"function": "function1"
|
32
|
+
}, {
|
33
|
+
"uri": "http://thisisanexample2.com",
|
34
|
+
"protocol": "protocol2",
|
35
|
+
"name": "name2",
|
36
|
+
"description": "description2",
|
37
|
+
"function": "function2"
|
38
|
+
}
|
39
|
+
]
|
40
|
+
},
|
41
|
+
"description": "description",
|
42
|
+
"resourceType": "resourceType",
|
43
|
+
"language": "language"
|
44
|
+
},
|
45
|
+
"domain": [
|
46
|
+
{
|
47
|
+
"domainId": "domainId1",
|
48
|
+
"commonName": "commonName1",
|
49
|
+
"codeName": "codeName1",
|
50
|
+
"description": "description1",
|
51
|
+
"member": [
|
52
|
+
{
|
53
|
+
"name": "name11",
|
54
|
+
"value": "value11",
|
55
|
+
"definition": "definition11"
|
56
|
+
}, {
|
57
|
+
"name": "name12",
|
58
|
+
"value": "value12",
|
59
|
+
"definition": "definition12"
|
60
|
+
}
|
61
|
+
]
|
62
|
+
}, {
|
63
|
+
"domainId": "domainId2",
|
64
|
+
"commonName": "commonName2",
|
65
|
+
"codeName": "codeName2",
|
66
|
+
"description": "description2",
|
67
|
+
"member": [
|
68
|
+
{
|
69
|
+
"name": "name21",
|
70
|
+
"value": "value21",
|
71
|
+
"definition": "definition21"
|
72
|
+
}, {
|
73
|
+
"name": "name22",
|
74
|
+
"value": "value22",
|
75
|
+
"definition": "definition22"
|
76
|
+
}
|
77
|
+
]
|
78
|
+
}
|
79
|
+
],
|
80
|
+
"entity": [
|
81
|
+
{
|
82
|
+
"entityId": "entityId1",
|
83
|
+
"commonName": "commonName1",
|
84
|
+
"codeName": "codeName1",
|
85
|
+
"alias": ["alias11", "alias12"],
|
86
|
+
"definition": "definition1",
|
87
|
+
"primaryKeyAttributeCodeName": ["primaryKeyAttributeCodeName11", "primaryKeyAttributeCodeName12"],
|
88
|
+
"index": [
|
89
|
+
{
|
90
|
+
"codeName": "codeName11",
|
91
|
+
"allowDuplicates": false,
|
92
|
+
"attributeCodeName": ["attributeCodeName111", "attributeCodeName112"]
|
93
|
+
}, {
|
94
|
+
"codeName": "codeName12",
|
95
|
+
"allowDuplicates": false,
|
96
|
+
"attributeCodeName": ["attributeCodeName121", "attributeCodeName122"]
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"attribute": [
|
100
|
+
{
|
101
|
+
"commonName": "commonName11",
|
102
|
+
"codeName": "codeName11",
|
103
|
+
"alias": ["alias111", "alias112"],
|
104
|
+
"definition": "definition11",
|
105
|
+
"dataType": "dataType11",
|
106
|
+
"allowNull": true,
|
107
|
+
"units": "units11",
|
108
|
+
"domainId": "domainId11",
|
109
|
+
"minValue": "minValue11",
|
110
|
+
"maxValue": "maxValue11"
|
111
|
+
}, {
|
112
|
+
"commonName": "commonName12",
|
113
|
+
"codeName": "codeName12",
|
114
|
+
"definition": "definition12",
|
115
|
+
"dataType": "dataType12",
|
116
|
+
"allowNull": true,
|
117
|
+
"units": "units12",
|
118
|
+
"domainId": "domainId12",
|
119
|
+
"minValue": "minValue12",
|
120
|
+
"maxValue": "maxValue12"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"foreignKey": [
|
124
|
+
{
|
125
|
+
"localAttributeCodeName": ["localAttributeCodeName111", "localAttributeCodeName112"],
|
126
|
+
"referencedEntityCodeName": "referencedEntityCodeName11",
|
127
|
+
"referencedAttributeCodeName": ["referencedAttributeCodeName111", "referencedAttributeCodeName112"]
|
128
|
+
}, {
|
129
|
+
"localAttributeCodeName": ["localAttributeCodeName121", "localAttributeCodeName122"],
|
130
|
+
"referencedEntityCodeName": "referencedEntityCodeName12",
|
131
|
+
"referencedAttributeCodeName": ["referencedAttributeCodeName121", "referencedAttributeCodeName122"]
|
132
|
+
}
|
133
|
+
]
|
134
|
+
}
|
135
|
+
]
|
136
|
+
}, {
|
137
|
+
"dictionaryInfo": {
|
138
|
+
"citation": {
|
139
|
+
"title": "Project Metadata Database",
|
140
|
+
"date": [
|
141
|
+
{
|
142
|
+
"date": "2014-11-24",
|
143
|
+
"dateType": "creation"
|
144
|
+
}
|
145
|
+
],
|
146
|
+
"edition": "14.0.2",
|
147
|
+
"responsibleParty": [
|
148
|
+
{
|
149
|
+
"contactId": "8",
|
150
|
+
"role": "author"
|
151
|
+
}
|
152
|
+
]
|
153
|
+
},
|
154
|
+
"description": "Data dictionary for the ADIwg project metadata standard for 2011 based on the FGDC standard.",
|
155
|
+
"resourceType": "database",
|
156
|
+
"language": "eng; US"
|
157
|
+
},
|
158
|
+
"domain": [
|
159
|
+
{
|
160
|
+
"domainId": "domain001",
|
161
|
+
"commonName": "agency type",
|
162
|
+
"codeName": "AGENCY_TYPE",
|
163
|
+
"description": "Legal classification for the organization.",
|
164
|
+
"member": [
|
165
|
+
{
|
166
|
+
"name": "federal government",
|
167
|
+
"value": "federal",
|
168
|
+
"definition": "An organization withing the federal government."
|
169
|
+
}, {
|
170
|
+
"name": "state government",
|
171
|
+
"value": "state",
|
172
|
+
"definition": "An organization withing a state or provincial government."
|
173
|
+
}, {
|
174
|
+
"name": "local government",
|
175
|
+
"value": "local",
|
176
|
+
"definition": "An organization withing a local county, city, or municipal government."
|
177
|
+
}, {
|
178
|
+
"name": "private business",
|
179
|
+
"value": "private",
|
180
|
+
"definition": "A private for-profit business."
|
181
|
+
}, {
|
182
|
+
"name": "non-profit business",
|
183
|
+
"value": "nonProfit",
|
184
|
+
"definition": "A private non-profit business."
|
185
|
+
}, {
|
186
|
+
"name": "academic institute",
|
187
|
+
"value": "academic",
|
188
|
+
"definition": "An organization of higher learning such as a college or university."
|
189
|
+
}, {
|
190
|
+
"name": "military",
|
191
|
+
"value": "military",
|
192
|
+
"definition": "An organization within a recognized military structure such as the Army. Navy, or Air Force."
|
193
|
+
}
|
194
|
+
]
|
195
|
+
}, {
|
196
|
+
"domainId": "domain002",
|
197
|
+
"commonName": "agency address type",
|
198
|
+
"codeName": "ADDRESS_TYPE",
|
199
|
+
"description": "Type of agency address.",
|
200
|
+
"member": [
|
201
|
+
{
|
202
|
+
"name": "mailing address",
|
203
|
+
"value": "mailing",
|
204
|
+
"definition": "The preferred address for receiving mail. May be a physical address or P.O. Box."
|
205
|
+
}, {
|
206
|
+
"name": "physical address",
|
207
|
+
"value": "physical",
|
208
|
+
"definition": "The street address of the agency."
|
209
|
+
}
|
210
|
+
]
|
211
|
+
}, {
|
212
|
+
"domainId": "domain003",
|
213
|
+
"commonName": "sky cover code",
|
214
|
+
"codeName": "sky_cover_code",
|
215
|
+
"description": "NH (Amount of the sky covered by all clouds) is part of the Cloud/WX mandatory 9 digit group. All nine digits must be entered, regardless of the presence or absence of clouds or significant weather conditions. Cloud/WX group format: NH CL h CM CH W W W W",
|
216
|
+
"member": [
|
217
|
+
{
|
218
|
+
"name": "0",
|
219
|
+
"value": "0",
|
220
|
+
"definition": "clear skys"
|
221
|
+
}, {
|
222
|
+
"name": "1",
|
223
|
+
"value": "1",
|
224
|
+
"definition": "1 okta or less, 1/10 or less, but not zero"
|
225
|
+
}, {
|
226
|
+
"name": "2",
|
227
|
+
"value": "2",
|
228
|
+
"definition": "2 oktas 2/10 - 3/10"
|
229
|
+
}, {
|
230
|
+
"name": "7",
|
231
|
+
"value": "7",
|
232
|
+
"definition": "7 oktas or more, 9/10 or more, but not 8 oktas but not 10/10"
|
233
|
+
}, {
|
234
|
+
"name": "8",
|
235
|
+
"value": "8",
|
236
|
+
"definition": "8 oktas, 10/10"
|
237
|
+
}, {
|
238
|
+
"name": "9",
|
239
|
+
"value": "9",
|
240
|
+
"definition": "Sky obscured by for and/or other meteorolocial phenonena / Cloud cover is indiscernible for reasons other than for or other meteorological phenomena such as smoke, or observation is not made."
|
241
|
+
}
|
242
|
+
]
|
243
|
+
}, {
|
244
|
+
"domainId": "domain004",
|
245
|
+
"commonName": "low cloud type",
|
246
|
+
"codeName": "low_cloud_cover_type",
|
247
|
+
"description": "CL (low cloud type) is part of the Cloud/WX mandatory 9 digit group. All nine digits must be entered, regardless of the presence or absence of clouds or significant weather conditions. CL = type of low cloud, based on the priority given. A solidus (/) is reported if CL clouds are not visible owing to fog or similar obscuring phenomena. Cloud/WX group format: NH CL h CM CH W W W W",
|
248
|
+
"member": [
|
249
|
+
{
|
250
|
+
"name": "0",
|
251
|
+
"value": "0",
|
252
|
+
"definition": "No CL clouds -- no cumulus, cumulonimbus, stratocumulus, or stratus."
|
253
|
+
}, {
|
254
|
+
"name": "3",
|
255
|
+
"value": "3",
|
256
|
+
"definition": "If cumulonimbus are present, with or without other clouds, CL=3 if the upper part of none of the cumulonimbus clouds present is clearly fibrous or striated."
|
257
|
+
}, {
|
258
|
+
"name": "4",
|
259
|
+
"value": "4",
|
260
|
+
"definition": "If no cumulonimbus present, CL=4 if stratocumulus formed by the spreading out of cumulus is present."
|
261
|
+
}, {
|
262
|
+
"name": "8",
|
263
|
+
"value": "8",
|
264
|
+
"definition": "If no cumulonimbus present, CL=8 if the CL code figure 4 is not applicable and if cumulus and stratocumulus clouds with bases at different levels are present."
|
265
|
+
}, {
|
266
|
+
"name": "9",
|
267
|
+
"value": "9",
|
268
|
+
"definition": "If cumulonimbus are present, with or without other clouds, CL=9 if the upper part of at least one of the cumulonimbus clouds present is clearly fibrous or striated."
|
269
|
+
}, {
|
270
|
+
"name": "\/",
|
271
|
+
"value": "\/",
|
272
|
+
"definition": "CL clouds are not visible owing to fog or similar obscuring phenomena."
|
273
|
+
}
|
274
|
+
]
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"entity": [
|
278
|
+
{
|
279
|
+
"entityId": "entity001",
|
280
|
+
"commonName": "agency",
|
281
|
+
"codeName": "AGENCY",
|
282
|
+
"definition": "Organizations providing some contribution to Alaska Science Center research.",
|
283
|
+
"primaryKeyAttributeCodeName": ["agency_id"],
|
284
|
+
"index": [
|
285
|
+
{
|
286
|
+
"codeName": "ui_agencyCode",
|
287
|
+
"allowDuplicates": false,
|
288
|
+
"attributeCodeName": ["agency_code"]
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"attribute": [
|
292
|
+
{
|
293
|
+
"commonName": "agency ID",
|
294
|
+
"codeName": "agency_id",
|
295
|
+
"definition": "Unique sequential ID for the agency assigned by the database.",
|
296
|
+
"dataType": "integer",
|
297
|
+
"allowNull": false
|
298
|
+
}, {
|
299
|
+
"commonName": "agency code",
|
300
|
+
"codeName": "agency_code",
|
301
|
+
"definition": "Unique alphanumeric ID for the agency assigned by the data steward.",
|
302
|
+
"dataType": "varchar(25)",
|
303
|
+
"allowNull": false,
|
304
|
+
"domainId": "domain001"
|
305
|
+
}, {
|
306
|
+
"commonName": "agency type code",
|
307
|
+
"codeName": "agency_type_code",
|
308
|
+
"definition": "Agency legal organization classification.",
|
309
|
+
"dataType": "varchar(25)",
|
310
|
+
"allowNull": false
|
311
|
+
}, {
|
312
|
+
"commonName": "agency name",
|
313
|
+
"codeName": "agency_name",
|
314
|
+
"definition": "Name of agency.",
|
315
|
+
"dataType": "varchar(100)",
|
316
|
+
"allowNull": false
|
317
|
+
}, {
|
318
|
+
"commonName": "agency comment",
|
319
|
+
"codeName": "comment",
|
320
|
+
"definition": "Supplemental information about the agency.",
|
321
|
+
"dataType": "varchar(500)",
|
322
|
+
"allowNull": true
|
323
|
+
}, {
|
324
|
+
"commonName": "time stamp",
|
325
|
+
"codeName": "ts",
|
326
|
+
"definition": "datetime of creation or latest update - maintained by system",
|
327
|
+
"dataType": "datetime",
|
328
|
+
"allowNull": false
|
329
|
+
}
|
330
|
+
]
|
331
|
+
}, {
|
332
|
+
"entityId": "entity002",
|
333
|
+
"commonName": "agency address",
|
334
|
+
"codeName": "ADDRESS",
|
335
|
+
"definition": "Addresses for an AGENCY",
|
336
|
+
"primaryKeyAttributeCodeName": ["agency_id", "address_type_code"],
|
337
|
+
"attribute": [
|
338
|
+
{
|
339
|
+
"commonName": "agency ID",
|
340
|
+
"codeName": "agency_id",
|
341
|
+
"definition": "Unique sequential ID for the agency assigned by the database.",
|
342
|
+
"dataType": "integer",
|
343
|
+
"allowNull": false
|
344
|
+
}, {
|
345
|
+
"commonName": "address type",
|
346
|
+
"codeName": "address_type_code",
|
347
|
+
"definition": "Type of address.",
|
348
|
+
"dataType": "varchar(25)",
|
349
|
+
"allowNull": false,
|
350
|
+
"domainId": "domain002"
|
351
|
+
}, {
|
352
|
+
"commonName": "street address",
|
353
|
+
"codeName": "street",
|
354
|
+
"definition": "Street and street number or P.O. Box number.",
|
355
|
+
"dataType": "varchar(100)",
|
356
|
+
"allowNull": false
|
357
|
+
}, {
|
358
|
+
"commonName": "city",
|
359
|
+
"codeName": "city",
|
360
|
+
"definition": "City name.",
|
361
|
+
"dataType": "varchar(50)",
|
362
|
+
"allowNull": false
|
363
|
+
}, {
|
364
|
+
"commonName": "state",
|
365
|
+
"codeName": "state_code",
|
366
|
+
"definition": "State or province code",
|
367
|
+
"dataType": "char(3)",
|
368
|
+
"allowNull": false
|
369
|
+
}, {
|
370
|
+
"commonName": "zip code",
|
371
|
+
"codeName": "postal_code",
|
372
|
+
"definition": "Postal code.",
|
373
|
+
"dataType": "char(9)",
|
374
|
+
"allowNull": true
|
375
|
+
}
|
376
|
+
],
|
377
|
+
"foreignKey": [
|
378
|
+
{
|
379
|
+
"localAttributeCodeName": ["agency_id"],
|
380
|
+
"referencedEntityCodeName": "AGENCY",
|
381
|
+
"referencedAttributeCodeName": ["agency_id"]
|
382
|
+
}
|
383
|
+
]
|
384
|
+
}, {
|
385
|
+
"entityId": "entity003",
|
386
|
+
"commonName": "weather station",
|
387
|
+
"codeName": "WEATHER_STATION",
|
388
|
+
"definition": "Table describing weather permanent and semi-permanent weather all-season recording stations in Alaska.",
|
389
|
+
"primaryKeyAttributeCodeName": ["station_id"],
|
390
|
+
"attribute": [
|
391
|
+
{
|
392
|
+
"commonName": "weather station id",
|
393
|
+
"codeName": "station_id",
|
394
|
+
"definition": "Unique identifier for weather station.",
|
395
|
+
"dataType": "integer",
|
396
|
+
"allowNull": false
|
397
|
+
}, {
|
398
|
+
"commonName": "weather station name",
|
399
|
+
"codeName": "station_name",
|
400
|
+
"definition": "Common name for the weather station.",
|
401
|
+
"dataType": "varchar(100)",
|
402
|
+
"allowNull": false
|
403
|
+
}, {
|
404
|
+
"commonName": "station latitude",
|
405
|
+
"codeName": "latitude",
|
406
|
+
"definition": "Latitude of weather station.",
|
407
|
+
"dataType": "decimal",
|
408
|
+
"allowNull": false,
|
409
|
+
"units": "degree",
|
410
|
+
"minValue": "-90.0",
|
411
|
+
"maxValue": "90.0"
|
412
|
+
}, {
|
413
|
+
"commonName": "station longitude",
|
414
|
+
"codeName": "longitude",
|
415
|
+
"definition": "Longitude of weather station.",
|
416
|
+
"dataType": "decimal",
|
417
|
+
"allowNull": false,
|
418
|
+
"units": "degree",
|
419
|
+
"minValue": "-180.0",
|
420
|
+
"maxValue": "180.0"
|
421
|
+
}, {
|
422
|
+
"commonName": "station elevation",
|
423
|
+
"codeName": "elevation_M",
|
424
|
+
"definition": "Elevation of weather station above sea level in meters.",
|
425
|
+
"dataType": "decimal",
|
426
|
+
"allowNull": true,
|
427
|
+
"units": "meter",
|
428
|
+
"minValue": "0",
|
429
|
+
"maxValue": "3000"
|
430
|
+
}
|
431
|
+
]
|
432
|
+
}, {
|
433
|
+
"entityId": "entity004",
|
434
|
+
"commonName": "weather station observation",
|
435
|
+
"codeName": "WEATHER_STATION_OBSERVATION",
|
436
|
+
"definition": "Table of discontinuous weather station observation records including temperature, humidity, wind, precipitation, and cloud cover.",
|
437
|
+
"primaryKeyAttributeCodeName": ["obs_id"],
|
438
|
+
"attribute": [
|
439
|
+
{
|
440
|
+
"commonName": "weather observation ID",
|
441
|
+
"codeName": "obs_id",
|
442
|
+
"definition": "Unique identifier of a single weather station observation record.",
|
443
|
+
"dataType": "integer",
|
444
|
+
"allowNull": false
|
445
|
+
}, {
|
446
|
+
"commonName": "weather station ID",
|
447
|
+
"codeName": "station_id",
|
448
|
+
"definition": "Unique identifier for weather station.",
|
449
|
+
"dataType": "integer",
|
450
|
+
"allowNull": false
|
451
|
+
}, {
|
452
|
+
"commonName": "observation date and time",
|
453
|
+
"codeName": "obs_datetime",
|
454
|
+
"definition": "Date and UTC with offset 24h time the weather observation was made.",
|
455
|
+
"dataType": "datetime",
|
456
|
+
"allowNull": false
|
457
|
+
}, {
|
458
|
+
"commonName": "ambient air temperature Celsius",
|
459
|
+
"codeName": "air_temp_C",
|
460
|
+
"definition": "Ambient air temperature recorded at weather station in degrees Celsius.",
|
461
|
+
"dataType": "decimal",
|
462
|
+
"allowNull": false,
|
463
|
+
"units": "degC",
|
464
|
+
"minValue": "-60",
|
465
|
+
"maxValue": "50"
|
466
|
+
}, {
|
467
|
+
"commonName": "ambient air temperature Fahrenheit",
|
468
|
+
"codeName": "air_temp_F",
|
469
|
+
"definition": "Ambient air temperature recorded at weather station in degrees Fahrenheit.",
|
470
|
+
"dataType": "decimal",
|
471
|
+
"allowNull": false,
|
472
|
+
"units": "degF",
|
473
|
+
"minValue": "-100",
|
474
|
+
"maxValue": "130"
|
475
|
+
}, {
|
476
|
+
"commonName": "daily precipitation",
|
477
|
+
"codeName": "precipitation_IN",
|
478
|
+
"definition": "The amount of rain fall or snow melt falling in a 24 hour period in inches.",
|
479
|
+
"dataType": "decimal",
|
480
|
+
"allowNull": false,
|
481
|
+
"units": "inch",
|
482
|
+
"minValue": "0",
|
483
|
+
"maxValue": "25"
|
484
|
+
}, {
|
485
|
+
"commonName": "daily precipitation",
|
486
|
+
"codeName": "precipitation_mm",
|
487
|
+
"definition": "The amount of rain fall or snow melt falling in a 24 hour period in millimeters.",
|
488
|
+
"dataType": "decimal",
|
489
|
+
"allowNull": false,
|
490
|
+
"units": "mm",
|
491
|
+
"minValue": "0",
|
492
|
+
"maxValue": "500"
|
493
|
+
}, {
|
494
|
+
"commonName": "wind direction",
|
495
|
+
"codeName": "wind_direction_DEG",
|
496
|
+
"definition": "Average direction wind is coming from in degrees. True north is 0 degrees.",
|
497
|
+
"dataType": "integer",
|
498
|
+
"allowNull": true,
|
499
|
+
"units": "degree",
|
500
|
+
"minValue": "0",
|
501
|
+
"maxValue": "359"
|
502
|
+
}, {
|
503
|
+
"commonName": "wind speed",
|
504
|
+
"codeName": "wind_speed_MPH",
|
505
|
+
"definition": "Average wind speed in miles per hour (MPH).",
|
506
|
+
"dataType": "integer",
|
507
|
+
"allowNull": true,
|
508
|
+
"units": "mph",
|
509
|
+
"minValue": "0",
|
510
|
+
"maxValue": "200"
|
511
|
+
}, {
|
512
|
+
"commonName": "wind speed",
|
513
|
+
"codeName": "wind_speed_KPH",
|
514
|
+
"definition": "Average wind speed in kilometers per hour (KPH).",
|
515
|
+
"dataType": "integer",
|
516
|
+
"allowNull": true,
|
517
|
+
"units": "kph",
|
518
|
+
"minValue": "0",
|
519
|
+
"maxValue": "300"
|
520
|
+
}, {
|
521
|
+
"commonName": "sky cover code",
|
522
|
+
"codeName": "sky_cover_code",
|
523
|
+
"definition": "NH (Amount of the sky covered by all clouds) is part of the Cloud/WX mandatory 9 digit group. All nine digits must be entered, regardless of the presence or absence of clouds or significant weather conditions. Cloud/WX group format: NH CL h CM CH W W W W",
|
524
|
+
"dataType": "char(1)",
|
525
|
+
"allowNull": true,
|
526
|
+
"units": "sunnyDays",
|
527
|
+
"domainId": "domain003"
|
528
|
+
}, {
|
529
|
+
"commonName": "low cloud type",
|
530
|
+
"codeName": "low_cloud_cover_code",
|
531
|
+
"definition": "CL (low cloud type) is part of the Cloud/WX mandatory 9 digit group. All nine digits must be entered, regardless of the presence or absence of clouds or significant weather conditions. CL = type of low cloud, based on the priority given. A solidus (/) is reported if CL clouds are not visible owing to fog or similar obscuring phenomena. Cloud/WX group format: NH CL h CM CH W W W W",
|
532
|
+
"dataType": "char(1)",
|
533
|
+
"allowNull": true,
|
534
|
+
"domainId": "domain004"
|
535
|
+
}
|
536
|
+
],
|
537
|
+
"foreignKey": [
|
538
|
+
{
|
539
|
+
"localAttributeCodeName": ["station_id"],
|
540
|
+
"referencedEntityCodeName": "WEATHER_STATION",
|
541
|
+
"referencedAttributeCodeName": ["station_id"]
|
542
|
+
}
|
543
|
+
]
|
544
|
+
}
|
545
|
+
]
|
546
|
+
}
|
547
|
+
]
|