{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paperoffice-ai/json-schema/paperoffice-ai-success-envelope-schema.json",
  "title": "SuccessEnvelope",
  "description": "Success envelope. Payload fields are endpoint-specific (top-level fields, `result`/`job_result` for jobs, `data` on some account endpoints).",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paperoffice-ai-openapi.json#/components/schemas/SuccessEnvelope",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "const": "success"
    },
    "processing_time": {
      "type": [
        "string",
        "number"
      ]
    },
    "_billing": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "required": [
    "status"
  ],
  "additionalProperties": true
}