validators
π€ AI-Generated Content
This documentation was generated with AI assistance and is still being audited. Some, or potentially a lot, of this information may be inaccurate. Learn more.
flavor.psp.metadata.validators
¶
Metadata validation functions for PSP packages.
This module contains validation logic for package metadata structures.
Functions¶
validate_metadata
¶
Validate a complete metadata structure.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
metadata
|
dict[str, Any]
|
The metadata dictionary to validate |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True if valid |
Raises:
| Type | Description |
|---|---|
ValueError
|
If metadata is invalid |