{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hostdefi/json-schema/hostdefi-v1-error-body-schema.json",
  "title": "V1ErrorBody",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostdefi-keys-api-openapi.yml#/components/schemas/V1ErrorBody",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "string"
    },
    "pending": {
      "type": "boolean",
      "description": "Present on 202 from /v1/keys while the payment is unconfirmed."
    },
    "resetsAt": {
      "type": "integer",
      "description": "Unix ms timestamp when the limit resets (present on some 429s)."
    },
    "details": {
      "type": "string"
    }
  },
  "required": [
    "ok",
    "error"
  ]
}