stac-validate

Crates.iostac-validate
lib.rsstac-validate
version0.3.0
sourcesrc
created_at2023-06-27 14:06:08.311425
updated_at2024-09-19 15:44:05.432866
descriptionValidate STAC objects with jsonschema
homepagehttps://github.com/stac-utils/stac-rs
repositoryhttps://github.com/stac-utils/stac-rs
max_upload_size
id901325
size147,033
Pete Gadomski (gadomski)

documentation

README

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.

Commit count: 793

cargo fmt