Skip to content

Schema

schema

JSON Schema validation and type translation.

bi_sdk.schema.validate_data

validate_data(data, schema)

Validate data against a schema.

This validates each row one by one, and will raise an exception at the first error found.

bi_sdk.schema.validate_schema

validate_schema(data, schema)

Validate data against a schema.

This will raise an exception if the data doesn't match the schema.