changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "records": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "category": {
+ "type": "string"
+ },
+ "confidence": {
+ "type": "number"
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dueDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "duplicate": {
+ "type": "boolean"
+ },
+ "duplicateOf": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "filename": {
+ "type": "string"
+ },
+ "invoiceDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "invoiceNumber": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "issues": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "poNumber": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reviewReasons": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reviewStatus": {
+ "enum": [
+ "ready",
+ "review",
+ "blocked",
+ "duplicate"
+ ],
+ "type": "string"
+ },
+ "subtotal": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "tax": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "total": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "valid": {
+ "type": "boolean"
+ },
+ "vendor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "filename",
+ "category",
+ "duplicate",
+ "issues",
+ "warnings",
+ "confidence",
+ "valid",
+ "reviewStatus",
+ "reviewReasons"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "additionalProperties": false,
+ "properties": {
+ "accountingEligibleCount": {
+ "type": "integer"
+ },
+ "arithmeticCheckedCount": {
+ "type": "integer"
+ },
+ "arithmeticMismatchCount": {
+ "type": "integer"
+ },
+ "blockedCount": {
+ "type": "integer"
+ },
+ "duplicateCount": {
+ "type": "integer"
+ },
+ "invoiceCount": {
+ "type": "integer"
+ },
+ "readyCount": {
+ "type": "integer"
+ },
+ "reviewCount": {
+ "type": "integer"
+ },
+ "totalsByCurrency": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "invoiceCount",
+ "readyCount",
+ "reviewCount",
+ "blockedCount",
+ "duplicateCount",
+ "arithmeticCheckedCount",
+ "arithmeticMismatchCount",
+ "accountingEligibleCount",
+ "totalsByCurrency"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "records",
+ "summary"
+ ],
+ "type": "object"
+}