Crates.io | stac-validate |
lib.rs | stac-validate |
version | 0.3.0 |
source | src |
created_at | 2023-06-27 14:06:08.311425 |
updated_at | 2024-09-19 15:44:05.432866 |
description | Validate STAC objects with jsonschema |
homepage | https://github.com/stac-utils/stac-rs |
repository | https://github.com/stac-utils/stac-rs |
max_upload_size | |
id | 901325 |
size | 147,033 |
Validate STAC with json-schema.
To use the library in your project:
[dependencies]
stac-validate = "0.3"
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.
This crate is part of the stac-rs monorepo, see its README for contributing and license information.