{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ctlogs-io/json-schema/ctlogs-io-envelope-schema.json",
  "title": "Envelope",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ctlogs-io-openapi.yml#/components/schemas/Envelope",
  "type": "object",
  "required": [
    "status",
    "count",
    "data"
  ],
  "properties": {
    "status": {
      "type": "string",
      "const": "ok"
    },
    "count": {
      "type": "integer",
      "description": "rows in data on this page"
    },
    "elapsed": {
      "type": "string",
      "description": "server-side time, Go duration format"
    },
    "next_cursor": {
      "type": "string",
      "description": "present only when another page exists"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  }
}