diff --git a/schemas/resources/schemas/visualization/v1.2.0/definitions.json b/schemas/resources/schemas/visualization/v1.2.0/definitions.json index 7aa7ca91a6..a3c6fa9654 100644 --- a/schemas/resources/schemas/visualization/v1.2.0/definitions.json +++ b/schemas/resources/schemas/visualization/v1.2.0/definitions.json @@ -415,7 +415,7 @@ "enum": ["CARTESIAN", "GEODETIC", "ORBIT", "NO_SPATIAL"] }, "OrbitParameterExistsIfGranuleSpatialRepresentationIsOrbit": { - "$comment": "Checks if the Granule Spatial Representation value is Oribt, then the oribt parameter must exist.", + "$comment": "Checks if the Granule Spatial Representation value is Orbit, then the orbit parameter must exist.", "if": {"properties": {"GranuleSpatialRepresentation": {"const": "ORBIT"}}}, "then": {"required": ["OrbitParameters"]} }, @@ -816,7 +816,7 @@ "TemporalResolutionType": { "oneOf": [{ "type": "object", - "title": "Contant or Varies Resolution", + "title": "Constant or Varies Resolution", "additionalProperties": false, "description": "Describes the amount of time between measurements.", "properties": { diff --git a/schemas/resources/schemas/visualization/v1.2.0/metadata.json b/schemas/resources/schemas/visualization/v1.2.0/metadata.json index 067559bfe9..1009e1c5d7 100644 --- a/schemas/resources/schemas/visualization/v1.2.0/metadata.json +++ b/schemas/resources/schemas/visualization/v1.2.0/metadata.json @@ -74,9 +74,7 @@ "ColorMap": "colormap is embedded in the tif file", "Ongoing": true, "RetentionPeriod": -1, - "Daynight": [ - "day" - ], + "Daynight": "Day", "OrbitTracks": [ "OrbitTracks_Landsat-8_Descending", "OrbitTracks_Sentinel-2A_Descending", @@ -128,7 +126,7 @@ "OutputResolution": "31.25m", "OutputFormat": "PPNG" } - }, + }, "MetadataSpecification": { "URL": "https://cdn.earthdata.nasa.gov/umm/visualization/v1.2.0", "Name": "Visualization", diff --git a/schemas/resources/schemas/visualization/v1.2.0/schema.json b/schemas/resources/schemas/visualization/v1.2.0/schema.json index 90558813c6..6692241ee8 100644 --- a/schemas/resources/schemas/visualization/v1.2.0/schema.json +++ b/schemas/resources/schemas/visualization/v1.2.0/schema.json @@ -712,7 +712,7 @@ ] }, "OrbitParameterExistsIfGranuleSpatialRepresentationIsOrbit": { - "$comment": "Checks if the Granule Spatial Representation value is Oribt, then the oribt parameter must exist.", + "$comment": "Checks if the Granule Spatial Representation value is Orbit, then the orbit parameter must exist.", "if": { "properties": { "GranuleSpatialRepresentation": { @@ -1209,7 +1209,7 @@ "oneOf": [ { "type": "object", - "title": "Contant or Varies Resolution", + "title": "Constant or Varies Resolution", "additionalProperties": false, "description": "Describes the amount of time between measurements.", "properties": { @@ -1494,7 +1494,7 @@ "required": ["StandardOrNRTExternalIdentifier", "BestAvailableExternalIdentifier", "GIBSTitle", "WorldviewTitle", "WorldviewSubtitle"] }, "ProductMetadata": { - "$comment": "Table 3.1 2 in GIBS Imagery Provider ICD, Revision B, Fields at this level are all defined in ICD Table 3.1 2, exceptd ones with their own inline comment(s), from https://wiki.earthdata.nasa.gov/download/attachments/197006592/LayerMetadata_v1.0-0.json and ones with prefix ows: and wmts:, which are from OGC OWS and WMTS xsd files and ones commented as Experimental, which are based on discussions with stakeholders. Line 10,12-23,33,38 in umm-vis_v1.1.0_fields_check_mark_required_20250909.xlsx", + "$comment": "Table 3.1 2 in GIBS Imagery Provider ICD, Revision B, Fields at this level are all defined in ICD Table 3.1 2, excepted ones with their own inline comment(s), from https://wiki.earthdata.nasa.gov/download/attachments/197006592/LayerMetadata_v1.0-0.json and ones with prefix ows: and wmts:, which are from OGC OWS and WMTS xsd files and ones commented as Experimental, which are based on discussions with stakeholders. Line 10,12-23,33,38 in umm-vis_v1.1.0_fields_check_mark_required_20250909.xlsx", "description": "Fields within the GIBS visualization product metadata model that can be directly traced to items found in the underlying dataset and/or parameter metadata or are descriptions of the visualization process/product.", "type": "object", "additionalProperties": false, @@ -1535,6 +1535,7 @@ "minItems": 1 }, "ParameterUnits": { + "$comment": "Optional. Line 11/Column G in umm-vis_v1.2.0_fields_check_mark_required_20261117.xlsx", "description": "The units for the parameter being visualized.", "type": "array", "items": { @@ -1593,7 +1594,7 @@ ] }, "TemporalCoverage": { - "description": "A time interval specifying the start , end, and duration of the visualization products that will be generated. The ISO 8601 interval notation (PnYnMnDTnHnMnS) is used to specify the duration between images. For example, a product that is generated every day within 2013 would have the following temporal coverage: 2013-01-01/2013-12-31/P1D. If a layer has discontinuous ranges, they should be provided in a comma-separated list. Visualization products that have a nonstatic end-date should provide only the start date and interval (e.g. 2013-01-01/P1D). Note that files which represent a 5-day average, but are generated daily, would have a period of P1D.", + "description": "A time interval specifying the start, end, and duration of the visualization products that will be generated. The ISO 8601 interval notation (PnYnMnDTnHnMnS) is used to specify the duration between images. For example, a product that is generated every day within 2013 would have the following temporal coverage: 2013-01-01/2013-12-31/P1D. If a layer has discontinuous ranges, they should be provided in a comma-separated list. Visualization products that have a nonstatic end-date should provide only the start date and interval (e.g. 2013-01-01/P1D). Note that files which represent a 5-day average, but are generated daily, would have a period of P1D.", "$comment": "A pattern for full matching of iso 8601 can be overkill. More discussion with stakeholders about pattern detail is needed.", "type": "string", "minLength": 3 @@ -1671,19 +1672,16 @@ "type": "boolean" }, "Daynight": { - "$comment": "Line 13 in umm-vis_v1.1.0_field_value_match_pattern_fix_20251009.txt. LayerMetadata v1.0-0", + "$comment": "Line 13 in umm-vis_v1.1.0_field_value_match_pattern_fix_20251009.txt. LayerMetadata v1.0-0. Line 33/Column F in umm-vis_v1.2.0_fields_check_mark_required_20261117.xlsx", "description": "Whether the visualization layer represents data captured during the day, night (or both) as perceived during time of data acquisition.", "title": "Day or Night", - "type": "array", - "uniqueItems": true, - "maxItems": 2, - "items": { - "type": "string", - "enum": [ - "day", - "night" - ] - } + "type": "string", + "enum": [ + "Day", + "Night", + "Both", + "N/A" + ] }, "OrbitTracks": { "$comment": "LayerMetadata v1.0-0", @@ -1754,7 +1752,7 @@ "type": "integer" } }, - "required": ["SourceDatasets", "ScienceParameters", "ParameterUnits", "Measurement", "DataResolution", "GranuleOrComposite", "DataDayBreak", "VisualizationLatency", "UpdateInterval", "TemporalCoverage", "WGS84SpatialCoverage", "NativeSpatialCoverage", "AscendingOrDescending", "Daynight", "Ongoing"] + "required": ["SourceDatasets", "ScienceParameters", "Measurement", "DataResolution", "GranuleOrComposite", "DataDayBreak", "VisualizationLatency", "UpdateInterval", "TemporalCoverage", "WGS84SpatialCoverage", "NativeSpatialCoverage", "AscendingOrDescending", "Daynight", "Ongoing"] } }, "required": ["ProductIdentification", "ProductMetadata"] @@ -1876,7 +1874,7 @@ } }, "InterpolationMethod": { - "description": "Ineterpolation method used", + "description": "Interpolation method used", "type": "string", "minLength": 1, "maxLength": 256 @@ -1912,7 +1910,7 @@ } } }, - "required": ["VariableName", "OutputCRS", "OutputFormat", "Services"] + "required": ["VariableName"] }, "MRF": { "$comment": "Table 4.1 2 in GIBS Imagery Provider ICD, Revision B, Table 3.1 1 in GIBS Imagery Provider ICD, Revision B. Line 58-66,74 in umm-vis_v1.1.0_fields_check_mark_required_20250909.xlsx", @@ -1933,11 +1931,10 @@ "SourceResolution": { "description": "An indication of whether the resolution of the source visualization file(s) will match one of GIBS' access resolutions or will be in data's the native resolution", "type": "string", - "$comment": "Value '0.25°' appears in GIBS ICD Appendix - PODAAC_v1_21.xlsx, but not in ICD document", + "$comment": "Should only be \"GIBS\" or \"Native\". Line 59/Column H in umm-vis_v1.2.0_fields_check_mark_required_20261117.xlsx", "enum": [ "GIBS", - "Native", - "0.25°" + "Native" ] }, "SourceFormat": { @@ -1965,10 +1962,18 @@ ] }, "SourceNoDataIndexOrRGB": { + "$comment": "Optional. Line 62/Column G in umm-vis_v1.2.0_fields_check_mark_required_20261117.xlsx", "description": "The palette entry index that is designated as the \"No Data\" value in the associated colormap for raster visualization products with a Source Color Model value of 'Indexed RGBA', 'Hybrid RGBA', or 'Indexed Grayscale' OR The RGB value to be used as \"No Data\" value for raster visualization products with a Source Color Model value of 'Full-Color RGB' or 'Full-Color RGBA'.", - "type": "string", - "minLength": 1, - "maxLength": 64 + "oneOf": [ + { + "type":"integer" + }, + { + "type":"string", + "minLength": 1, + "maxLength": 64 + } + ] }, "SourceCoverage": { "description": "The geographic coverage type of the source visualization file(s).", @@ -1983,7 +1988,7 @@ "OutputProjection": { "description": "The EPSG code identifying the projection of the output visualization product generated and served by GIBS.", "type": "string", - "$comment": "Table 4.1.7-1 in in GIBS Imagery Provider ICD, Revision B", + "$comment": "Table 4.1.7-1 in GIBS Imagery Provider ICD, Revision B", "enum": [ "EPSG:4326", "EPSG:3413", @@ -2016,7 +2021,7 @@ ] } }, - "required": ["SourceProjection", "SourceResolution", "SourceFormat", "SourceColorModel", "SourceNoDataIndexOrRGB", "SourceCoverage", "OutputProjection", "OutputResolution", "OutputFormat"] + "required": ["SourceProjection", "SourceResolution", "SourceFormat", "SourceColorModel", "SourceCoverage", "OutputProjection", "OutputResolution", "OutputFormat"] } }, "anyOf": [ diff --git a/schemas/resources/schemas/visualization/v1.2.0/tiles/schema.json b/schemas/resources/schemas/visualization/v1.2.0/tiles/schema.json index 94cf57606f..437e727085 100644 --- a/schemas/resources/schemas/visualization/v1.2.0/tiles/schema.json +++ b/schemas/resources/schemas/visualization/v1.2.0/tiles/schema.json @@ -27,7 +27,7 @@ "$ref": "definitions.json#/definitions/IdentifierType" }, "BestAvailableExternalIdentifier": { - "description": "The visualization product's external identifier used for acces sing the \"best available\" visualizations through GIBS APIs.", + "description": "The visualization product's external identifier used for accessing the \"best available\" visualizations through GIBS APIs.", "$ref": "definitions.json#/definitions/IdentifierType" }, "GIBSTitle": { @@ -46,7 +46,7 @@ }, "ProductMetadata": { - "$comment": "Table 3.1 2 in GIBS Imagery Provider ICD, Revision B, Fields at this level are all defined in ICD Table 3.1 2, exceptd ones with their own inline comment(s), from https://wiki.earthdata.nasa.gov/download/attachments/197006592/LayerMetadata_v1.0-0.json and ones with prefix ows: and wmts:, which are from OGC OWS and WMTS xsd files and ones commented as Experimental, which are based on discussions with stakeholders.", + "$comment": "Table 3.1 2 in GIBS Imagery Provider ICD, Revision B, Fields at this level are all defined in ICD Table 3.1 2, excepted ones with their own inline comment(s), from https://wiki.earthdata.nasa.gov/download/attachments/197006592/LayerMetadata_v1.0-0.json and ones with prefix ows: and wmts:, which are from OGC OWS and WMTS xsd files and ones commented as Experimental, which are based on discussions with stakeholders.", "description": "Fields within the GIBS visualization product metadata model that can be directly traced to items found in the underlying dataset and/or parameter metadata or are descriptions of the visualization process/product.", "type": "object", "additionalProperties": false, @@ -122,7 +122,7 @@ "DataDayBreak": { "description": "The time of day (UTC) at which the \"data day\" changes for a data granule being visualized.", "type": "string", - "pattern": "^[0-2][0-3]:[0-5][0-9]:[0-5][0-9]Z$" + "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]Z$" }, "VisualizationLatency": { "description": "The approximate latency between the end of data acquisition and visualization file availability for GIBS to ingest. This value may be minutes, hours, or days, depending on the appropriate units. A value of 'N/A' may be provided if not applicable (e.g. static historical products)", @@ -143,7 +143,7 @@ ] }, "TemporalCoverage": { - "description": "A time interval specifying the start , end, and duration of the visualization products that will be generated. The ISO 8601 interval notation (PnYnMnDTnHnMnS) is used to specify the durat ion between images. For example, a product that is generated every day within 2013 would have the following temporal coverage: 2013-01-01/2013-12-31/P1D. If a layer has discontinuous ranges, they should be provided in a comma-separated list. Visualization products that have a nonstatic end-date should provide only the start date and interval (e.g. 2013-01-01/P1D). Note that files which represent a 5-day average, but are generated daily, would have a period of P1D.", + "description": "A time interval specifying the start, end, and duration of the visualization products that will be generated. The ISO 8601 interval notation (PnYnMnDTnHnMnS) is used to specify the duration between images. For example, a product that is generated every day within 2013 would have the following temporal coverage: 2013-01-01/2013-12-31/P1D. If a layer has discontinuous ranges, they should be provided in a comma-separated list. Visualization products that have a nonstatic end-date should provide only the start date and interval (e.g. 2013-01-01/P1D). Note that files which represent a 5-day average, but are generated daily, would have a period of P1D.", "$comment": "A pattern for full matching of iso 8601 can be overkill. More discussion with stakeholders about pattern detail is needed.", "type": "string", "minLength": 3 @@ -208,7 +208,7 @@ "description": "The visualization layer’s measurement category", "type": "string", "minLength": 1, - "maxlenght": 256 + "maxLength": 256 }, "LayerPeriod": { "$comment": "LayerMetadata v1.0-0", @@ -388,7 +388,7 @@ }, "minItems": 1 }, - "ows:DatasetDescriptionSummary ": { + "ows:DatasetDescriptionSummary": { "$comment": "http://schemas.opengis.net/ows/1.1.0/owsContents.xsd", "description": "Metadata describing zero or more unordered subsidiary datasets available from this server.", "type": "array", @@ -485,7 +485,7 @@ "enum": ["Full-Color RGB", "Full-Color RGBA", "Indexed RGBA", "Indexed Grayscale", "Hybrid RGBA", "N/A"] }, "SourceNoDataIndexOrRGB": { - "description": "The palette entry index that is designated as the \"No Data\" value in the associated colormap for raster visualization produc ts with a Source Color Model value of 'Indexed RGBA', 'Hybrid RGBA', or 'Indexed Grayscale’ OR The RGB value to be used as \"No Data\" value for raster visualization products with a Source Color Model value of 'Full-Color RGB' or 'Full-Color RGBA'.", + "description": "The palette entry index that is designated as the \"No Data\" value in the associated colormap for raster visualization products with a Source Color Model value of 'Indexed RGBA', 'Hybrid RGBA', or 'Indexed Grayscale’ OR The RGB value to be used as \"No Data\" value for raster visualization products with a Source Color Model value of 'Full-Color RGB' or 'Full-Color RGBA'.", "type": ["integer", "string"] }, "SourceCoverage": { @@ -497,7 +497,7 @@ "OutputProjection": { "description": "The EPSG code identifying the projection of the output visualization product generated and served by GIBS.", "type": "string", - "$comment": "Table 4.1.7-1 in in GIBS Imagery Provider ICD, Revision B", + "$comment": "Table 4.1.7-1 in GIBS Imagery Provider ICD, Revision B", "enum": ["EPSG:4326", "EPSG:3413", "EPSG:3031"] }, "OutputResolution": { @@ -536,7 +536,7 @@ }, "Regridding": { "$comment": "Experimental. From discussion with Jeff Hall, author of classic IDL-based tools for browse image generation.", - "description": "How regridding is done. Ddescribe what source grid and output grid are", + "description": "How regridding is done. Describe what source grid and output grid are", "type": "object", "properties": { "Source": { @@ -577,7 +577,7 @@ }, "QualityFlag": { "$comment": "Experimental. From discussion with Jeff Hall, author of classic IDL-based tools for browse image generation.", - "description": "Descibe filtering, mask, etc.", + "description": "Describe filtering, mask, etc.", "type": "string" }, "ColorMapAlt": {