Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}
},
Expand Down Expand Up @@ -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": {
Expand Down
6 changes: 2 additions & 4 deletions schemas/resources/schemas/visualization/v1.2.0/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@
"ColorMap": "colormap is embedded in the tif file",
"Ongoing": true,
"RetentionPeriod": -1,
"Daynight": [
"day"
],
"Daynight": "Day",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the draft version of metadata.json to use string instead of array. And I think search.md also has the old type.

"OrbitTracks": [
"OrbitTracks_Landsat-8_Descending",
"OrbitTracks_Sentinel-2A_Descending",
Expand Down Expand Up @@ -128,7 +126,7 @@
"OutputResolution": "31.25m",
"OutputFormat": "PPNG"
}
},
},
"MetadataSpecification": {
"URL": "https://cdn.earthdata.nasa.gov/umm/visualization/v1.2.0",
"Name": "Visualization",
Expand Down
57 changes: 31 additions & 26 deletions schemas/resources/schemas/visualization/v1.2.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

except

"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,
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the CHANGELOG.md

}
},
"required": ["ProductIdentification", "ProductMetadata"]
Expand Down Expand Up @@ -1876,7 +1874,7 @@
}
},
"InterpolationMethod": {
"description": "Ineterpolation method used",
"description": "Interpolation method used",
"type": "string",
"minLength": 1,
"maxLength": 256
Expand Down Expand Up @@ -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",
Expand All @@ -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": {
Expand Down Expand Up @@ -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).",
Expand All @@ -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",
Expand Down Expand Up @@ -2016,7 +2021,7 @@
]
}
},
"required": ["SourceProjection", "SourceResolution", "SourceFormat", "SourceColorModel", "SourceNoDataIndexOrRGB", "SourceCoverage", "OutputProjection", "OutputResolution", "OutputFormat"]
"required": ["SourceProjection", "SourceResolution", "SourceFormat", "SourceColorModel", "SourceCoverage", "OutputProjection", "OutputResolution", "OutputFormat"]
}
},
"anyOf": [
Expand Down
20 changes: 10 additions & 10 deletions schemas/resources/schemas/visualization/v1.2.0/tiles/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which definitions does this resolve to? is it looking for tiles/definitions.json or ../definitions.json?

},
"GIBSTitle": {
Expand All @@ -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,
Expand Down Expand Up @@ -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)",
Expand All @@ -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
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand All @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
Loading