{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wealth-reader/main/json-schema/wealth-reader-warning-error-codes-schema.json",
  "title": "warning-error-codes",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wealth-reader-core-api-openapi.yml#/components/schemas/warning-error-codes",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "code",
      "description",
      "possible_reasons",
      "how_to_proceed"
    ],
    "properties": {
      "code": {
        "type": "integer",
        "description": "Error code"
      },
      "description": {
        "type": "string",
        "description": "Error description"
      },
      "possible_reasons": {
        "type": "string",
        "description": "Possible causes of the error"
      },
      "how_to_proceed": {
        "type": "string",
        "description": "How to act when this error code is obtained"
      }
    }
  }
}