{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcnm-io/json-schema/arcnm-io-faces-url-schema.json",
  "title": "FacesUrl",
  "description": "A short-lived per-face GLB URL plus its generation status.\n\n``url`` is null whenever ``status`` is not ``ok``. ``status`` mirrors the\npreview contract:\n\n* ``ok`` — ``url`` present.\n* ``pending`` — the model is still being prepared. Poll; it will settle.\n* ``failed`` — preparation did not succeed. Retryable.\n* ``unsupported`` — the CAD is a mesh format, which carries no B-rep\n  faces, so a per-face model will never exist for it.\n* ``no_dataset`` — the revision has no active 3D CAD. A revision that\n  does not exist in the caller's organization answers 404 instead.\n\n``pending`` and ``failed`` are distinct from ``unsupported`` and\n``no_dataset`` on purpose: the first two describe a model that is coming\nor that can be retried, the last two a model that will never exist.\n``data_source_id`` identifies the CAD this answer is about, so a client\ncan retry preparation via ``POST /datasets/{id}/preview/retry``.",
  "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/FacesUrl",
  "properties": {
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "data_source_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Data Source Id"
    }
  },
  "type": "object",
  "required": [
    "url",
    "status"
  ]
}