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

#893 in Science

Download history 12/week @ 2024-07-23 12/week @ 2024-07-30 77/week @ 2024-08-06 55/week @ 2024-08-13 1/week @ 2024-08-20 267/week @ 2024-09-03 44/week @ 2024-09-10 137/week @ 2024-09-17 18/week @ 2024-09-24 36/week @ 2024-10-01 51/week @ 2024-10-08

55 downloads per month
Used in stac-server

MIT/Apache

1.5MB
6.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

~17–30MB
~447K SLoC