Overview
We use JSON Schema to define the structure of extracted data.Rules
- Root must be an
objecttype - Allowed types:
string,number,integer,boolean,object,array - Primitive fields must be nullable:
"type": ["string", "null"] - Maximum nesting level: 3
- Array items: objects or primitives (
string,number,integer,boolean) - Enums: strings only, must include
null - Use
descriptionfields to provide context
Unsupported Features
- Schema composition (
anyOf,oneOf,allOf) - Regular expressions
- Conditional validation
- Constant values