{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcnm-io/json-schema/arcnm-io-drawing-url-schema.json",
  "title": "DrawingUrl",
  "description": "A short-lived 2D-drawing URL, its status, and the rendered content type.\n\n``url`` / ``content_type`` are null whenever ``status`` is not ``ok``.\n``status`` is ``ok`` (url present), ``no_dataset`` (no drawing attached),\nor ``failed`` (rendering error). A revision that does not exist in the\ncaller's organization answers 404 instead of ``no_dataset``. PDF drawings are rasterised to a PNG, so\n``content_type`` is ``image/png`` for them and the source type otherwise.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcnm-io-geometry-api-openapi.yml#/components/schemas/DrawingUrl",
  "properties": {
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "content_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Content Type"
    }
  },
  "type": "object",
  "required": [
    "url",
    "status",
    "content_type"
  ]
}