Skip to content

Commit 8f534a1

Browse files
committed
deploy: 23869b4
1 parent e696294 commit 8f534a1

14 files changed

+285
-50
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"rangeElementDescription":
3+
[
4+
{
5+
"name": "example name",
6+
"definition": "example definition",
7+
"rangeElement": [ "elem1", "elem2" ]
8+
}
9+
]
10+
}

schemas/schema/attribute.json

+3
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@
106106
"translation": {
107107
"ISO 19115-1": ["mrc:MD_CoverageDescription > mrc:attributeGroup > mrc:attribute > mrc:MD_SampleDimension"],
108108
"FGDC CSDGM": ["no translation"]
109+
},
110+
"items": {
111+
"$ref": "./rangeElementDescription.json#"
109112
}
110113
},
111114
"boundMin": {

schemas/schema/conformanceResult.json

+12-6
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,32 @@
22
"id": "conformanceResult.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
5+
"required": ["specification", "pass"],
56
"example": "../examples/conformanceResult.json",
6-
"description": "Information about the outcome of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level",
7+
"description": "Information about the outcome of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.",
78
"translation": {
89
"ISO 19115-2": ["MI_Metadata > DQ_DataQuality > Report > conformanceResult"]
910
},
1011
"properties": {
1112
"dateTime": {
12-
"type": "string"
13+
"type": "string",
14+
"description": "Date when the result was generated."
1315
},
1416
"scope": {
15-
"$ref": "./scope.json#"
17+
"$ref": "./scope.json#",
18+
"description": "Scope of the result."
1619
},
1720
"specification": {
18-
"$ref": "./citation.json#"
21+
"$ref": "./citation.json#",
22+
"description": "Citation of data product specification or user requirement against which data are being evaluated."
1923
},
2024
"explanation": {
21-
"type": "string"
25+
"type": "string",
26+
"description": "Explanation of the meaning of conformance for this result."
2227
},
2328
"pass": {
24-
"type": "boolean"
29+
"type": "boolean",
30+
"description": "Indication of the conformance result where 0 = fail and 1 = pass. Default: false."
2531
}
2632
}
2733
}

schemas/schema/coverageResult.json

+27-12
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,49 @@
22
"id": "coverageResult.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
5-
"description": "",
5+
"required": ["spatialRepresentationType", "spatialRepresentation"],
6+
"description": "Result of data quality measure organizing the measured values as a coverage.",
67
"translation": {
78
"ISO 19115-2": ["MI_Metadata > DQ_DataQuality > Report > coverageResult"]
89
},
10+
"anyOf": [
11+
{
12+
"title": "resourceFormat and resultFile required",
13+
"required": ["resourceFormat", "resultFile"]
14+
},
15+
{
16+
"title": "resultContentDescription required",
17+
"required": ["resultContentDescription"]
18+
}
19+
],
920
"properties": {
1021
"dateTime": {
11-
"type": "string"
22+
"type": "string",
23+
"description": "Date when the result was generated."
1224
},
1325
"scope": {
14-
"$ref": "./scope.json#"
26+
"$ref": "./scope.json#",
27+
"description": "Scope of the result."
1528
},
1629
"spatialRepresentationType": {
17-
"type": "string"
30+
"type": "string",
31+
"description": "Method used to spatially represent the coverage result."
1832
},
1933
"spatialRepresentation": {
20-
"$ref": "./spatialRepresentation.json#"
34+
"$ref": "./spatialRepresentation.json#",
35+
"description": "Provides the digital representation of data quality measures composing the coverage result."
2136
},
22-
"resultContent": {
23-
"type": "array",
24-
"items": {
25-
"type": "string"
26-
}
37+
"resultContentDescription": {
38+
"$ref": "./coverageDescription.json#",
39+
"description": "Provides the description of the content of the result coverage when the quality coverage is included with the resource being described. i.e. semantic definition of the data quality measures."
2740
},
2841
"resourceFormat": {
29-
"type": "string"
42+
"$ref": "./format.json#",
43+
"description": "Provides information about the format of the result coverage data."
3044
},
3145
"resultFile": {
32-
"type": "string"
46+
"$ref": "./qualityResultFile.json#",
47+
"description": "Provides information about the data file containing the result coverage data."
3348
}
3449
}
3550
}

schemas/schema/dataQuality.json

+9-4
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,34 @@
22
"id": "dataQuality.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
5+
"required": ["scope", "report"],
56
"example": "../examples/dataQuality.json",
6-
"description": "Details about data quality.",
7+
"description": "Quality information for the data specified by a data quality scope.",
78
"translation": {
89
"ISO 19115-2": ["MI_Metadata > DQ_DataQuality"]
910
},
1011
"additionalProperties": true,
1112
"properties": {
1213
"scope": {
13-
"description": "scope of data quality report",
14+
"description": "The specific data to which the data quality information applies.",
1415
"translation": {
1516
"ISO 19115-2": ["MI_Metadata > DQ_DataQuality > scope"]
1617
},
1718
"$ref": "./scope.json#"
1819
},
1920
"standaloneQualityReport": {
20-
"description": "data quality report in plain written form",
21+
"description": "Reference to an external standalone quality report.",
2122
"translation": {
22-
"ISO 19115-2": ["MI_Metadata > DQ_DataQuality > standaloneQualityReport"]
23+
"ISO 19115-2": [
24+
"MI_Metadata > DQ_DataQuality > standaloneQualityReport"
25+
]
2326
},
2427
"$ref": "./standaloneQualityReport.json#"
2528
},
2629
"report": {
2730
"type": "array",
31+
"description": "Aspect of quantitative quality information.",
32+
"minItems": 1,
2833
"items": {
2934
"$ref": "./dataQualityReport.json#"
3035
}

schemas/schema/dataQualityReport.json

+68-1
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,108 @@
22
"id": "dataQualityReport.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
5+
"required": ["type"],
56
"example": "../examples/dataQualityReport.json",
6-
"description": "Details about data quality.",
7+
"description": "Aspect of quantitative quality information.",
78
"translation": {
89
"ISO 19115-2": ["MI_Metadata > DQ_DataQuality > standaloneQualityReport"]
910
},
11+
"anyOf": [
12+
{
13+
"title": "quantitativeResult is required",
14+
"required": ["quantitativeResult"]
15+
},
16+
{
17+
"title": "descriptiveResult is required",
18+
"required": ["descriptiveResult"]
19+
},
20+
{
21+
"title": "conformanceResult is required",
22+
"required": ["conformanceResult"]
23+
},
24+
{
25+
"title": "coverageResult is required",
26+
"required": ["coverageResult"]
27+
}
28+
],
1029
"properties": {
30+
"type": {
31+
"type": "string",
32+
"description": "The type of quality report.",
33+
"enum": [
34+
"DQ_AbsoluteExternalPositionalAccuracy",
35+
"DQ_AccuracyOfATimeMeasurement",
36+
"DQ_ConceptualConsistency",
37+
"DQ_CompletenessCommission",
38+
"DQ_CompletenessOmission",
39+
"DQ_Confidence",
40+
"DQ_CoverageResult",
41+
"DQ_DomainConsistency",
42+
"DQ_FormatConsistency",
43+
"DQ_GriddedDataPositionalAccuracy",
44+
"DQ_Homogeneity",
45+
"DQ_NonQuantitativeAttributeCorrectness",
46+
"DQ_QuantitativeAttributeAccuracy",
47+
"DQ_NonQuantitativeAttributeAccuracy",
48+
"DQ_RelativeInternalPositionalAccuracy",
49+
"DQ_Representativity",
50+
"DQ_TemporalConsistency",
51+
"DQ_TemporalValidity",
52+
"DQ_ThematicClassisificationCorrectness",
53+
"DQ_TopologicalConsistency",
54+
"DQ_UsibilityElement",
55+
"DQ_Completeness",
56+
"DQ_LogicalConsistency",
57+
"DQ_PositioinalAccuracy",
58+
"DQ_TemporalQuality"
59+
]
60+
},
61+
"standaloneQualityReportDetails": {
62+
"type": "string",
63+
"description": "Clause in the standaloneQualityReport where this data quality element or any related data quality element (original results in case of derivation or aggregation) is described."
64+
},
1165
"qualityMeasure": {
66+
"description": "Reference to measure used.",
1267
"$ref": "./qualityMeasure.json#"
1368
},
1469
"evaluationMethod": {
70+
"description": "Evaluation information.",
1571
"$ref": "./evaluationMethod.json#"
1672
},
1773
"quantitativeResult": {
1874
"type": "array",
75+
"description": "The values or information about the value(s) (or set of values) obtained from applying a data quality measure.",
1976
"items": {
2077
"$ref": "./quantitativeResult.json#"
2178
}
2279
},
2380
"descriptiveResult": {
2481
"type": "array",
82+
"description": "Data quality descriptive result.",
2583
"items": {
2684
"$ref": "./descriptiveResult.json#"
2785
}
2886
},
2987
"conformanceResult": {
3088
"type": "array",
89+
"description": "Information about the outcome of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.",
3190
"items": {
3291
"$ref": "./conformanceResult.json#"
3392
}
3493
},
3594
"coverageResult": {
3695
"type": "array",
96+
"description": "Result of a data quality measure organizing the measured values as a coverage.",
3797
"items": {
3898
"$ref": "./coverageResult.json#"
3999
}
100+
},
101+
"derivedElementReport": {
102+
"type": "array",
103+
"description": "In case of aggregation or derivation, indicates the original element.",
104+
"items": {
105+
"$ref": "./dataQualityReport.json#"
106+
}
40107
}
41108
}
42109
}

schemas/schema/descriptiveResult.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,24 @@
22
"id": "descriptiveResult.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
5+
"required": ["statement"],
56
"example": "../examples/descriptiveResult.json",
6-
"description": "",
7+
"description": "Data quality descriptive result.",
78
"translation": {
89
"ISO 19115-2": ["MI_Metadata > DQ_DataQuality > Report > descriptiveResult"]
910
},
1011
"properties": {
1112
"dateTime": {
12-
"type": "string"
13+
"type": "string",
14+
"description": "Date when the result was generated."
1315
},
1416
"scope": {
15-
"$ref": "./scope.json#"
17+
"$ref": "./scope.json#",
18+
"description": "Scope of the result."
1619
},
1720
"statement": {
18-
"type": "string"
21+
"type": "string",
22+
"description": "Textual expression of the descriptive result."
1923
}
2024
}
2125
}

schemas/schema/evaluationMethod.json

+30-9
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,64 @@
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
55
"example": "../examples/evaluationMethod.json",
6-
"description": "",
6+
"description": "Description of the evaluation method and procedure applied.",
77
"translation": {
88
"ISO 19115-2": ["MI_Metadata > DQ_DataQuality > Report > evaluationMethod"]
99
},
1010
"properties": {
1111
"type": {
12-
"type": "string"
12+
"type": "string",
13+
"description": "Type of evaluation method.",
14+
"enum": [
15+
"DQ_EvaluationMethod",
16+
"DQ_DataInspection",
17+
"DQ_AggregationDerivation",
18+
"DQ_FullInspection",
19+
"DQ_IndirectEvaluation",
20+
"DQ_SampleBasedInspection"
21+
]
1322
},
1423
"dateTime": {
15-
"type": "string"
24+
"type": "array",
25+
"description": "Date or range of dates on which a data quality measure was applied.",
26+
"items": {
27+
"type": "string"
28+
}
1629
},
1730
"methodDescription": {
18-
"type": "string"
31+
"type": "string",
32+
"description": "Description of the evaluation method."
1933
},
2034
"evaluationProcedure": {
35+
"description": "Reference to the procedure information.",
2136
"$ref": "./citation.json#"
2237
},
2338
"referenceDocument": {
2439
"type": "array",
40+
"description": "Information on documents which are referenced in developing and applying a data quality evaluation method.",
2541
"items": {
2642
"$ref": "./citation.json#"
2743
}
2844
},
2945
"evaluationMethodType": {
30-
"type": "string"
46+
"type": "string",
47+
"description": "Type of method used to evaluate quality of the data."
3148
},
3249
"deductiveSource": {
33-
"type": "string"
50+
"type": "string",
51+
"description": "Information on which data are used as sources in deductive evaluation method."
3452
},
3553
"samplingScheme": {
36-
"type": "string"
54+
"type": "string",
55+
"description": "Information of the type of sampling scheme and description of the sampling procedure."
3756
},
3857
"lotDescription": {
39-
"type": "string"
58+
"type": "string",
59+
"description": "Information of how lots are defined."
4060
},
4161
"samplingRatio": {
42-
"type": "string"
62+
"type": "string",
63+
"description": "Information on how many samples on average are extracted for inspection from each lot of population."
4364
}
4465
}
4566
}

0 commit comments

Comments
 (0)