A guide to JSON Schema
string
: For text values (names, descriptions, addresses)number
: For numerical values (amounts, counts, measurements)boolean
: For yes/no or true/false valuesenum
: For values from a predefined list of optionsobject
: For grouping related fields togetherarray
: For lists of itemsreturn_as_list
is a feature that allows you to return the data as a list of objects or a list of strings/numbers. This is useful for extracting data from tables or lists.
extract_per_page
is a feature that allows you to extract the defined schema per page. This is useful for extracting data from multi-page documents that have the same structure on each page.