{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fetcher-sh/json-schema/fetcher-sh-envelope-schema.json",
  "title": "Envelope",
  "description": "Every response uses this envelope; the HTTP status mirrors `status`.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fetcher-sh-openapi.json#/components/schemas/Envelope",
  "type": "object",
  "properties": {
    "status": {
      "type": "integer",
      "description": "HTTP status code, mirrored in the body."
    },
    "message": {
      "type": "string",
      "description": "\"ok\" on success, otherwise the error reason."
    },
    "data": {
      "type": [
        "object",
        "array",
        "null"
      ],
      "description": "Upstream payload; null on errors."
    }
  },
  "required": [
    "status",
    "message",
    "data"
  ]
}