Validate
stacrs.validate
builtin
Validates a STAC dictionary with json-schema.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value |
dict[str, Any]
|
The STAC value to validate |
required |
Raises:
Type | Description |
---|---|
Exception
|
On a validation error |
Examples:
stacrs.validate_href
builtin
Validates a single href with json-schema.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
href |
str
|
The href of the STAC value to validate |
required |
Raises:
Type | Description |
---|---|
Exception
|
On any input/output error, or on a validation error |
Examples: