changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "at": {
- "anyOf": [
- {
- "description": "ISO time of the run",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "basis": {
- "anyOf": [
- {
- "description": "what decided the verdict",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "declared": {
- "anyOf": [
- {
- "description": "what the server itself says the tool costs: source, says (paid | free), price",
- "items": {},
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "error": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "evidence": {
- "anyOf": [
- {
- "description": "every request made, in the order sent: method, url, request headers of note, status, ms; a request that drew no answer has status 0 and its error, a redirect followed is listed in redirects, and a request still unanswered when a report was cut has unanswered: true",
- "items": {},
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "ok": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ]
- },
- "price_drift": {
- "anyOf": [
- {
- "description": "live amount vs openapi x-payment-info for the same tool, when both exist",
- "properties": {},
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "reason": {
- "anyOf": [
- {
- "description": "when undetermined: why",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "refusal": {
- "anyOf": [
- {
- "description": "the unpaid call that drew terms: payment_required, where the terms were found, schema_ok, http_status, terms, accepts analysis, guidance keys, reading",
- "properties": {},
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "sources": {
- "anyOf": [
- {
- "description": "the price declarations read: tools/list _meta, /.well-known/x402, /openapi.json",
- "properties": {},
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "tool": {
- "anyOf": [
- {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "tried": {
- "anyOf": [
- {
- "description": "every probe in order: tool, probe, arguments, answer, http_status, detail",
- "items": {},
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "validation_order": {
- "anyOf": [
- {
- "description": "order: payment-first | validation-first | mixed | not-determined, from the same tool called unpaid with valid arguments, with a required argument missing and with a wrong-typed argument; probes lists each call and its answer, refused_before_terms and terms_despite name the kinds",
- "properties": {},
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "verdict": {
- "anyOf": [
- {
- "description": "paid | not_paid | undetermined. not_paid only when an unpaid call ran or the server prices the tool free; a call refused for its arguments is undetermined",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "required": [
- "accepts"
- ],
- "type": "object"
- },
- {
- "required": [
- "receipt"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "at": {
+ "anyOf": [
+ {
+ "description": "ISO time of the run",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "basis": {
+ "anyOf": [
+ {
+ "description": "what decided the verdict",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "declared": {
+ "anyOf": [
+ {
+ "description": "what the server itself says the tool costs: source, says (paid | free), price",
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "error": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "evidence": {
+ "anyOf": [
+ {
+ "description": "every request made, in the order sent: method, url, request headers of note, status, ms; a request that drew no answer has status 0 and its error; one this shelf stopped has status null and says why: timed_out with limit_ms (no answer in 15 s), too_large with limit_bytes, or canceled; a redirect followed is listed in redirects, and a request still unanswered when a report was cut has unanswered: true",
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ok": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "price_drift": {
+ "anyOf": [
+ {
+ "description": "live amount vs openapi x-payment-info for the same tool, when both exist",
+ "properties": {},
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "description": "when undetermined: why",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "refusal": {
+ "anyOf": [
+ {
+ "description": "the unpaid call that drew terms: payment_required, where the terms were found, schema_ok, http_status, terms, accepts analysis, guidance keys, reading",
+ "properties": {},
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sources": {
+ "anyOf": [
+ {
+ "description": "the price declarations read: tools/list _meta, /.well-known/x402, /openapi.json",
+ "properties": {},
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tool": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tried": {
+ "anyOf": [
+ {
+ "description": "every probe in order: tool, probe, arguments, answer, http_status, detail",
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "validation_order": {
+ "anyOf": [
+ {
+ "description": "order: payment-first | validation-first | mixed | not-determined, from the same tool called unpaid with valid arguments, with a required argument missing, with a wrong-typed argument and with empty arguments whatever arguments the caller gave; probes lists each call and its answer, refused_before_terms and terms_despite name the kinds",
+ "properties": {},
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "verdict": {
+ "anyOf": [
+ {
+ "description": "paid | not_paid | undetermined. not_paid only when an unpaid call ran or the server prices the tool free; a call refused for its arguments is undetermined",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "required": [
+ "accepts"
+ ],
+ "type": "object"
+ },
+ {
+ "required": [
+ "receipt"
+ ],
+ "type": "object"
+ }
+]