Skip to content
Merged
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
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ The format is (loosely) based on [Keep a Changelog](http://keepachangelog.com/)

## Unreleased

## [v1.9.1] - 2025-06-16

### Added

- Added display of failed schema information in the validation output ([#134](https://github.com/stac-utils/stac-check/pull/134))
- Added recommendation messages to guide users when validation fails ([#134](https://github.com/stac-utils/stac-check/pull/134))
- Added disclaimer about schema-based STAC validation being an initial indicator of validity only ([#134](https://github.com/stac-utils/stac-check/pull/134))

### Changed

- Updated validation output to show "Passed" instead of "Valid" for accuracy ([#134](https://github.com/stac-utils/stac-check/pull/134))


## [v1.9.0] - 2025-06-13

Expand Down Expand Up @@ -252,7 +264,8 @@ The format is (loosely) based on [Keep a Changelog](http://keepachangelog.com/)
- Validation from stac-validator 2.3.0
- Links and assets validation checks

[Unreleased]: https://github.com/stac-utils/stac-check/compare/v1.9.0...main
[Unreleased]: https://github.com/stac-utils/stac-check/compare/v1.9.1...main
[v1.9.1]: https://github.com/stac-utils/stac-check/compare/v1.9.0...v1.9.1
[v1.9.0]: https://github.com/stac-utils/stac-check/compare/v1.8.0...v1.9.0
[v1.8.0]: https://github.com/stac-utils/stac-check/compare/v1.7.0...v1.8.0
[v1.7.0]: https://github.com/stac-utils/stac-check/compare/v1.6.0...v1.7.0
Expand Down
112 changes: 112 additions & 0 deletions sample_files/1.1.0/collection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"id": "simple-collection",
"type": "Collection",
"stac_extensions": [
"https://stac-extensions.github.io/eo/v2.0.0/schema.json",
"https://stac-extensions.github.io/projection/v2.0.0/schema.json",
"https://stac-extensions.github.io/view/v1.0.0/schema.json"
],
"stac_version": "1.1.0",
"description": "A simple collection demonstrating core catalog fields with links to a couple of items",
"title": "Simple Example Collection",
"keywords": ["simple", "example", "collection"],
"providers": [
{
"name": "Remote Data, Inc",
"description": "Producers of awesome spatiotemporal assets",
"roles": ["producer", "processor"],
"url": "http://remotedata.io"
}
],
"extent": {
"spatial": {
"bbox": [
[
172.91173669923782, 1.3438851951615003, 172.95469614953714,
1.3690476620161975
]
]
},
"temporal": {
"interval": [["2020-12-11T22:38:32.125Z", "2020-12-14T18:02:31.437Z"]]
}
},
"license": "CC-BY-4.0",
"summaries": {
"platform": ["cool_sat1", "cool_sat2"],
"constellation": ["ion"],
"instruments": ["cool_sensor_v1", "cool_sensor_v2"],
"gsd": {
"minimum": 0.512,
"maximum": 0.66
},
"eo:cloud_cover": {
"minimum": 1.2,
"maximum": 1.2
},
"proj:cpde": ["EPSG:32659"],
"view:sun_elevation": {
"minimum": 54.9,
"maximum": 54.9
},
"view:off_nadir": {
"minimum": 3.8,
"maximum": 3.8
},
"view:sun_azimuth": {
"minimum": 135.7,
"maximum": 135.7
},
"statistics": {
"type": "object",
"properties": {
"vegetation": {
"description": "Percentage of pixels that are detected as vegetation, e.g. forests, grasslands, etc.",
"minimum": 0,
"maximum": 100
},
"water": {
"description": "Percentage of pixels that are detected as water, e.g. rivers, oceans and ponds.",
"minimum": 0,
"maximum": 100
},
"urban": {
"description": "Percentage of pixels that detected as urban, e.g. roads and buildings.",
"minimum": 0,
"maximum": 100
}
}
}
},
"links": [
{
"rel": "root",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "item",
"href": "./simple-item.json",
"type": "application/geo+json",
"title": "Simple Item"
},
{
"rel": "item",
"href": "./core-item.json",
"type": "application/geo+json",
"title": "Core Item"
},
{
"rel": "item",
"href": "./extended-item.json",
"type": "application/geo+json",
"title": "Extended Item"
},
{
"rel": "self",
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.1.0/examples/collection.json",
"type": "application/json"
}
]
}
210 changes: 210 additions & 0 deletions sample_files/1.1.0/extended-item.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
{
"stac_version": "1.1.0",
"stac_extensions": [
"https://stac-extensions.github.io/eo/v2.0.0/schema.json",
"https://stac-extensions.github.io/projection/v2.0.0/schema.json",
"https://stac-extensions.github.io/scientific/v1.0.0/schema.json",
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
"https://stac-extensions.github.io/remote-data/v1.0.0/schema.json"
],
"type": "Feature",
"id": "20201211_223832_CS2",
"bbox": [
172.91173669923782,
1.3438851951615003,
172.95469614953714,
1.3690476620161975
],
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
172.91173669923782,
1.3438851951615003
],
[
172.95469614953714,
1.3438851951615003
],
[
172.95469614953714,
1.3690476620161975
],
[
172.91173669923782,
1.3690476620161975
],
[
172.91173669923782,
1.3438851951615003
]
]
]
},
"properties": {
"title": "Extended Item",
"description": "A sample STAC Item that includes a variety of examples from the stable extensions",
"keywords": [
"extended",
"example",
"item"
],
"datetime": "2020-12-14T18:02:31.437000Z",
"created": "2020-12-15T01:48:13.725Z",
"updated": "2020-12-15T01:48:13.725Z",
"platform": "cool_sat2",
"instruments": [
"cool_sensor_v2"
],
"gsd": 0.66,
"eo:cloud_cover": 1.2,
"eo:snow_cover": 0,
"statistics": {
"vegetation": 12.57,
"water": 1.23,
"urban": 26.2
},
"proj:code": "EPSG:32659",
"proj:shape": [
5558,
9559
],
"proj:transform": [
0.5,
0,
712710,
0,
-0.5,
151406,
0,
0,
1
],
"view:sun_elevation": 54.9,
"view:off_nadir": 3.8,
"view:sun_azimuth": 135.7,
"rd:type": "scene",
"rd:anomalous_pixels": 0.14,
"rd:earth_sun_distance": 1.014156,
"rd:sat_id": "cool_sat2",
"rd:product_level": "LV3A",
"sci:doi": "10.5061/dryad.s2v81.2/27.2"
},
"collection": "simple-collection",
"links": [
{
"rel": "collection",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "root",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "parent",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "alternate",
"type": "text/html",
"href": "http://remotedata.io/catalog/20201211_223832_CS2/index.html",
"title": "HTML version of this STAC Item"
}
],
"assets": {
"analytic": {
"href": "https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2_analytic.tif",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"title": "4-Band Analytic",
"roles": [
"data"
],
"bands": [
{
"name": "band1",
"eo:common_name": "blue",
"eo:center_wavelength": 0.47,
"eo:full_width_half_max": 70
},
{
"name": "band2",
"eo:common_name": "green",
"eo:center_wavelength": 0.56,
"eo:full_width_half_max": 80
},
{
"name": "band3",
"eo:common_name": "red",
"eo:center_wavelength": 0.645,
"eo:full_width_half_max": 90
},
{
"name": "band4",
"eo:common_name": "nir",
"eo:center_wavelength": 0.8,
"eo:full_width_half_max": 152
}
]
},
"thumbnail": {
"href": "https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg",
"title": "Thumbnail",
"type": "image/png",
"roles": [
"thumbnail"
]
},
"visual": {
"href": "https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.tif",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"title": "3-Band Visual",
"roles": [
"visual"
],
"bands": [
{
"name": "band3",
"eo:common_name": "red",
"eo:center_wavelength": 0.645,
"eo:full_width_half_max": 90
},
{
"name": "band2",
"eo:common_name": "green",
"eo:center_wavelength": 0.56,
"eo:full_width_half_max": 80
},
{
"name": "band1",
"eo:common_name": "blue",
"eo:center_wavelength": 0.47,
"eo:full_width_half_max": 70
}
]
},
"udm": {
"href": "https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2_analytic_udm.tif",
"title": "Unusable Data Mask",
"type": "image/tiff; application=geotiff"
},
"json-metadata": {
"href": "http://remotedata.io/catalog/20201211_223832_CS2/extended-metadata.json",
"title": "Extended Metadata",
"type": "application/json",
"roles": [
"metadata"
]
},
"ephemeris": {
"href": "http://cool-sat.com/catalog/20201211_223832_CS2/20201211_223832_CS2.EPH",
"title": "Satellite Ephemeris Metadata"
}
}
}
Loading