changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "cited": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "citations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact": {
+ "type": "string"
+ },
+ "char_end": {
+ "type": "number"
+ },
+ "char_start": {
+ "type": "number"
+ },
+ "chunk_id": {
+ "type": "string"
+ },
+ "confidence": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "page": {
+ "type": "number"
+ },
+ "paragraphs": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "quote": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "quote",
+ "paragraphs",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "confidence": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "value": {}
+ },
+ "required": [
+ "value",
+ "confidence",
+ "citations"
+ ],
+ "type": "object"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "invoice": {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "line_items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "total": {
+ "type": "number"
+ },
+ "unit_price": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "description",
+ "quantity",
+ "unit_price",
+ "total"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "merchant": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "subtotal": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tax": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "total": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "merchant",
+ "date",
+ "line_items",
+ "subtotal",
+ "tax",
+ "total"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "invoice",
+ "cited"
+ ],
+ "type": "object"
+}