Skip to main content

Module schema_validation

Module schema_validation 

Source
Expand description

Semantic validation for the JSON Schema subset used by guided decoding.

Generation constraints and final validation have different jobs: the regex translator limits token choices, while this module validates parsed JSON without depending on property order or whitespace serialization.

Enums§

JsonSchemaValidationError

Functions§

validate_json_schema_value