changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "anyOf": [
+ {
+ "required": [
+ "ok",
+ "status_code"
+ ]
+ },
+ {
+ "required": [
+ "error"
+ ]
+ }
+ ],
+ "description": "Canonical REST response envelope, or a local/transport rejection. Upstream data remains in body and is defined by the live capability schema.",
+ "properties": {
+ "auto_spent": {
+ "const": false
+ },
+ "body": {
+ "description": "Unmodified upstream JSON, or bounded response text. Consult that capability's live schema."
+ },
+ "caller_supplied_authorization": {
+ "type": "boolean"
+ },
+ "charged": {
+ "const": false,
+ "description": "Present on local/transport failures; these do not establish an upstream charge."
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "description": "Whether the upstream HTTP status is 2xx; not settlement proof.",
+ "type": "boolean"
+ },
+ "payment_required": {
+ "description": "Observed PAYMENT-REQUIRED header; a challenge does not prove payment.",
+ "type": "string"
+ },
+ "payment_response": {
+ "description": "Observed PAYMENT-RESPONSE header. Assess it together with accepted delivery.",
+ "type": "string"
+ },
+ "status_code": {
+ "description": "Observed upstream HTTP status, or null when no response was obtained.",
+ "maximum": 599,
+ "minimum": 100,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "substituted": {
+ "const": false
+ }
+ },
+ "type": "object"
+}