changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "boundary": {
+ "additionalProperties": false,
+ "properties": {
+ "claim": {
+ "type": "string"
+ },
+ "credentialsUsed": {
+ "const": false,
+ "type": "boolean"
+ },
+ "openApiDocumentRead": {
+ "type": "boolean"
+ },
+ "paymentSent": {
+ "const": false,
+ "type": "boolean"
+ },
+ "paymentSigned": {
+ "const": false,
+ "type": "boolean"
+ },
+ "redirectsFollowed": {
+ "const": false,
+ "type": "boolean"
+ },
+ "targetResponseBodyRead": {
+ "const": false,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "credentialsUsed",
+ "paymentSigned",
+ "paymentSent",
+ "targetResponseBodyRead",
+ "openApiDocumentRead",
+ "redirectsFollowed",
+ "claim"
+ ],
+ "type": "object"
+ },
+ "catalogCoherence": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "decision": {
+ "enum": [
+ "coherent",
+ "partial",
+ "drifted"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "decision"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "checkedAt": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "decision": {
+ "enum": [
+ "parseable_offer",
+ "review_required",
+ "no_parseable_offer"
+ ],
+ "type": "string"
+ },
+ "findings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "severity": {
+ "enum": [
+ "error",
+ "warning"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "severity",
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "offerCount": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "offers": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amountAtomic": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "amountDisplay": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "asset": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "decimals": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "expiresAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "intent": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "network": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "protocol": {
+ "const": "x402",
+ "type": "string"
+ },
+ "recipient": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scheme": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "valid": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "protocol",
+ "scheme",
+ "intent",
+ "network",
+ "asset",
+ "amountAtomic",
+ "decimals",
+ "amountDisplay",
+ "recipient",
+ "expiresAt",
+ "valid"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amountAtomic": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/amountAtomic"
+ },
+ "amountDisplay": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/amountDisplay"
+ },
+ "asset": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/asset"
+ },
+ "credentialTypes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "decimals": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/decimals"
+ },
+ "expiresAt": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/expiresAt"
+ },
+ "intent": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/intent"
+ },
+ "network": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/network"
+ },
+ "protocol": {
+ "const": "mpp",
+ "type": "string"
+ },
+ "realm": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recipient": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/recipient"
+ },
+ "scheme": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/scheme"
+ },
+ "valid": {
+ "$ref": "#/properties/offers/items/anyOf/0/properties/valid"
+ }
+ },
+ "required": [
+ "protocol",
+ "scheme",
+ "intent",
+ "network",
+ "asset",
+ "amountAtomic",
+ "decimals",
+ "amountDisplay",
+ "recipient",
+ "expiresAt",
+ "valid",
+ "realm",
+ "credentialTypes"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "parity": {
+ "additionalProperties": false,
+ "properties": {
+ "compared": {
+ "type": "boolean"
+ },
+ "consistent": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "driftFields": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "compared",
+ "consistent",
+ "driftFields"
+ ],
+ "type": "object"
+ },
+ "product": {
+ "const": "samedaydesk-payment-offer-preflight",
+ "type": "string"
+ },
+ "protocols": {
+ "items": {
+ "enum": [
+ "mpp",
+ "x402"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "responseContract": {
+ "additionalProperties": true,
+ "properties": {
+ "decision": {
+ "enum": [
+ "admissible",
+ "partial",
+ "absent",
+ "invalid"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "decision"
+ ],
+ "type": "object"
+ },
+ "responseContractAcquisition": {
+ "additionalProperties": false,
+ "properties": {
+ "attempted": {
+ "const": true,
+ "type": "boolean"
+ },
+ "credentialsUsed": {
+ "const": false,
+ "type": "boolean"
+ },
+ "documentRead": {
+ "type": "boolean"
+ },
+ "maxBytes": {
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "path": {
+ "const": "/openapi.json",
+ "type": "string"
+ },
+ "redirectsFollowed": {
+ "const": false,
+ "type": "boolean"
+ },
+ "sameOrigin": {
+ "const": true,
+ "type": "boolean"
+ },
+ "targetResponseBodyRead": {
+ "const": false,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "attempted",
+ "sameOrigin",
+ "path",
+ "maxBytes",
+ "documentRead",
+ "targetResponseBodyRead",
+ "credentialsUsed",
+ "redirectsFollowed"
+ ],
+ "type": "object"
+ },
+ "target": {
+ "additionalProperties": false,
+ "properties": {
+ "httpStatus": {
+ "type": "integer"
+ },
+ "method": {
+ "const": "GET",
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "method",
+ "url",
+ "httpStatus"
+ ],
+ "type": "object"
+ },
+ "version": {
+ "const": "1.2.0",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "product",
+ "version",
+ "checkedAt",
+ "target",
+ "decision",
+ "protocols",
+ "offerCount",
+ "offers",
+ "parity",
+ "catalogCoherence",
+ "responseContract",
+ "responseContractAcquisition",
+ "findings",
+ "boundary"
+ ],
+ "type": "object"
+}