validation
π€ 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.format_2025.validation
¶
PSPF build validation helpers.
All validation functions are pure and return lists of error messages.
Classes¶
Functions¶
validate_build_options
¶
Validate build options.
Checks that build options are consistent and valid.
Source code in flavor/psp/format_2025/validation.py
validate_complete
¶
Complete validation of build specification.
Runs all validation checks and returns combined errors.
Source code in flavor/psp/format_2025/validation.py
validate_key_config
¶
Validate key configuration.
Checks that key configuration is consistent and valid.
Source code in flavor/psp/format_2025/validation.py
validate_metadata
¶
Validate package metadata.
Ensures required fields are present and valid.
Source code in flavor/psp/format_2025/validation.py
validate_slots
¶
Validate slot configurations.
Checks for: - Unique indices - Valid paths - Valid codec - Valid sizes - Valid names
Source code in flavor/psp/format_2025/validation.py
validate_spec
¶
Validate a complete build specification.
Returns list of validation errors, empty if valid.