addedOutput schema / properties / client_compat
Added value: +{
+ "description": "Only when the endpoint answered a 402. Whether common HTTP clients can read the 402: header_line_bytes (the whole PAYMENT-REQUIRED line), total_header_bytes (estimated from the parsed headers), pass or fail per client (aiohttp 8,190-byte line, Node fetch 16,384-byte header block, requests 65,536-byte line), base64_valid and json_valid, browser (CORS expose of PAYMENT-REQUIRED, null when the reply has no CORS headers), size_breakdown (bytes per part of the decoded PaymentRequired, cheapest cut first) and coded findings.",
+ "properties": {
+ "base64_valid": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "browser": {
+ "properties": {
+ "cors_headers_present": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "exposes_payment_required": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "pass": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "clients": {
+ "properties": {
+ "aiohttp": {
+ "properties": {
+ "limit_bytes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "measures": {
+ "enum": [
+ "header_line",
+ "total_headers",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pass": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "node_fetch": {
+ "properties": {
+ "limit_bytes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "measures": {
+ "enum": [
+ "header_line",
+ "total_headers",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pass": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "requests": {
+ "properties": {
+ "limit_bytes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "measures": {
+ "enum": [
+ "header_line",
+ "total_headers",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pass": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "compatible": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "findings": {
+ "items": {
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "message": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "severity": {
+ "enum": [
+ "error",
+ "warning",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "header_line_bytes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "header_present": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "json_valid": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "size_breakdown": {
+ "items": {
+ "properties": {
+ "cut": {
+ "enum": [
+ "none",
+ "low",
+ "medium",
+ "high",
+ "breaks_payment",
+ "fixed",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "header_bytes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "json_bytes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "part": {
+ "enum": [
+ "error",
+ "extensions_other",
+ "bazaar_output",
+ "bazaar_schema",
+ "bazaar_input",
+ "resource",
+ "accepts",
+ "overhead",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "total_header_bytes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "total_header_bytes_estimated": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+}