{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/onclarity-com/json-schema/onclarity-com-http-call-response-schema.json",
  "title": "HttpCallResponse",
  "description": "A function's answer to an HTTP call, wrapped so none of its headers reach the browser as\nVoC's own (a function's `set-cookie` must not land on VoC's domain).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/onclarity-com-cloud-functions-api-openapi.yml#/components/schemas/HttpCallResponse",
  "properties": {
    "status": {
      "type": "integer",
      "title": "Status",
      "description": "The status code the function answered with."
    },
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Headers",
      "description": "The function's response headers, lower-case."
    },
    "body": {
      "type": "string",
      "title": "Body",
      "description": "The body: text as is, anything else base64 (`is_base64_encoded`)."
    },
    "is_base64_encoded": {
      "type": "boolean",
      "title": "Is Base64 Encoded"
    }
  },
  "type": "object",
  "required": [
    "status",
    "headers",
    "body",
    "is_base64_encoded"
  ]
}