diff --git a/.gitignore b/.gitignore index 6ade64e..704da50 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ .bundle .config .yardoc -Gemfile.lock InstalledFiles _yardoc coverage diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..ac534bd --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,32 @@ +PATH + remote: . + specs: + adiwg-mdjson_schemas (2.9.2) + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + adiwg-mdcodes (2.9.3) + json (~> 2.0) + json (2.7.2) + json-schema (2.8.1) + addressable (>= 2.4) + minitest (5.22.2) + public_suffix (5.0.4) + rake (13.1.0) + +PLATFORMS + arm64-darwin-22 + +DEPENDENCIES + adiwg-mdcodes (= 2.9.3) + adiwg-mdjson_schemas! + bundler (~> 2) + json-schema (~> 2.8.1) + minitest (~> 5) + rake + +BUNDLED WITH + 2.4.21 diff --git a/adiwg-json_schemas.gemspec b/adiwg-json_schemas.gemspec index 2b8fc90..b23423a 100644 --- a/adiwg-json_schemas.gemspec +++ b/adiwg-json_schemas.gemspec @@ -22,5 +22,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rake", ">= 0" spec.add_development_dependency "json-schema", "~> 2.8.1" spec.add_development_dependency "minitest", "~>5" - spec.add_development_dependency "adiwg-mdcodes", "~> 2.9.0" + spec.add_development_dependency "adiwg-mdcodes", "2.9.3" end diff --git a/lib/adiwg/mdjson_schemas/version.rb b/lib/adiwg/mdjson_schemas/version.rb index 47e712e..52501dc 100644 --- a/lib/adiwg/mdjson_schemas/version.rb +++ b/lib/adiwg/mdjson_schemas/version.rb @@ -1,6 +1,6 @@ module ADIWG module MdjsonSchemas # Current schema version number - VERSION = "2.9.0" + VERSION = "2.9.2" end end diff --git a/package-lock.json b/package-lock.json index 2aa74ed..7de7f62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mdjson-schemas", - "version": "2.9.0", + "version": "2.9.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mdjson-schemas", - "version": "2.9.0", + "version": "2.9.2", "license": "GPL-3.0", "devDependencies": { "ajv": "^6.5.0", @@ -131,7 +131,7 @@ "node_modules/buildify": { "version": "0.4.0", "resolved": "git+ssh://git@github.com/powmedia/buildify.git#20458a121411f759dcc5ec1b441695eb7fc2b3b7", - "integrity": "sha512-jJloEIvk9H6jzemEaAWNBFk59ccxaPlE5Epq+5GQ7+m4iZJdLzU+I+4r8FdkCpQgqa0QRB0XMo9uarVDTSke0A==", + "integrity": "sha512-wTAER1e9YGWOeb403gdEKh1a3V2T+c9b3XYGyB7kyj1cuWQl3aTrjCXr88SWf1q0BA17jNcUA5i2x307ytHTzg==", "dev": true, "dependencies": { "clean-css": "0.6.0", diff --git a/package.json b/package.json index bb7a2de..9594d81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mdjson-schemas", - "version": "2.9.0", + "version": "2.9.2", "description": "JSON schemas, examples, and templates for ADIwg metadata standards", "main": "index.js", "directories": { @@ -10,6 +10,7 @@ }, "scripts": { "test": "mocha", + "build": "npm install && npm run prepublish", "prepublish": "node scripts/prepublish.js", "release": "npm run prepublish && npm publish" }, diff --git a/schema/dataQualityReport.json b/schema/dataQualityReport.json index a764780..0d968b8 100644 --- a/schema/dataQualityReport.json +++ b/schema/dataQualityReport.json @@ -30,32 +30,29 @@ "type": { "type": "string", "description": "The type of quality report.", + "translation": { + "ISO 19115-2": [ + "MI_Metadata > DQ_DataQuality > Report > [DQ_Element type]" + ], + "FGDC CSDGM": ["no translation"], + "DCAT": ["no translation"] + }, "enum": [ - "DQ_AbsoluteExternalPositionalAccuracy", - "DQ_AccuracyOfATimeMeasurement", - "DQ_ConceptualConsistency", - "DQ_CompletenessCommission", - "DQ_CompletenessOmission", - "DQ_Confidence", - "DQ_CoverageResult", - "DQ_DomainConsistency", - "DQ_FormatConsistency", - "DQ_GriddedDataPositionalAccuracy", - "DQ_Homogeneity", - "DQ_NonQuantitativeAttributeCorrectness", - "DQ_QuantitativeAttributeAccuracy", - "DQ_NonQuantitativeAttributeAccuracy", - "DQ_RelativeInternalPositionalAccuracy", - "DQ_Representativity", - "DQ_TemporalConsistency", - "DQ_TemporalValidity", - "DQ_ThematicClassisificationCorrectness", - "DQ_TopologicalConsistency", - "DQ_UsibilityElement", - "DQ_Completeness", - "DQ_LogicalConsistency", - "DQ_PositioinalAccuracy", - "DQ_TemporalQuality" + "AbsolutePositionalAccuracy", + "RelativePositionalAccuracy", + "GriddedDataPositionalAccuracy", + "ConceptualConsistency", + "DomainConsistency", + "FormatConsistency", + "TopologicalConsistency", + "ThematicClassificationCorrectness", + "NonQuantitativeAttributeCorrectness", + "QuantitativeAttributeAccuracy", + "AccuracyOfATimeMeasurement", + "TemporalValidity", + "TemporalConsistency", + "Commission", + "Omission" ] }, "standaloneQualityReportDetails": { diff --git a/schema/evaluationMethod.json b/schema/evaluationMethod.json index de8c9d6..8654d2f 100644 --- a/schema/evaluationMethod.json +++ b/schema/evaluationMethod.json @@ -12,12 +12,11 @@ "type": "string", "description": "Type of evaluation method.", "enum": [ - "DQ_EvaluationMethod", - "DQ_DataInspection", - "DQ_AggregationDerivation", - "DQ_FullInspection", - "DQ_IndirectEvaluation", - "DQ_SampleBasedInspection" + "evaluationMethod", + "data", + "aggregationDerivation", + "fullInspection", + "sampleBasedInspection" ] }, "dateTime": { diff --git a/schema/schema.json b/schema/schema.json index 69e5623..8e29811 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -1,7 +1,7 @@ { "id": "schema.json#", "$schema": "http://json-schema.org/draft-04/schema#", - "version": "2.9.0", + "version": "2.9.2", "description": "schema for ADIwg mdJSON metadata", "example": "../examples/mdJson.json", "type": "object",