{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pastehtml-dev/json-schema/pastehtml-dev-post-api-pastes-response-schema.json",
  "title": "PostApiPastesResponse",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/pastehtml-dev-openapi-generated.yml#/components/schemas/PostApiPastesResponse",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "The paste's public ID."
    },
    "title": {
      "type": "string",
      "description": "Extracted from the document's <title>."
    },
    "custom_subdomain": {
      "type": "string",
      "description": "The claimed custom subdomain, if any."
    },
    "password_protected": {
      "type": "boolean",
      "description": "Whether the paste is password protected."
    },
    "views_count": {
      "type": "integer",
      "description": "Number of views."
    },
    "folder": {
      "type": "object",
      "description": "Folder info {\"id\": number, \"name\": string} if placed in a folder."
    },
    "owner": {
      "type": "object",
      "description": "Owner info {\"id\": number} for account‑owned pastes."
    },
    "account_paste": {
      "type": "boolean",
      "description": "True if the paste belongs to an account."
    },
    "live_url": {
      "type": "string",
      "description": "Share link: the document on its own isolated origin."
    },
    "url": {
      "type": "string",
      "description": "Inspector page URL."
    },
    "raw_url": {
      "type": "string",
      "description": "Exact bytes of the paste as text/plain."
    },
    "render_url": {
      "type": "string",
      "description": "Same bytes served as text/html."
    },
    "markdown_url": {
      "type": "string",
      "description": "Paste converted to Markdown (text/markdown)."
    },
    "update_token": {
      "type": "string",
      "description": "Secret token for anonymous paste updates."
    }
  }
}