changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "issuer": {
- "maxLength": 2048,
- "type": "string"
- },
- "provenance": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "qualificationRequired": {
- "const": true,
- "type": "boolean"
- },
- "reason": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "requestDigest": {
- "pattern": "^sha-256:[A-Za-z0-9_-]{43}$",
- "type": "string"
- },
- "requiredFields": {
- "items": {
- "pattern": "^[a-z][a-z0-9_]{0,63}$",
- "type": "string"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "signedAt": {
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "sources": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "type": {
- "const": "page",
- "type": "string"
- },
- "url": {
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "type",
- "url"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "type": "array"
- },
- "subject": {
- "maxLength": 253,
- "pattern": "^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z][a-z0-9-]{0,61}[a-z0-9]$",
- "type": "string"
- },
- "suggestedActions": {
- "items": {
- "pattern": "^[a-z][a-z0-9_]{1,63}$",
- "type": "string"
- },
- "maxItems": 10,
- "type": "array"
- },
- "verification": {
- "additionalProperties": false,
- "properties": {
- "algorithm": {
- "const": "Ed25519",
- "type": "string"
- },
- "keyId": {
- "pattern": "^[A-Za-z0-9._-]{1,128}$",
- "type": "string"
- },
- "signature": {
- "pattern": "^[A-Za-z0-9+/_-]{86}(?:==)?$",
- "type": "string"
- },
- "timestamp": {
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- }
- },
- "required": [
- "algorithm",
- "keyId",
- "signature",
- "timestamp"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "confidence",
- "sources",
- "suggestedActions",
- "provenance",
- "issuer",
- "subject",
- "signedAt",
- "requestDigest",
- "qualificationRequired",
- "reason",
- "requiredFields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "maxLength": 8000,
- "minLength": 1,
- "type": "string"
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "issuer": {
- "maxLength": 2048,
- "type": "string"
- },
- "leadStatus": {
- "enum": [
- "accepted",
- "limited"
- ],
- "type": "string"
- },
- "privacyPolicyUrl": {
- "maxLength": 2048,
- "type": "string"
- },
- "provenance": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "requestDigest": {
- "pattern": "^sha-256:[A-Za-z0-9_-]{43}$",
- "type": "string"
- },
- "signedAt": {
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "sources": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "type": {
- "const": "page",
- "type": "string"
- },
- "url": {
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "type",
- "url"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "type": "array"
- },
- "subject": {
- "maxLength": 253,
- "pattern": "^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z][a-z0-9-]{0,61}[a-z0-9]$",
- "type": "string"
- },
- "suggestedActions": {
- "items": {
- "pattern": "^[a-z][a-z0-9_]{1,63}$",
- "type": "string"
- },
- "maxItems": 10,
- "type": "array"
- },
- "verification": {
- "additionalProperties": false,
- "properties": {
- "algorithm": {
- "const": "Ed25519",
- "type": "string"
- },
- "keyId": {
- "pattern": "^[A-Za-z0-9._-]{1,128}$",
- "type": "string"
- },
- "signature": {
- "pattern": "^[A-Za-z0-9+/_-]{86}(?:==)?$",
- "type": "string"
- },
- "timestamp": {
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- }
- },
- "required": [
- "algorithm",
- "keyId",
- "signature",
- "timestamp"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "confidence",
- "sources",
- "suggestedActions",
- "provenance",
- "issuer",
- "subject",
- "signedAt",
- "requestDigest",
- "leadStatus",
- "privacyPolicyUrl"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "maxLength": 8000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "issuer": {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "provenance": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "qualificationRequired": {
+ "const": true,
+ "type": "boolean"
+ },
+ "reason": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "requestDigest": {
+ "pattern": "^sha-256:[A-Za-z0-9_-]{43}$",
+ "type": "string"
+ },
+ "requiredFields": {
+ "items": {
+ "pattern": "^[a-z][a-z0-9_]{0,63}$",
+ "type": "string"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "signedAt": {
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "const": "page",
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "subject": {
+ "maxLength": 253,
+ "pattern": "^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z][a-z0-9-]{0,61}[a-z0-9]$",
+ "type": "string"
+ },
+ "suggestedActions": {
+ "items": {
+ "pattern": "^[a-z][a-z0-9_]{1,63}$",
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "verification": {
+ "additionalProperties": false,
+ "properties": {
+ "algorithm": {
+ "const": "Ed25519",
+ "type": "string"
+ },
+ "keyId": {
+ "pattern": "^[A-Za-z0-9._-]{1,128}$",
+ "type": "string"
+ },
+ "signature": {
+ "pattern": "^[A-Za-z0-9+/_-]{86}(?:==)?$",
+ "type": "string"
+ },
+ "timestamp": {
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "algorithm",
+ "keyId",
+ "signature",
+ "timestamp"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "answer",
+ "confidence",
+ "sources",
+ "suggestedActions",
+ "provenance",
+ "issuer",
+ "subject",
+ "signedAt",
+ "requestDigest",
+ "qualificationRequired",
+ "reason",
+ "requiredFields"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "maxLength": 8000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "issuer": {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "leadStatus": {
+ "enum": [
+ "accepted",
+ "limited"
+ ],
+ "type": "string"
+ },
+ "privacyPolicyUrl": {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ "provenance": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reference": {
+ "pattern": "^[BQRT]-[2-9A-HJ-NP-Z]{4}-[2-9A-HJ-NP-Z]{2}$",
+ "type": "string"
+ },
+ "replyTime": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "same_business_day",
+ "within_24_hours",
+ "within_1_business_day",
+ "within_2_business_days",
+ "within_1_week"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "enum": [
+ "on the same business day",
+ "within 24 hours",
+ "within one business day",
+ "within two business days",
+ "within one week"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "text"
+ ],
+ "type": "object"
+ },
+ "requestDigest": {
+ "pattern": "^sha-256:[A-Za-z0-9_-]{43}$",
+ "type": "string"
+ },
+ "signedAt": {
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "const": "page",
+ "type": "string"
+ },
+ "url": {
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "subject": {
+ "maxLength": 253,
+ "pattern": "^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z][a-z0-9-]{0,61}[a-z0-9]$",
+ "type": "string"
+ },
+ "suggestedActions": {
+ "items": {
+ "pattern": "^[a-z][a-z0-9_]{1,63}$",
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "verification": {
+ "additionalProperties": false,
+ "properties": {
+ "algorithm": {
+ "const": "Ed25519",
+ "type": "string"
+ },
+ "keyId": {
+ "pattern": "^[A-Za-z0-9._-]{1,128}$",
+ "type": "string"
+ },
+ "signature": {
+ "pattern": "^[A-Za-z0-9+/_-]{86}(?:==)?$",
+ "type": "string"
+ },
+ "timestamp": {
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "algorithm",
+ "keyId",
+ "signature",
+ "timestamp"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "answer",
+ "confidence",
+ "sources",
+ "suggestedActions",
+ "provenance",
+ "issuer",
+ "subject",
+ "signedAt",
+ "requestDigest",
+ "leadStatus",
+ "privacyPolicyUrl"
+ ],
+ "type": "object"
+ }
+]