#geospatial #stac #raster #metadata #geo

stac-validate

Validate STAC objects with jsonschema

3 releases

new 0.1.2 Apr 29, 2024
0.1.1 Oct 9, 2023
0.1.0 Jun 27, 2023

#961 in Science

Download history 8/week @ 2024-02-17 24/week @ 2024-02-24 13/week @ 2024-03-02 19/week @ 2024-03-09 11/week @ 2024-03-16 17/week @ 2024-03-23 40/week @ 2024-03-30 19/week @ 2024-04-06 12/week @ 2024-04-13 5/week @ 2024-04-20

78 downloads per month
Used in 2 crates

MIT/Apache

1.5MB
3K SLoC

stac-validate

GitHub Workflow Status docs.rs Crates.io Crates.io Contributor Covenant

Validate STAC with jsonschema.

Usage

To use the library in your project:

[dependencies]
stac-validate = "0.1"

Examples

use stac_validate::Validate;
let item: stac::Item = stac::read("data/simple-item.json").unwrap();
item.validate().unwrap();

Please see the documentation for more usage examples.

Other info

This crate is part of the stac-rs monorepo, see its README for contributing and license information.

Dependencies

~14–30MB
~457K SLoC