Solo para leer y verificar. No puedes copiar, usar, modificar ni redistribuir este código. Aviso completo en la página principal.
contracts/schemas/error-response.schema.json
| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "$id": "https://all-mcp.fyi/contracts/v2/error-response.schema.json", |
| 4 | "title": "Every non-2xx answer of the end-to-end endpoints: a closed word, never text from the network, never a secret. status is only present next to license_inactive. retry_after_s accompanies 429 and 503.", |
| 5 | "type": "object", |
| 6 | "required": ["ok", "error"], |
| 7 | "additionalProperties": false, |
| 8 | "properties": { |
| 9 | "ok": {"const": false}, |
| 10 | "error": {"type": "string", "pattern": "^[a-z_]{1,48}$"}, |
| 11 | "status": {"type": "string", "pattern": "^[a-z_]{1,32}$"}, |
| 12 | "retry_after_s": {"type": "integer", "minimum": 1, "maximum": 86400}, |
| 13 | "enroll_after": {"$ref": "common.schema.json#/$defs/epoch_s"} |
| 14 | } |
| 15 | } |