{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/layerz-cc/json-schema/layerz-cc-patch-models-id-items-uid-request-schema.json",
  "title": "PatchModelsIdItemsUidRequest",
  "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/PatchModelsIdItemsUidRequest",
  "type": "object",
  "properties": {
    "branch_id": {
      "type": "string"
    },
    "role": {
      "type": "string",
      "description": "\"assumption\" | \"formula\" | \"callup\" | \"balance\" | \"section\" | \"chart\" | \"dashboard\" | \"kpi\" | \"mini_table\""
    },
    "display_name": {
      "type": "string"
    },
    "timeline_ref": {
      "type": "string",
      "description": "\"constant\" | \"monthly\" | \"yearly\" | \"quarterly\""
    },
    "value": {
      "type": "number"
    },
    "values": {
      "type": "array",
      "description": "number|null[]"
    },
    "formula": {
      "type": "string"
    },
    "inputs": {
      "type": "array",
      "description": "string[]"
    },
    "source_uid": {
      "type": "string"
    },
    "children": {
      "type": "array",
      "description": "object[]"
    },
    "is_balance": {
      "type": "boolean"
    },
    "opening_balance": {
      "type": "number"
    },
    "item_style": {
      "type": "string",
      "description": "\"normal\" | \"subtotal\" | \"total\" | \"kpi\""
    },
    "is_subtotal": {
      "type": "boolean"
    },
    "liste_ref": {
      "type": "string"
    },
    "timeline_values": {
      "type": "object"
    },
    "format": {
      "type": "string"
    },
    "aggregation": {
      "type": "string",
      "description": "\"sum\" | \"average\" | \"stock\" | \"first\""
    },
    "parent_layer_uid": {
      "type": "string"
    },
    "chart_type": {
      "type": "string",
      "description": "\"line\" | \"bar\" | \"area\" | \"bridge\""
    },
    "series": {
      "type": "array",
      "description": "string[]"
    },
    "bridge_config": {
      "type": "object"
    },
    "target_uid": {
      "type": "string"
    },
    "target_period": {
      "type": "string"
    },
    "series_defs": {
      "type": "array",
      "description": "object[]"
    },
    "compare_to": {
      "type": "object"
    },
    "sparkline": {
      "type": "boolean"
    },
    "table_rows": {
      "type": "array",
      "description": "string[]"
    },
    "table_row_styles": {
      "type": "object"
    },
    "table_axis": {
      "type": "string",
      "description": "\"time\" | \"branches\" | \"list\""
    },
    "table_branches": {
      "type": "array",
      "description": "string[]"
    },
    "table_liste_ref": {
      "type": "string"
    },
    "table_variance": {
      "type": "object"
    },
    "span": {
      "type": "object"
    },
    "row_break": {
      "type": "boolean"
    },
    "collapsed": {
      "type": "boolean"
    },
    "position": {
      "type": "object"
    },
    "period_window": {
      "type": "object"
    },
    "period_mode": {
      "type": "string",
      "description": "\"period\" | \"ytd\""
    },
    "check": {
      "type": "object"
    }
  }
}