{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/layerz-cc/json-schema/layerz-cc-post-models-request-schema.json",
  "title": "PostModelsRequest",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/layerz-cc-openapi-generated.yml#/components/schemas/PostModelsRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Model name. Required without file_id; an imported workbook names the model after its file."
    },
    "subtitle": {
      "type": "string"
    },
    "glyph": {
      "type": "string",
      "description": "Emblem icon: a kebab-case Lucide icon name, e.g. \"trending-up\"."
    },
    "template_id": {
      "type": "string"
    },
    "file_id": {
      "type": "string",
      "description": "An uploaded workbook the model is imported from."
    },
    "anchors": {
      "type": "array",
      "description": "With file_id: the first period of each sheet whose period headers carry no date."
    },
    "workspace_id": {
      "type": "string",
      "description": "Workspace the model is created in."
    },
    "timelines": {
      "type": "object"
    }
  },
  "required": [
    "name"
  ]
}