7 releases

0.3.0 Sep 19, 2024
0.2.2 Sep 6, 2024
0.2.0 Aug 12, 2024
0.1.2 Apr 29, 2024
0.1.0 Jun 27, 2023

#903 in Science

MIT/Apache

1.5MB
5K SLoC

stac-validate

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

Validate STAC with json-schema.

Usage

To use the library in your project:

[dependencies]
stac-validate = "0.3"

Examples

use stac_validate::Validate;
let item: stac::Item = stac::read("examples/simple-item.json").unwrap();
tokio_test::block_on(async {
    item.validate().await.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

~16–30MB
~451K SLoC