{
  "openapi": "3.1.0",
  "info": {
    "version": "16.5.64",
    "title": "ClearPoint Strategy API",
    "description": "This is the documentation for the ClearPoint API as of 2026-09-17.  You can find out more about ClearPoint at [https://www.clearpointstrategy.com](https://www.clearpointstrategy.com).  To execute any queries against this API, you must have a valid ClearPoint account.  For more information about the ClearPoint API please contact ClearPoint Support at [mailto:support@clearpointstategy.com](support@clearpointstrategy.com).",
    "termsOfService": "https://www.clearpointstrategy.com/terms-of-service/",
    "contact": {
      "name": "https://support.clearpointstrategy.com",
      "email": "support@clearpointstrategy.com"
    },
    "license": {
      "url": "https://www.clearpointstrategy.com/terms-of-service",
      "name": "Commercial SaaS Subcription"
    },
    "x-published": "2026-09-17"
  },
  "tags": [
    {
      "name": "Collections",
      "description": ""
    },
    {
      "name": "Categories",
      "description": ""
    },
    {
      "name": "Scorecards",
      "description": ""
    },
    {
      "name": "Scorecard Status",
      "description": ""
    },
    {
      "name": "Objectives",
      "description": ""
    },
    {
      "name": "Objective Status",
      "description": ""
    },
    {
      "name": "Measures",
      "description": ""
    },
    {
      "name": "Measure Status",
      "description": ""
    },
    {
      "name": "Measure Series",
      "description": ""
    },
    {
      "name": "Measure Data",
      "description": ""
    },
    {
      "name": "Charts",
      "description": ""
    },
    {
      "name": "Initiatives",
      "description": ""
    },
    {
      "name": "Initiative Status",
      "description": ""
    },
    {
      "name": "Milestones",
      "description": ""
    },
    {
      "name": "Milestone Status",
      "description": ""
    },
    {
      "name": "Action Items",
      "description": ""
    },
    {
      "name": "Action Item Status",
      "description": ""
    },
    {
      "name": "Risks",
      "description": ""
    },
    {
      "name": "Risk Status",
      "description": ""
    },
    {
      "name": "Goals",
      "description": ""
    },
    {
      "name": "Key Results",
      "description": ""
    },
    {
      "name": "My ClearPoint ",
      "description": ""
    },
    {
      "name": "Favorites",
      "description": ""
    },
    {
      "name": "Workspaces",
      "description": ""
    },
    {
      "name": "Alerts",
      "description": ""
    },
    {
      "name": "Comments and Mentions",
      "description": ""
    },
    {
      "name": "Maps",
      "description": ""
    },
    {
      "name": "Scorecard Reports",
      "description": ""
    },
    {
      "name": "Summary Reports",
      "description": ""
    },
    {
      "name": "Detail Pages",
      "description": ""
    },
    {
      "name": "Reminders",
      "description": ""
    },
    {
      "name": "Workflows",
      "description": ""
    },
    {
      "name": "Workflow Emails",
      "description": ""
    },
    {
      "name": "Approvals",
      "description": ""
    },
    {
      "name": "Notifications",
      "description": ""
    },
    {
      "name": "Schedules",
      "description": ""
    },
    {
      "name": "Scripting",
      "description": ""
    },
    {
      "name": "REST Hooks",
      "description": ""
    },
    {
      "name": "Webhooks",
      "description": ""
    },
    {
      "name": "Peer Sharing",
      "description": ""
    },
    {
      "name": "Status",
      "description": ""
    },
    {
      "name": "Fields and Element Names",
      "description": ""
    },
    {
      "name": "Custom Fields",
      "description": ""
    },
    {
      "name": "Calculated Fields",
      "description": ""
    },
    {
      "name": "Number Formats",
      "description": ""
    },
    {
      "name": "Chart Formats",
      "description": ""
    },
    {
      "name": "Tags",
      "description": ""
    },
    {
      "name": "Pod Styles",
      "description": ""
    },
    {
      "name": "Table Styles",
      "description": ""
    },
    {
      "name": "Report Styles",
      "description": ""
    },
    {
      "name": "Default Series",
      "description": ""
    },
    {
      "name": "Templates",
      "description": ""
    },
    {
      "name": "Reports",
      "description": ""
    },
    {
      "name": "Exports",
      "description": ""
    },
    {
      "name": "Images",
      "description": ""
    },
    {
      "name": "Attachments",
      "description": ""
    },
    {
      "name": "Files",
      "description": ""
    },
    {
      "name": "Setup",
      "description": ""
    },
    {
      "name": "Users",
      "description": ""
    },
    {
      "name": "User Groups",
      "description": ""
    },
    {
      "name": "Authentication",
      "description": ""
    },
    {
      "name": "Reporting Periods",
      "description": ""
    },
    {
      "name": "Reporting Frequencies",
      "description": ""
    },
    {
      "name": "Fiscal Years",
      "description": ""
    },
    {
      "name": "Snapshots",
      "description": ""
    },
    {
      "name": "Search",
      "description": ""
    },
    {
      "name": "Utilities",
      "description": ""
    },
    {
      "name": "Defaults",
      "description": ""
    }
  ],
  "security": [
    {
      "oAuth2": []
    },
    {
      "secretKey": [],
      "accessKey": []
    }
  ],
  "servers": [
    {
      "url": "https://app.clearpointstrategy.com/api/v1"
    }
  ],
  "components": {
    "schemas": {
      "any": {},
      "error": {
        "properties": {
          "message": {
            "type": "string"
          },
          "code": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "_elementPayloadMilestone": {
        "type": "object",
        "readOnly": true,
        "description": "One milestone row of a batched initiative payload, identical to a row of GET /initiatives/{initiativeId}/milestones?periodId=",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "milestone"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "milestoneId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "initiative": {
            "type": "string",
            "readOnly": true
          },
          "initiativeId": {
            "type": "integer",
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer"
          },
          "scorecardLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "statusId": {
            "type": "integer",
            "readOnly": true
          },
          "analysis": {
            "type": "string",
            "readOnly": true
          },
          "recommendations": {
            "type": "string",
            "readOnly": true
          },
          "ownerId": {
            "type": "integer"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess",
            "readOnly": true
          },
          "startDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "endDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "percentComplete": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 100.0
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "hidden": {
            "type": "boolean",
            "readOnly": true
          },
          "parentId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "treeLevel": {
            "type": "integer",
            "readOnly": true
          },
          "periodLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "milestoneId",
          "name",
          "initiativeId"
        ]
      },
      "_elementAccess": {
        "type": "string",
        "readOnly": true,
        "enum": [
          "Browser",
          "Updater",
          "Editor",
          "Administrator",
          "Limited",
          "No Access",
          "Scorecard Admin"
        ]
      },
      "_landingPagePreferences": {
        "type": "object",
        "properties": {
          "railOrder": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "mainOrder": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "railCollapsed": {
            "type": "object",
            "additionalProperties": {
              "type": "boolean"
            }
          },
          "mainCollapsed": {
            "type": "object",
            "additionalProperties": {
              "type": "boolean"
            }
          },
          "layoutsByPersona": {
            "type": "object",
            "properties": {
              "updater": {
                "$ref": "#/components/schemas/_landingPageLayout"
              },
              "admin": {
                "$ref": "#/components/schemas/_landingPageLayout"
              },
              "executive": {
                "$ref": "#/components/schemas/_landingPageLayout"
              }
            }
          },
          "railHiddenByPersona": {
            "type": "object",
            "properties": {
              "updater": {
                "type": "boolean"
              },
              "admin": {
                "type": "boolean"
              },
              "executive": {
                "type": "boolean"
              }
            }
          }
        }
      },
      "_playbookCategory": {
        "type": "object",
        "properties": {
          "playbookCategoryId": {
            "type": "integer"
          },
          "categoryKey": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "icon": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "sortOrder": {
            "type": "integer"
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "categoryKey",
          "name",
          "sortOrder",
          "active"
        ],
        "additionalProperties": false
      },
      "_reportOptions": {
        "type": "object",
        "properties": {
          "rootObject": {
            "type": "string"
          },
          "hidden": {
            "type": "boolean"
          },
          "hideTitle": {
            "type": "boolean"
          },
          "tableStyleId": {
            "type": "integer"
          },
          "dashboardTemplate": {
            "type": "boolean"
          },
          "hideGanttMilestones": {
            "type": "string"
          },
          "dashboardSize": {
            "type": "string"
          },
          "gridTemplate": {
            "type": "boolean"
          },
          "pageBreaks": {
            "type": "string"
          },
          "headerBackgroundColor": {
            "type": "string"
          },
          "headerBackgroundTransparency": {
            "type": "integer"
          },
          "matrixScorecards": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "customSortEnabled": {
            "type": "boolean"
          },
          "customSort": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string"
                },
                "objectId": {
                  "type": "integer"
                },
                "sortOrder": {
                  "type": "integer"
                }
              }
            }
          },
          "hierarchy": {
            "type": "string"
          }
        },
        "required": [
          "hierarchy"
        ]
      },
      "_threadMetadata": {
        "type": "object",
        "properties": {
          "lastLocation": {
            "type": "object",
            "description": "Last non-chat page associated with the thread, used to resume the assistant in context.",
            "properties": {
              "url": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "object": {
                "type": "string"
              },
              "objectId": {
                "type": "integer"
              },
              "layoutId": {
                "type": "integer"
              },
              "scorecardId": {
                "type": "integer"
              }
            },
            "required": [
              "url"
            ],
            "additionalProperties": true
          },
          "pageHistory": {
            "type": "array",
            "description": "Recent pages visited while using the assistant thread.",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "selectedModel": {
            "type": "string",
            "description": "User-selected AI model for this thread."
          },
          "scratchpad": {
            "type": "string",
            "description": "Playbook scratchpad generated after turns in a playbook thread."
          },
          "scratchpadUpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "playbookName": {
            "type": "string"
          },
          "aiToolApprovals": {
            "type": "object",
            "description": "Per-thread remembered AI tool approval choices. Keys should be stable tool or action identifiers.",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "decision": {
                  "type": "string",
                  "enum": [
                    "approve",
                    "deny"
                  ]
                },
                "toolName": {
                  "type": "string"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "decision"
              ],
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": true
      },
      "_cardVisualSettings": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/_cardVisualSetting"
        }
      },
      "_searchResult": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "content",
              "tag",
              "id",
              "element",
              "report",
              "user"
            ]
          },
          "ownerId": {
            "type": "integer",
            "readOnly": true
          },
          "owner": {
            "type": "string",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "layoutId": {
            "type": "integer",
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "readOnly": true
          },
          "score": {
            "type": "number",
            "readOnly": true
          },
          "rank": {
            "type": "integer",
            "readOnly": true
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess",
            "readOnly": true
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "period": {
            "type": "string",
            "readOnly": true
          },
          "periodDate": {
            "type": "string",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "readOnly": true
          },
          "statusId": {
            "type": "integer",
            "readOnly": true
          },
          "fieldId": {
            "type": "integer",
            "readOnly": true
          },
          "field": {
            "type": "string",
            "readOnly": true
          },
          "content": {
            "type": "string",
            "readOnly": true
          },
          "updatedDate": {
            "type": "string",
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "object"
        ]
      },
      "_cardVisualSetting": {
        "type": "object",
        "properties": {
          "i": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "chartName": {
            "type": "string",
            "readOnly": true
          },
          "hidden": {
            "type": "boolean"
          },
          "hideLevel": {
            "type": "integer"
          },
          "hidePrint": {
            "type": "boolean"
          },
          "hideOnline": {
            "type": "boolean"
          },
          "hidePublish": {
            "type": "boolean"
          },
          "hideBorder": {
            "type": "boolean"
          },
          "hideBackground": {
            "type": "boolean"
          },
          "hideHeader": {
            "type": "boolean"
          },
          "hidePadding": {
            "type": "boolean"
          },
          "name": {
            "type": "boolean"
          },
          "owner": {
            "type": "boolean"
          },
          "periodId": {
            "type": "boolean"
          },
          "role": {
            "type": "boolean"
          },
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "fieldId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "chart",
              "report"
            ]
          },
          "currentLayout": {
            "type": "string"
          },
          "accentColor": {
            "type": "string"
          },
          "data": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "i"
        ]
      },
      "_playbookToolRef": {
        "type": "object",
        "properties": {
          "toolKey": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "required": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "toolKey"
        ],
        "additionalProperties": true
      },
      "_auditWorkQueue": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "issueType": {
            "type": "string"
          },
          "issueLabel": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "severity": {
            "type": "string",
            "enum": [
              "critical",
              "high",
              "medium",
              "low",
              "info"
            ]
          },
          "priority": {
            "type": "integer"
          },
          "impactedCount": {
            "type": "integer"
          },
          "affectedElementTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "affectedScorecards": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "scorecardId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "issueCount": {
                  "type": "integer"
                }
              }
            }
          },
          "affectedOwners": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "ownerId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "issueCount": {
                  "type": "integer"
                }
              }
            }
          },
          "examples": {
            "type": "array",
            "maxItems": 3.0,
            "items": {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "object": {
                  "type": "string"
                },
                "objectId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "scorecardId": {
                  "type": "integer"
                },
                "scorecard": {
                  "type": "string"
                },
                "ownerId": {
                  "type": "integer"
                },
                "owner": {
                  "type": "string"
                },
                "displayPeriodId": {
                  "type": "integer"
                },
                "href": {
                  "type": "string"
                },
                "evidence": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "impactSummary": {
            "type": "string"
          },
          "recommendedNextStep": {
            "type": "string"
          },
          "primaryAction": {
            "$ref": "#/components/schemas/_auditAction"
          },
          "secondaryActions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_auditAction"
            }
          },
          "periodId": {
            "type": "integer"
          }
        }
      },
      "_referenceSeries": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "readOnly": true
            },
            "fieldId": {
              "type": "string",
              "readOnly": true
            },
            "readOnly": {
              "type": "boolean"
            }
          }
        }
      },
      "_chartPeriods": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "periodId": {
              "type": "integer"
            },
            "periodDate": {
              "type": "string",
              "format": "date"
            },
            "name": {
              "type": "string"
            }
          }
        }
      },
      "_playbookDefinition": {
        "type": "object",
        "properties": {
          "goal": {
            "type": "string"
          },
          "welcomeMessage": {
            "type": "string"
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "goal"
        ],
        "additionalProperties": true
      },
      "_filters": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer"
            },
            "object": {
              "type": "string"
            },
            "fieldId": {
              "type": "string"
            },
            "compare": {
              "type": "string",
              "enum": [
                "true",
                "false",
                "eq",
                "neq",
                "gt",
                "gte",
                "lt",
                "lte",
                "lk",
                "nlk",
                "beforePlus",
                "beforeMinus",
                "afterPlus",
                "afterMinus",
                "beforePlusNow",
                "beforeMinusNow",
                "afterPlusNow",
                "afterMinusNow",
                "null",
                "notnull",
                "in",
                "notin",
                "isMe",
                "isNotMe"
              ]
            },
            "value": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "description": {
              "type": "string"
            }
          },
          "required": [
            "object",
            "fieldId",
            "compare",
            "value"
          ]
        }
      },
      "_playbookBranchRoute": {
        "type": "object",
        "properties": {
          "routeKey": {
            "type": "string"
          },
          "targetStepKey": {
            "type": "string"
          }
        },
        "required": [
          "routeKey",
          "targetStepKey"
        ],
        "additionalProperties": true
      },
      "_plotBands": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "from": {
              "type": "number"
            },
            "to": {
              "type": "number"
            },
            "color": {
              "type": "string"
            },
            "sortOrder": {
              "type": "integer"
            }
          }
        }
      },
      "_hierarchyNode": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "integer"
          },
          "templateName": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_hierarchyNode"
            }
          }
        }
      },
      "_threadMessage": {
        "type": "object",
        "properties": {
          "threadId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "user",
              "assistant",
              "system"
            ]
          },
          "content": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string",
            "enum": [
              "TextMessage",
              "ActionExecutionMessage",
              "ResultMessage",
              "AgentStateMessage"
            ]
          },
          "metadata": {
            "type": "object",
            "properties": {
              "custom": {
                "type": "object"
              }
            },
            "additionalProperties": true
          }
        },
        "required": [
          "id",
          "role",
          "content",
          "createdAt"
        ],
        "additionalProperties": false
      },
      "_playbookEdge": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "default",
              "branch"
            ]
          },
          "routeKey": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source",
          "target",
          "kind"
        ],
        "additionalProperties": true
      },
      "_defaultField": {
        "type": "object",
        "properties": {
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "default": {
                  "type": "string"
                },
                "reset": {
                  "type": "string"
                },
                "hidden": {
                  "type": "boolean"
                },
                "updateMode": {
                  "type": "boolean"
                },
                "fieldId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "color": {
                  "type": "string",
                  "enum": [
                    "default",
                    "primary",
                    "secondary",
                    "accent1",
                    "accent2",
                    "accent3",
                    "accent4",
                    "accent5",
                    "accent6"
                  ]
                }
              },
              "required": [
                "object",
                "default",
                "hidden",
                "updateMode",
                "name"
              ]
            }
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          }
        },
        "required": [
          "object",
          "fields"
        ]
      },
      "_projectCalculatedValues": {
        "type": "object",
        "properties": {
          "elapsedDays": {
            "type": "string"
          },
          "variance": {
            "type": "string"
          },
          "totalDays": {
            "type": "integer"
          },
          "elapsedPercentComplete": {
            "type": "string"
          },
          "today": {
            "type": "string"
          }
        }
      },
      "_teamsAction": {
        "type": "object",
        "description": "Action taken by the AI in a Teams conversation",
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "comment",
              "update",
              "edit",
              "answer",
              "unknown"
            ],
            "description": "Type of action taken"
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "description": "Element type the action was performed on"
          },
          "objectId": {
            "type": "integer",
            "description": "ID of the element"
          },
          "scorecardId": {
            "type": "integer",
            "description": "Scorecard ID"
          },
          "periodId": {
            "type": "integer",
            "description": "Period ID"
          },
          "success": {
            "type": "boolean",
            "description": "Whether the action succeeded"
          },
          "message": {
            "type": "string",
            "description": "Result message"
          }
        }
      },
      "_mention": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "alertId": {
            "type": "integer",
            "readOnly": true
          },
          "comment": {
            "type": "string"
          },
          "commentId": {
            "type": "integer"
          },
          "commentDate": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "integer"
          },
          "mentionId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "statusName": {
            "type": "string"
          },
          "userName": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "layoutId": {
            "type": "integer"
          },
          "readFlag": {
            "type": "boolean"
          },
          "scorecardId": {
            "type": "integer"
          },
          "reactions": {
            "$ref": "#/components/schemas/_reactions"
          }
        },
        "required": [
          "commentId",
          "userId",
          "mentionId",
          "readFlag"
        ]
      },
      "_authSession": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "districtId": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "email": {
            "type": "string"
          },
          "userName": {
            "type": "string"
          },
          "districtName": {
            "type": "string"
          },
          "home": {
            "$ref": "#/components/schemas/_home"
          },
          "error": {
            "type": "string"
          }
        },
        "required": [
          "districtId",
          "userId",
          "periodId",
          "email",
          "userName",
          "districtName",
          "home"
        ]
      },
      "_authentication": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "format": "email",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "password": {
            "type": "string",
            "minLength": 6.0,
            "maxLength": 50.0
          },
          "machineId": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 250.0
          },
          "authOption": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "sessionId": {
            "type": "string"
          },
          "authCode": {
            "type": "string"
          },
          "userId": {
            "type": [
              "integer",
              "string"
            ]
          },
          "rememberDevice": {
            "type": "boolean"
          },
          "rememberUsername": {
            "type": "boolean"
          },
          "deviceName": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 50.0
          },
          "deviceTokens": {
            "type": "string"
          },
          "districtId": {
            "type": [
              "integer",
              "string"
            ]
          },
          "districts": {
            "type": "array"
          }
        }
      },
      "_auditAction": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "navigate",
              "email",
              "comment",
              "remind",
              "quickTask",
              "modal",
              "download"
            ]
          },
          "actionKey": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "href": {
            "type": "string"
          },
          "issueType": {
            "type": "string"
          },
          "periodId": {
            "type": "integer"
          },
          "target": {
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "_gridHeaderItem": {
        "type": "object",
        "properties": {
          "fieldId": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "periodId": {
            "type": "integer"
          },
          "minWidth": {
            "type": "integer"
          },
          "width": {
            "type": [
              "number",
              "null"
            ]
          },
          "items": {
            "type": "array"
          }
        }
      },
      "_exportListItem": {
        "readOnly": true,
        "type": "object",
        "properties": {
          "districtId": {
            "type": "integer"
          },
          "detailPage": {
            "type": "boolean"
          },
          "pageExportId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "period": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "filetype": {
            "type": "string"
          },
          "user": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "generatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "complete": {
            "type": "boolean"
          },
          "failed": {
            "type": "boolean"
          },
          "link": {
            "type": "object",
            "properties": {
              "validUntil": {
                "type": "string",
                "format": "date-time",
                "readOnly": true
              },
              "url": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        },
        "required": [
          "pageExportId",
          "name"
        ]
      },
      "_home": {
        "type": "object",
        "properties": {
          "scorecardId": {
            "type": "integer"
          },
          "reportType": {
            "type": "string"
          },
          "page": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "layoutId": {
            "type": "integer"
          },
          "default": {
            "type": "boolean"
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "map",
              "objective",
              "measure",
              "chart",
              "initiative",
              "milestone",
              "actionItem",
              "risk",
              "workspace"
            ]
          }
        }
      },
      "_playbookInputConfig": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "structured"
            ]
          },
          "schema": {
            "type": "object"
          },
          "ui": {
            "type": [
              "object",
              "null"
            ]
          }
        },
        "required": [
          "mode",
          "schema"
        ],
        "additionalProperties": true
      },
      "_layout": {
        "type": "object",
        "properties": {
          "layoutId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "scorecardId": {
            "type": "integer"
          },
          "scorecard": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "access": {
            "type": "string"
          },
          "gridTemplate": {
            "type": "boolean"
          },
          "reportType": {
            "type": "string",
            "enum": [
              "grid",
              "dashboard",
              "matrix",
              "detail",
              "gantt"
            ]
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "map",
              "diagram",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "defaultLayout": {
            "type": "boolean"
          },
          "reportOptions": {
            "$ref": "#/components/schemas/_reportOptions"
          },
          "hidden": {
            "type": "boolean"
          },
          "accessType": {
            "type": "string"
          },
          "restrictedAccess": {
            "type": "boolean"
          },
          "groups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "groupId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "active": {
                  "type": "boolean"
                },
                "selected": {
                  "type": "boolean"
                }
              },
              "required": [
                "groupId",
                "name",
                "active",
                "selected"
              ]
            }
          },
          "reportColumns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_reportColumn"
            }
          },
          "scorecardIdList": {
            "type": "string"
          },
          "elementList": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "scorecardId": {
                  "type": "integer"
                },
                "elements": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "object": {
                        "type": "string"
                      },
                      "objectId": {
                        "type": "integer"
                      }
                    }
                  }
                }
              }
            }
          },
          "filterRule": {
            "type": "string"
          },
          "filter": {
            "$ref": "#/components/schemas/_filters"
          },
          "filterProperties": {
            "$ref": "#/components/schemas/_filters"
          },
          "referenceLayoutId": {
            "type": "integer"
          },
          "referenceLayoutObject": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "readOnly": true
          },
          "defaultReport": {
            "type": "boolean"
          },
          "layout": {
            "$ref": "#/components/schemas/_podLayout"
          },
          "cardLayout": {
            "$ref": "#/components/schemas/_cardLayout"
          }
        },
        "required": [
          "layoutId",
          "name",
          "scorecardId",
          "object"
        ]
      },
      "_teamsConversationMessage": {
        "type": "object",
        "description": "Single message in a Teams conversation history",
        "properties": {
          "role": {
            "type": "string",
            "enum": [
              "user",
              "assistant",
              "system"
            ],
            "description": "Who sent the message"
          },
          "content": {
            "type": "string",
            "description": "Message content"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the message was sent"
          }
        }
      },
      "_teamsElement": {
        "type": "object",
        "description": "Element reference in a Teams conversation",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "description": "Element type"
          },
          "objectId": {
            "type": "integer",
            "description": "Element ID"
          },
          "scorecardId": {
            "type": "integer",
            "description": "Scorecard ID"
          },
          "periodId": {
            "type": "integer",
            "description": "Period ID"
          },
          "name": {
            "type": "string",
            "description": "Element name"
          }
        }
      },
      "_managementReport": {
        "readOnly": true,
        "type": "object",
        "properties": {
          "reportId": {
            "type": "integer"
          },
          "districtId": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "reportType": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "generatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "complete": {
            "type": "boolean"
          },
          "failed": {
            "type": "boolean"
          },
          "user": {
            "type": "string"
          },
          "link": {
            "type": "object",
            "properties": {
              "validUntil": {
                "type": "string",
                "format": "date-time",
                "readOnly": true
              },
              "url": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        },
        "required": [
          "reportId",
          "reportType",
          "name"
        ]
      },
      "_mcpElement": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "category",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk",
              "user",
              "period",
              "status",
              "customField"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "initiativeId": {
            "type": "integer"
          },
          "measureId": {
            "type": "integer"
          },
          "scorecardId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "scorecard": {
            "type": "string"
          },
          "ownerId": {
            "type": "integer"
          },
          "owner": {
            "type": "string"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "collaboratorNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": "string",
            "format": "date"
          },
          "sortOrder": {
            "type": [
              "number",
              "null"
            ]
          },
          "access": {
            "type": "string",
            "enum": [
              "No Access",
              "Browser",
              "Updater",
              "Editor",
              "Scorecard Admin",
              "Administrator"
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fieldId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "fieldType": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "fieldId",
                "name",
                "fieldType",
                "value"
              ]
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_mcpLink"
            }
          }
        },
        "required": [
          "object",
          "objectId",
          "name"
        ]
      },
      "_seriesDataItem": {
        "type": "object",
        "properties": {
          "periodId": {
            "type": "integer"
          },
          "value": {
            "type": [
              "number",
              "string",
              "null"
            ]
          },
          "displayPeriodId": {
            "type": "integer"
          },
          "periodLocked": {
            "type": "boolean"
          },
          "statusId": {
            "type": "integer"
          },
          "measureSeriesId": {
            "type": "integer"
          },
          "measureId": {
            "type": "integer"
          },
          "locked": {
            "type": "boolean"
          },
          "scorecardLocked": {
            "type": "boolean"
          },
          "calculated": {
            "type": "boolean"
          },
          "numberFormat": {
            "$ref": "#/components/schemas/_numberFormat"
          },
          "statusDisplay": {
            "type": "string"
          },
          "hideRepeated": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "periodId",
          "value"
        ]
      },
      "_mcpLink": {
        "type": "object",
        "properties": {
          "fieldId": {
            "type": "string",
            "enum": [
              "objectives",
              "risks",
              "parentMilestone",
              "categories",
              "actionItems",
              "subMilestones",
              "initiatives",
              "goals",
              "children",
              "initiativeMeasures",
              "parents",
              "measureInitiatives",
              "measures",
              "milestones",
              "childInitiatives",
              "childMeasures"
            ]
          },
          "object": {
            "type": "string",
            "enum": [
              "category",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "scorecard": {
            "type": "string"
          },
          "scorecardId": {
            "type": "integer"
          },
          "access": {
            "type": "string",
            "enum": [
              "No Access",
              "Browser",
              "Updater",
              "Editor",
              "Scorecard Admin",
              "Administrator"
            ]
          },
          "weight": {
            "type": "integer"
          }
        },
        "required": [
          "fieldId",
          "object",
          "objectId"
        ]
      },
      "_label": {
        "type": "object",
        "properties": {
          "defaultPlural": {
            "type": "string",
            "maxLength": 50.0
          },
          "plural": {
            "type": "string",
            "maxLength": 50.0
          },
          "defaultName": {
            "type": "string",
            "maxLength": 50.0
          },
          "labelId": {
            "type": "integer"
          },
          "fieldId": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "maxLength": 50.0
          },
          "customizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "plural": {
                  "type": "string",
                  "maxLength": 50.0
                },
                "labelId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string",
                  "maxLength": 50.0
                },
                "type": {
                  "type": "string"
                },
                "scorecard": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "name"
              ]
            }
          }
        },
        "required": [
          "name"
        ]
      },
      "_mcpElementStatus": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "scorecardId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "period": {
            "type": "string"
          },
          "periodDate": {
            "type": "string",
            "format": "date"
          },
          "statusId": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "analysis": {
            "type": "string"
          },
          "recommendations": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "access": {
            "type": "string",
            "enum": [
              "No Access",
              "Browser",
              "Updater",
              "Editor",
              "Scorecard Admin",
              "Administrator"
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fieldId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "fieldType": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "fieldId",
                "name",
                "fieldType",
                "value"
              ]
            }
          }
        },
        "required": [
          "object",
          "objectId",
          "periodId",
          "scorecardId",
          "name",
          "access"
        ]
      },
      "_podLayout": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "area": {
              "type": "string"
            },
            "class": {
              "type": "string"
            },
            "page": {
              "type": "integer"
            },
            "pods": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "pods": {
                    "$ref": "#/components/schemas/_pods"
                  },
                  "style": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "pods",
                  "style",
                  "id"
                ]
              }
            }
          },
          "required": [
            "area",
            "class",
            "page",
            "pods"
          ]
        }
      },
      "_cardCoordinates": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "w": {
              "type": "integer"
            },
            "h": {
              "type": "integer"
            },
            "x": {
              "type": "integer"
            },
            "y": {
              "type": "integer"
            },
            "i": {
              "type": "string"
            },
            "minW": {
              "type": "number"
            },
            "minH": {
              "type": "number"
            },
            "moved": {
              "type": "boolean"
            },
            "static": {
              "type": "boolean"
            }
          },
          "required": [
            "w",
            "h",
            "x",
            "y",
            "i"
          ]
        }
      },
      "_change": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "initiativeId": {
            "type": "integer"
          },
          "measureId": {
            "type": "integer"
          },
          "scorecardId": {
            "type": "integer"
          },
          "layoutId": {
            "type": "integer"
          },
          "fields": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "object",
          "objectId",
          "fields"
        ]
      },
      "_filterOption": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "compare": {
              "type": "string"
            },
            "fieldId": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "type": {
              "type": "string"
            },
            "object": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "picklist": {
              "type": "array",
              "items": {
                "type": [
                  "integer",
                  "string"
                ]
              }
            }
          }
        }
      },
      "_field": {
        "type": "object",
        "properties": {
          "template": {
            "type": "string"
          },
          "fieldId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "fieldType": {
            "type": "string",
            "enum": [
              "edit",
              "update",
              "readOnly",
              "link",
              "initiative"
            ]
          },
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "readOnly": {
            "type": "boolean"
          },
          "value": {},
          "editValue": {},
          "object": {
            "type": "string"
          },
          "updateMode": {
            "type": "boolean"
          },
          "tab": {
            "type": "string"
          },
          "hidden": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "defaultValue": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "color": {
            "type": "string",
            "enum": [
              "default",
              "primary",
              "secondary",
              "accent1",
              "accent2",
              "accent3",
              "accent4",
              "accent5",
              "accent6"
            ]
          }
        }
      },
      "_reactions": {
        "type": "object",
        "properties": {
          "heart": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "thumbsUp": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "thumbsDown": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "laugh": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "surprised": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "hooray": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "caution": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "questionMark": {
            "type": "array",
            "items": {
              "type": "number"
            }
          }
        }
      },
      "_chartSeries": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "color": {
            "type": "string",
            "pattern": "^#[0-9A-Fa-f]{6}$"
          },
          "markerColor": {
            "type": "string",
            "pattern": "^#[0-9A-Fa-f]{6}$"
          },
          "dataLabelStyle": {
            "type": "string",
            "enum": [
              "",
              "none",
              "value",
              "rowLabel",
              "columnLabel"
            ]
          },
          "isSecondAxis": {
            "type": "boolean"
          },
          "lineStroke": {
            "type": "string",
            "enum": [
              "",
              "Solid",
              "ShortDash",
              "ShortDot",
              "ShortDashDot",
              "ShortDashDotDot",
              "Dot",
              "Dash",
              "LongDash",
              "DashDot",
              "LongDashDot",
              "LongDashDotDot"
            ]
          },
          "marker": {
            "type": "string",
            "enum": [
              "",
              "none",
              "circle",
              "square",
              "diamond",
              "triangle",
              "triangle-down"
            ]
          },
          "measureSeriesId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "lineWidth": {
            "type": "integer"
          },
          "periodOffset": {
            "type": "integer"
          },
          "place": {
            "type": "string",
            "enum": [
              "",
              "default"
            ]
          },
          "regressionModel": {
            "type": "string",
            "enum": [
              "",
              "linear",
              "exponential",
              "logarithmic",
              "power",
              "polynomial"
            ]
          },
          "seriesType": {
            "type": "string",
            "enum": [
              "",
              "standard",
              "trendline",
              "offset"
            ]
          },
          "shape": {
            "type": "string",
            "enum": [
              "",
              "bar",
              "line",
              "area",
              "spline",
              "column"
            ]
          },
          "sortOrder": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "measureSeriesId",
          "marker",
          "place"
        ]
      },
      "_cellValue": {
        "type": "object",
        "properties": {
          "lookup": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "statusDisplay": {
            "type": "string"
          },
          "statusId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "category",
              "chart",
              "objective",
              "measure",
              "measureSeries",
              "seriesData",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "measureId": {
            "type": "integer"
          },
          "scorecardId": {
            "type": "integer"
          },
          "updateMode": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          },
          "periodGroup": {
            "type": "string"
          },
          "ownerId": {
            "type": "string"
          },
          "completed": {
            "type": "boolean"
          },
          "fieldId": {
            "type": "string"
          },
          "seriesData": {
            "$ref": "#/components/schemas/_seriesDataItem"
          },
          "hideRepeated": {
            "type": "boolean"
          },
          "hideStatus": {
            "type": "boolean"
          },
          "showOwner": {
            "type": "boolean"
          },
          "seriesName": {
            "type": "string"
          },
          "periodicity": {
            "type": "number"
          },
          "value": {
            "oneOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/Status"
          },
          "customFields": {
            "type": "object",
            "patternProperties": {
              "^.*$": {
                "$ref": "#/components/schemas/CustomField"
              }
            }
          },
          "calculatedFields": {
            "type": "object",
            "patternProperties": {
              "^.*$": {
                "$ref": "#/components/schemas/CalculatedField"
              }
            }
          },
          "name": {
            "type": "string"
          },
          "measure": {
            "type": "string"
          },
          "chart": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Chart"
              },
              {
                "type": "string"
              }
            ]
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess",
            "readOnly": true
          }
        }
      },
      "_notification": {
        "type": "object",
        "properties": {
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "notificationId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "action": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "isTemplate": {
            "type": "boolean"
          },
          "adminCreated": {
            "type": "boolean"
          },
          "periodOffset": {
            "type": "integer"
          },
          "detectionType": {
            "type": "string"
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          }
        }
      },
      "_cardLayout": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "isLocked": {
            "type": "boolean"
          },
          "coordinates": {
            "$ref": "#/components/schemas/_cardCoordinates"
          },
          "visualSettings": {
            "$ref": "#/components/schemas/_cardVisualSettings"
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "chart",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "pod": {
            "type": "string"
          }
        },
        "required": [
          "coordinates"
        ]
      },
      "_session": {
        "type": "object",
        "properties": {
          "step": {
            "enum": [
              "login",
              "2fa",
              "sso"
            ]
          },
          "message": {
            "type": "string"
          },
          "error": {
            "type": [
              "string",
              "object",
              "null"
            ]
          },
          "userId": {
            "type": "integer"
          },
          "email": {
            "type": "string"
          },
          "periodId": {
            "type": "integer"
          },
          "token": {
            "type": "string"
          },
          "deviceCookie": {
            "type": "string"
          },
          "success": {
            "type": "boolean"
          },
          "machineId": {
            "type": "string"
          },
          "sessionId": {
            "type": "string"
          },
          "districtId": {
            "type": "integer"
          },
          "authEndpoint": {
            "type": "string"
          },
          "idpId": {
            "type": "string"
          }
        }
      },
      "_seriesData": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/_seriesDataItem"
        }
      },
      "_numberFormat": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "precision": {
            "type": "integer"
          },
          "decimal": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "thousand": {
            "type": "string"
          },
          "format": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "neg": {
                    "type": "string"
                  },
                  "pos": {
                    "type": "string"
                  },
                  "zero": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "string"
              }
            ]
          }
        }
      },
      "_workflowElement": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "measure",
              "objective",
              "initiative",
              "actionItem",
              "milestone",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "completed": {
            "type": "boolean"
          },
          "completeDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0,
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess",
            "readOnly": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastUpdatedBy": {
            "type": "integer",
            "readOnly": true
          },
          "period": {
            "type": "string",
            "readOnly": true
          },
          "periodGroup": {
            "type": "string",
            "readOnly": true
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "statusId": {
            "type": "integer",
            "readOnly": true
          },
          "updaterType": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "userId"
        ]
      },
      "_reportColumn": {
        "type": "object",
        "properties": {
          "fieldId": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "object": {
            "type": "string"
          },
          "updateMode": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          },
          "customLabel": {
            "type": "string"
          },
          "template": {
            "type": "string"
          },
          "width": {
            "type": "object",
            "properties": {
              "width": {
                "type": "integer"
              },
              "minWidth": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            }
          },
          "statusDisplay": {
            "type": "string"
          },
          "tableStyleId": {
            "type": "integer"
          },
          "showOwner": {
            "type": "boolean"
          },
          "hideStatus": {
            "type": "boolean"
          },
          "readOnly": {
            "type": "boolean"
          },
          "fullWidth": {
            "type": "boolean"
          },
          "repeatValues": {
            "type": "boolean"
          },
          "backgroundColor": {
            "type": "string"
          },
          "backgroundTransparency": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "periods": {
            "type": "object",
            "properties": {
              "periodDisplay": {
                "type": "string"
              },
              "periodCount": {
                "type": "integer"
              },
              "periodGroupId": {
                "type": "integer"
              },
              "selectedPeriodCount": {
                "type": "integer"
              },
              "selectedPeriods": {
                "type": "string"
              }
            }
          }
        },
        "required": [
          "fieldId"
        ]
      },
      "_pods": {
        "type": "object",
        "properties": {
          "hidden": {
            "type": "boolean"
          },
          "access": {
            "type": "string",
            "readOnly": true,
            "enum": [
              "Browser",
              "Updater",
              "Editor",
              "Administrator",
              "Limited",
              "No Access",
              "Scorecard Admin",
              "By Scorecard",
              "Assign Group"
            ]
          },
          "updateMode": {
            "type": "boolean"
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "fieldId": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "title": {
            "type": "string"
          },
          "chartName": {
            "type": "string",
            "readOnly": true
          },
          "readOnly": {
            "type": "boolean"
          },
          "format": {
            "type": "object",
            "properties": {
              "podStyleId": {
                "type": "integer"
              },
              "hideLevel": {
                "type": "integer"
              },
              "hidePrint": {
                "type": "boolean"
              },
              "hideOnline": {
                "type": "boolean"
              },
              "hidePublish": {
                "type": "boolean"
              },
              "hideBorder": {
                "type": "boolean"
              },
              "hidePadding": {
                "type": "boolean"
              }
            }
          }
        }
      },
      "_evaluations": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "calculation": {
              "type": "string"
            },
            "compare": {
              "type": "string"
            },
            "enabled": {
              "type": "boolean"
            },
            "statusId": {
              "type": "integer"
            },
            "measureSeries": {
              "type": "string"
            },
            "seriesId": {
              "type": "integer"
            },
            "statusName": {
              "type": "string"
            },
            "sortOrder": {
              "type": "integer"
            }
          },
          "required": [
            "enabled",
            "statusId",
            "statusName"
          ]
        }
      },
      "_notificationElement": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "objectName": {
            "type": "string",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "scorecardId": {
            "type": "integer"
          },
          "displayPeriodId": {
            "type": "integer",
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "statusId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "access": {
            "type": "string",
            "readOnly": true,
            "enum": [
              "Browser",
              "Updater",
              "Editor",
              "Administrator",
              "Limited",
              "No Access",
              "Scorecard Admin"
            ]
          },
          "favorite": {
            "type": "boolean"
          },
          "editor": {
            "type": "boolean",
            "readOnly": true
          },
          "updater": {
            "type": "boolean",
            "readOnly": true
          },
          "events": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "activity": {
                  "type": "string"
                },
                "logFileAlertId": {
                  "type": "integer"
                },
                "notificationDate": {
                  "type": "string",
                  "format": "date-time"
                },
                "notificationEventId": {
                  "type": "integer"
                }
              },
              "required": [
                "activity",
                "notificationDate"
              ]
            }
          }
        }
      },
      "_access": {
        "type": "string",
        "readOnly": true,
        "enum": [
          "Browser",
          "Updater",
          "Editor",
          "Administrator",
          "Limited",
          "No Access",
          "Scorecard Admin",
          "By Scorecard",
          "Assign Group"
        ]
      },
      "_landingPageLayout": {
        "type": "object",
        "properties": {
          "hero": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "main": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "rail": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "hero",
          "main",
          "rail"
        ]
      },
      "_playbookStep": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "stepKey": {
                "type": "string"
              },
              "type": {
                "const": "chat"
              },
              "name": {
                "type": "string"
              },
              "systemPrompt": {
                "type": "string"
              },
              "runnerMessage": {
                "type": "string"
              },
              "tools": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "stepKey",
              "type",
              "name"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "stepKey": {
                "type": "string"
              },
              "type": {
                "const": "branch"
              },
              "name": {
                "type": "string"
              },
              "runnerMessage": {
                "type": "string"
              },
              "routes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/_playbookBranchRoute"
                }
              }
            },
            "required": [
              "stepKey",
              "type",
              "name"
            ],
            "additionalProperties": true
          }
        ]
      },
      "_yAxisFormat": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "object",
            "readOnly": true,
            "properties": {
              "precision": {
                "type": "integer"
              },
              "decimal": {
                "type": "string"
              },
              "symbol": {
                "type": "string"
              },
              "thousand": {
                "type": "string"
              },
              "format": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "neg": {
                        "type": "string"
                      },
                      "pos": {
                        "type": "string"
                      },
                      "zero": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "string"
                  }
                ]
              }
            }
          }
        ]
      },
      "Receipt": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "readOnly": true
          },
          "objects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "readOnly": true
                },
                "objectId": {
                  "type": "integer",
                  "readOnly": true
                },
                "measureId": {
                  "type": "integer",
                  "readOnly": true
                },
                "initiativeId": {
                  "type": "integer",
                  "readOnly": true
                },
                "shadowMeasureId": {
                  "type": "integer",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                },
                "action": {
                  "type": "string",
                  "description": "Element edit outcomes include edited, approvalRequired, rejected, and failed.",
                  "readOnly": true
                },
                "changed": {
                  "type": "boolean",
                  "readOnly": true
                },
                "requestId": {
                  "type": "string",
                  "readOnly": true
                }
              }
            },
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "measureId": {
            "type": "integer",
            "readOnly": true
          },
          "initiativeId": {
            "type": "integer",
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "siteId": {
            "type": "integer",
            "readOnly": true
          },
          "templateId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "action": {
            "type": "string",
            "description": "Element edit outcomes include edited, updated, approvalRequired, rejected, failed, and notApplied. notApplied means the write was refused and nothing changed; read reason for why. addQueued, editQueued, updateQueued, copyQueued, and deleteQueued mean the change was queued for approval; read approvalId.",
            "readOnly": true
          },
          "approvalId": {
            "type": "integer",
            "description": "Set when the action ends in Queued.",
            "readOnly": true
          },
          "reason": {
            "type": "string",
            "description": "Why a notApplied action did not write. periodLocked means the element's display period is locked.",
            "readOnly": true
          },
          "changed": {
            "type": "boolean",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "readOnly": true
          },
          "requestId": {
            "type": "string",
            "readOnly": true
          },
          "success": {
            "type": "boolean",
            "readOnly": true
          },
          "message": {
            "type": "string",
            "readOnly": true
          },
          "error": {
            "type": [
              "string",
              "object",
              "null"
            ],
            "readOnly": true
          },
          "fields": {
            "type": "object",
            "additionalProperties": true,
            "readOnly": true
          }
        }
      },
      "Elements": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "scorecardId": {
              "type": "integer"
            },
            "ownerId": {
              "type": "integer"
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "object": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ],
              "readOnly": true
            },
            "objectId": {
              "type": "integer",
              "readOnly": true
            },
            "shadowObject": {
              "type": "string",
              "readOnly": true
            },
            "shadowObjectId": {
              "type": "integer",
              "readOnly": true
            },
            "shadowMeasureId": {
              "type": "integer",
              "readOnly": true
            },
            "scorecard": {
              "type": "string",
              "readOnly": true
            },
            "userEmail": {
              "type": "string",
              "readOnly": true
            },
            "userName": {
              "type": "string",
              "readOnly": true
            },
            "userId": {
              "type": "integer",
              "readOnly": true
            },
            "externalApplication": {
              "type": "string",
              "readOnly": true
            },
            "externalObject": {
              "type": "string",
              "readOnly": true
            },
            "externalObjectId": {
              "type": "string",
              "readOnly": true
            },
            "approvalsPending": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "update",
                      "edit",
                      "delete",
                      "undelete"
                    ]
                  },
                  "approvalId": {
                    "type": "integer"
                  },
                  "userId": {
                    "type": "integer"
                  }
                },
                "required": [
                  "type",
                  "approvalId",
                  "userId"
                ]
              },
              "description": "Open approvals on this element. A non-empty list locks it.",
              "readOnly": true
            },
            "approvers": {
              "type": "array",
              "items": {
                "type": "integer"
              },
              "description": "Users who can approve changes on this element's scorecard.",
              "readOnly": true
            }
          },
          "required": [
            "object",
            "objectId",
            "scorecardId",
            "scorecard",
            "name"
          ]
        }
      },
      "ActionItemInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": "string",
            "format": "date"
          },
          "periodGroupId": {
            "type": "integer"
          },
          "hiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "ownerId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "scorecardId"
        ]
      },
      "Element": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "ownerId": {
            "type": "integer"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "periodGroupId": {
            "type": "integer"
          },
          "hiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": "string",
            "format": "date"
          },
          "parentId": {
            "type": [
              "string",
              "integer",
              "null"
            ]
          },
          "measureId": {
            "type": [
              "integer",
              "null"
            ]
          },
          "shadowMeasureId": {
            "type": [
              "integer",
              "null"
            ],
            "readOnly": true
          },
          "sortOrder": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "priority": {
            "type": "integer",
            "minimum": 1.0,
            "maximum": 1000.0,
            "default": 500.0,
            "description": "Priority level for scheduling (1-1000, higher numbers = higher priority)"
          },
          "criticalPath": {
            "type": "boolean",
            "default": false,
            "readOnly": true
          },
          "slack": {
            "type": [
              "integer",
              "null"
            ],
            "readOnly": true
          },
          "baselineCost": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          },
          "links": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fieldId": {
                  "type": "string"
                },
                "object": {
                  "type": "string"
                },
                "objectId": {
                  "type": "integer"
                }
              }
            }
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "category",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk",
              "workflow"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "approvalsRequired": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "update",
                "edit",
                "add",
                "delete"
              ]
            },
            "description": "Change types the current user must submit for approval on this element's scorecard.",
            "readOnly": true
          },
          "approvalsPending": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "update",
                    "edit",
                    "delete",
                    "undelete"
                  ]
                },
                "approvalId": {
                  "type": "integer"
                },
                "userId": {
                  "type": "integer"
                }
              },
              "required": [
                "type",
                "approvalId",
                "userId"
              ]
            },
            "description": "Open approvals on this element. A non-empty list locks it.",
            "readOnly": true
          },
          "approvers": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Users who can approve changes on this element's scorecard.",
            "readOnly": true
          },
          "shadowObject": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "readOnly": true
          },
          "shadowObjectId": {
            "type": [
              "integer",
              "null"
            ],
            "readOnly": true
          },
          "taskDependencies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "predecessorObject": {
                  "type": "string"
                },
                "predecessorObjectId": {
                  "type": "integer"
                },
                "successorObject": {
                  "type": "string"
                },
                "successorObjectId": {
                  "type": "integer"
                },
                "type": {
                  "type": "string"
                },
                "lag": {
                  "type": "integer"
                }
              }
            },
            "readOnly": true
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess"
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "archived": {
            "type": "boolean",
            "readOnly": true
          },
          "displayPeriodId": {
            "type": "integer",
            "readOnly": true
          },
          "favorite": {
            "type": "boolean",
            "readOnly": true
          },
          "evaluated": {
            "type": "boolean",
            "readOnly": true
          },
          "evaluationOption": {
            "type": [
              "string",
              "integer"
            ]
          },
          "homePage": {
            "type": "boolean",
            "readOnly": true
          },
          "initiative": {
            "type": "string",
            "readOnly": true
          },
          "initiativeId": {
            "type": "integer",
            "readOnly": true
          },
          "lastCalculated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastUpdatedBy": {
            "type": "integer",
            "readOnly": true
          },
          "milestoneCustomSortEnabled": {
            "type": "boolean"
          },
          "level": {
            "type": "integer",
            "readOnly": true
          },
          "locked": {
            "type": "boolean",
            "readOnly": true
          },
          "collaboratorNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "owner": {
            "type": [
              "integer",
              "boolean",
              "string",
              "null"
            ],
            "readOnly": true
          },
          "ownerType": {
            "type": "string",
            "readOnly": true
          },
          "recalcPending": {
            "type": "boolean",
            "readOnly": true
          },
          "score": {
            "type": [
              "number",
              "null"
            ],
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "scorecardLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "type": {
            "type": "string",
            "readOnly": true
          },
          "treeLevel": {
            "type": "integer",
            "readOnly": true
          },
          "hasChildren": {
            "type": "boolean",
            "readOnly": true
          },
          "weight": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "scorecardId"
        ]
      },
      "Charts": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "category": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "sortOrder": {
              "type": "integer"
            },
            "disabled": {
              "type": "boolean"
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "chartId": {
              "type": "integer",
              "readOnly": true
            },
            "object": {
              "type": "string",
              "enum": [
                "chart"
              ],
              "readOnly": true
            },
            "objectId": {
              "type": "integer",
              "readOnly": true
            },
            "parent": {
              "type": "string",
              "readOnly": true
            },
            "parentId": {
              "type": "integer",
              "readOnly": true
            },
            "measureId": {
              "type": "integer",
              "readOnly": true
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "deleteDate": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "lastEdited": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "lastEditedBy": {
              "type": "integer",
              "readOnly": true
            }
          },
          "required": [
            "chartId",
            "object",
            "objectId",
            "name"
          ]
        }
      },
      "ChartInput": {
        "type": "object",
        "properties": {
          "chartId": {
            "type": "integer",
            "readOnly": true
          },
          "measureId": {
            "type": "integer",
            "readOnly": true
          },
          "chartType": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "maxLength": 500.0
          },
          "chartSize": {
            "type": "string",
            "enum": [
              "medium",
              "large",
              "small"
            ],
            "default": "medium"
          },
          "showGridHidden": {
            "type": "boolean"
          },
          "hiddenSummary": {
            "type": "boolean"
          },
          "sortOrder": {
            "type": "integer"
          },
          "periodGroupId": {
            "type": "integer"
          },
          "hiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "periodDisplay": {
            "type": "string",
            "enum": [
              "cp",
              "next",
              "last",
              "fytd",
              "fy",
              "plusminus",
              "all",
              "cytd",
              "cy"
            ],
            "default": "all"
          },
          "periodCount": {
            "type": "integer"
          },
          "sortSeries": {
            "type": "string",
            "enum": [
              "asc",
              "desc",
              "none"
            ],
            "default": "none"
          },
          "showFuture": {
            "type": "boolean"
          },
          "showLegend": {
            "type": "string"
          },
          "transposed": {
            "type": "boolean"
          },
          "isInterpolated": {
            "type": "boolean"
          },
          "showEmpty": {
            "type": "boolean"
          },
          "isReversed": {
            "type": "boolean"
          },
          "legendPosition": {
            "type": "string",
            "enum": [
              "",
              "bottomCenter",
              "bottomRight",
              "topRight",
              "bottomLeft",
              "topLeft",
              "left",
              "topCenter",
              "right"
            ],
            "default": "bottomCenter"
          },
          "autoRange": {
            "type": "boolean"
          },
          "isTransposed": {
            "type": "boolean"
          },
          "enablePlotBands": {
            "type": "boolean"
          },
          "plotBands": {
            "$ref": "#/components/schemas/_plotBands"
          },
          "chartFormat": {
            "type": "object",
            "patternProperties": {
              "^.*$": {}
            }
          },
          "customFormat": {
            "type": "string"
          },
          "customJson": {
            "type": "string"
          },
          "palette": {
            "type": "string"
          },
          "colors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "title": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "altText": {
            "type": "string"
          },
          "xTitle": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "yTitle": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "yMin": {
            "type": [
              "integer",
              "null"
            ]
          },
          "yMax": {
            "type": [
              "integer",
              "null"
            ]
          },
          "yAxis2Format": {
            "type": "integer"
          },
          "yAxisFormat": {
            "type": "integer"
          },
          "hideYAxis": {
            "type": "boolean"
          },
          "hideYAxis2": {
            "type": "boolean"
          },
          "yAxisCustom": {
            "type": "integer"
          },
          "secondAxis": {
            "type": "boolean"
          },
          "y2Title": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "y2Min": {
            "type": [
              "integer",
              "null"
            ]
          },
          "y2Max": {
            "type": [
              "integer",
              "null"
            ]
          },
          "yAxis2Custom": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "category": {
            "type": "string",
            "readOnly": true
          },
          "chartSeries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_chartSeries"
            }
          },
          "periodChart": {
            "type": "boolean",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "readOnly": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "chart"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "parent": {
            "type": "string",
            "readOnly": true
          },
          "parentId": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "chartType",
          "periodDisplay",
          "chartSeries"
        ]
      },
      "CustomFieldData": {
        "type": "object",
        "additionalProperties": {
          "type": "object",
          "properties": {
            "periodId": {
              "type": "integer"
            },
            "value": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "boolean"
                },
                {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              ]
            },
            "displayValue": {
              "type": "string",
              "readOnly": true
            },
            "updateMode": {
              "type": "boolean",
              "readOnly": true
            },
            "name": {
              "type": "string",
              "readOnly": true
            },
            "customFieldType": {
              "type": "string",
              "enum": [
                "image",
                "user",
                "myFavorites",
                "numeric",
                "currency",
                "grid",
                "boolean",
                "multipick",
                "html",
                "pagehtml",
                "statusIcon",
                "datahtml",
                "status",
                "link",
                "percent",
                "accounting",
                "myScorecard",
                "gridHeader",
                "kanban",
                "chart",
                "integer",
                "date",
                "picklist",
                "usermultipick",
                "text",
                "string"
              ],
              "readOnly": true
            },
            "sortOrder": {
              "type": "integer",
              "readOnly": true
            },
            "fieldId": {
              "type": "string",
              "readOnly": true
            },
            "pickList": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "readOnly": true
            },
            "id": {
              "type": "integer",
              "readOnly": true
            },
            "customFieldId": {
              "type": "integer",
              "readOnly": true
            }
          },
          "required": [
            "name",
            "customFieldType",
            "updateMode",
            "customFieldId"
          ]
        }
      },
      "ElementFields": {
        "readOnly": true,
        "type": "object",
        "properties": {
          "element": {
            "$ref": "#/components/schemas/ElementStatus"
          },
          "layout": {
            "$ref": "#/components/schemas/_podLayout"
          },
          "cardLayout": {
            "$ref": "#/components/schemas/_cardLayout"
          },
          "fields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/_field"
            }
          }
        },
        "required": [
          "layout",
          "fields",
          "element"
        ]
      },
      "Links": {
        "type": "array",
        "items": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/Element"
            },
            {
              "type": "object",
              "description": "A goal aligned above or below this one. Goals are not scorecard-scoped and carry no scorecardId.",
              "properties": {
                "fieldId": {
                  "type": "string",
                  "enum": [
                    "alignedTo",
                    "supportedBy"
                  ],
                  "readOnly": true
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "goal"
                  ],
                  "readOnly": true
                },
                "objectId": {
                  "type": "integer",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                },
                "ownerId": {
                  "type": "integer",
                  "readOnly": true
                },
                "visibility": {
                  "type": "integer",
                  "readOnly": true
                }
              },
              "required": [
                "fieldId",
                "object",
                "objectId",
                "name"
              ]
            }
          ]
        },
        "readOnly": true
      },
      "MeasureData": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "measureSeriesId": {
              "type": "integer"
            },
            "periodId": {
              "type": "integer"
            },
            "statusId": {
              "type": "integer"
            },
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "measureId": {
              "type": "integer",
              "readOnly": true
            },
            "seriesName": {
              "type": "string",
              "readOnly": true
            },
            "hiddenSeries": {
              "type": "boolean",
              "readOnly": true
            },
            "seriesLocked": {
              "type": "boolean",
              "readOnly": true
            },
            "seriesDataTypeId": {
              "type": "integer",
              "readOnly": true
            },
            "currency": {
              "type": "string",
              "readOnly": true
            },
            "numberFormatId": {
              "type": "integer",
              "readOnly": true
            },
            "numberFormat": {
              "$ref": "#/components/schemas/_numberFormat",
              "readOnly": true
            },
            "periodName": {
              "type": "string",
              "readOnly": true
            },
            "periodDate": {
              "type": "string",
              "format": "date",
              "readOnly": true
            },
            "locked": {
              "type": "boolean",
              "readOnly": true
            }
          },
          "required": [
            "measureSeriesId",
            "periodId"
          ]
        }
      },
      "MeasureDataInput": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "measureSeriesId": {
              "type": "integer"
            },
            "periodId": {
              "type": "integer"
            },
            "status": {
              "type": "integer"
            },
            "value": {
              "type": "number"
            }
          },
          "required": [
            "measureSeriesId",
            "periodId"
          ]
        }
      },
      "MeasureSerieses": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/MeasureSeries"
        }
      },
      "MeasureSeries": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "seriesDataTypeId": {
            "type": "integer",
            "default": 4.0,
            "enum": [
              4.0,
              5.0,
              6.0,
              8.0,
              9.0,
              10.0,
              11.0
            ]
          },
          "currency": {
            "type": "string"
          },
          "numberFormatId": {
            "type": "integer"
          },
          "locked": {
            "type": "boolean"
          },
          "disabled": {
            "type": "boolean"
          },
          "hiddenSeries": {
            "type": "boolean"
          },
          "hiddenSummary": {
            "type": "boolean"
          },
          "colWidth": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "calculation": {
            "type": "string"
          },
          "aggregateSeries": {
            "type": "boolean"
          },
          "aggregateScorecards": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "aggregateObject": {
            "type": "string",
            "enum": [
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "default": "measure"
          },
          "aggregateMeasures": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "aggregateMeasureName": {
            "type": "string"
          },
          "aggregateType": {
            "type": "string",
            "enum": [
              "STDEV",
              "AVERAGE",
              "SUM",
              "COUNT"
            ]
          },
          "aggregateName": {
            "type": "string"
          },
          "aggregateNulls": {
            "type": "boolean"
          },
          "aggregateScorecardType": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0,
              3.0,
              4.0
            ]
          },
          "aggregateSeriesType": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0
            ]
          },
          "aggregateMeasureType": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0
            ]
          },
          "aggregateScorecardTag": {
            "type": "integer"
          },
          "aggregateMeasureTag": {
            "type": "integer"
          },
          "aggregateSeriesTag": {
            "type": "integer"
          },
          "statusSeries": {
            "type": "boolean"
          },
          "statusScorecardType": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0,
              3.0,
              4.0
            ]
          },
          "statusScorecards": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "statusObjects": {
            "type": "string",
            "enum": [
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "statusStatus": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "statusType": {
            "type": "integer",
            "enum": [
              0.0,
              3.0,
              4.0,
              5.0
            ]
          },
          "statusSeriesName": {
            "type": "string"
          },
          "referenceSeries": {
            "type": "boolean"
          },
          "referenceObject": {
            "type": "string"
          },
          "referenceObjectId": {
            "type": "integer"
          },
          "referenceScorecardId": {
            "type": "integer"
          },
          "referenceFieldId": {
            "type": "string"
          },
          "measureEvaluationOption": {
            "type": "integer"
          },
          "measureSeriesId": {
            "type": "integer",
            "readOnly": true
          },
          "measureId": {
            "type": "integer",
            "readOnly": true
          },
          "seriesData": {
            "type": "string",
            "readOnly": true
          },
          "calculated": {
            "type": "boolean",
            "readOnly": true
          },
          "evaluated": {
            "type": "boolean",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "measureSeries"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "seriesDataType": {
            "type": "string",
            "readOnly": true
          },
          "useForEvaluation": {
            "type": "boolean",
            "readOnly": true
          },
          "parent": {
            "type": "string",
            "readOnly": true
          },
          "parentId": {
            "type": "integer",
            "readOnly": true
          },
          "parentName": {
            "type": "string",
            "readOnly": true
          },
          "seriesLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "measure": {
            "type": "string",
            "readOnly": true
          },
          "seriesType": {
            "type": "string",
            "readOnly": true
          },
          "peerSeries": {
            "type": "boolean",
            "readOnly": true
          },
          "peerMeasureSeriesId": {
            "type": "integer",
            "readOnly": true
          },
          "peerMeasureId": {
            "type": "integer",
            "readOnly": true
          },
          "peerDistrictId": {
            "type": "integer",
            "readOnly": true
          },
          "peerDistrict": {
            "type": "string",
            "readOnly": true
          },
          "peerGroupId": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "calcError": {
            "type": "boolean",
            "readOnly": true
          },
          "calcErrorMessage": {
            "type": "string",
            "readOnly": true
          },
          "evaluations": {
            "$ref": "#/components/schemas/_evaluations"
          },
          "numberFormat": {
            "$ref": "#/components/schemas/_numberFormat"
          }
        },
        "required": [
          "measureId",
          "name",
          "seriesDataTypeId",
          "object",
          "objectId",
          "measureSeriesId"
        ]
      },
      "MeasureSeriesInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "seriesDataTypeId": {
            "type": "integer",
            "default": 4.0,
            "enum": [
              4.0,
              5.0,
              6.0,
              8.0,
              9.0,
              10.0,
              11.0
            ]
          },
          "currency": {
            "type": "string"
          },
          "numberFormatId": {
            "type": "integer"
          },
          "locked": {
            "type": "boolean"
          },
          "disabled": {
            "type": "boolean"
          },
          "hiddenSeries": {
            "type": "boolean"
          },
          "hiddenSummary": {
            "type": "boolean"
          },
          "colWidth": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "calculation": {
            "type": "string"
          },
          "aggregateSeries": {
            "type": "boolean"
          },
          "aggregateScorecards": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "aggregateObject": {
            "type": "string",
            "enum": [
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "default": "measure"
          },
          "aggregateMeasures": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "aggregateMeasureName": {
            "type": "string"
          },
          "aggregateType": {
            "type": "string",
            "enum": [
              "STDEV",
              "AVERAGE",
              "SUM",
              "COUNT"
            ]
          },
          "aggregateName": {
            "type": "string"
          },
          "aggregateNulls": {
            "type": "boolean"
          },
          "aggregateScorecardType": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0,
              3.0,
              4.0
            ]
          },
          "aggregateSeriesType": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0
            ]
          },
          "aggregateMeasureType": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              3.0,
              4.0,
              5.0,
              6.0,
              7.0
            ]
          },
          "aggregateScorecardTag": {
            "type": "integer"
          },
          "aggregateMeasureTag": {
            "type": "integer"
          },
          "aggregateSeriesTag": {
            "type": "integer"
          },
          "statusSeries": {
            "type": "boolean"
          },
          "statusScorecardType": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0,
              3.0,
              4.0
            ]
          },
          "statusScorecards": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "statusObjects": {
            "type": "string",
            "enum": [
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "statusStatus": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "statusType": {
            "type": "integer",
            "enum": [
              0.0,
              3.0,
              4.0,
              5.0
            ]
          },
          "statusSeriesName": {
            "type": "string"
          },
          "referenceSeries": {
            "type": "boolean"
          },
          "referenceObject": {
            "type": "string"
          },
          "referenceObjectId": {
            "type": "integer"
          },
          "referenceScorecardId": {
            "type": "integer"
          },
          "referenceFieldId": {
            "type": "string"
          },
          "measureEvaluationOption": {
            "type": "integer"
          },
          "evaluations": {
            "$ref": "#/components/schemas/_evaluations"
          }
        },
        "required": [
          "name",
          "seriesDataTypeId"
        ]
      },
      "ReferenceSeries": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "readOnly": true
            },
            "fieldId": {
              "type": "string",
              "readOnly": true
            },
            "readOnly": {
              "type": "boolean",
              "readOnly": true
            }
          },
          "required": [
            "name",
            "fieldId"
          ]
        }
      },
      "SeriesData": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string",
              "enum": [
                "measureSeries"
              ],
              "readOnly": true
            },
            "objectId": {
              "type": "integer",
              "readOnly": true
            },
            "measureSeriesId": {
              "type": "integer",
              "readOnly": true
            },
            "measureId": {
              "type": "integer",
              "readOnly": true
            },
            "name": {
              "type": "string"
            },
            "seriesDataTypeId": {
              "type": "integer"
            },
            "sortOrder": {
              "type": "integer"
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "hiddenSeries": {
              "type": "boolean"
            },
            "calculated": {
              "type": "boolean",
              "readOnly": true
            },
            "evaluated": {
              "type": "boolean",
              "readOnly": true
            },
            "currency": {
              "type": "string"
            },
            "numberFormatId": {
              "type": "integer"
            },
            "numberFormat": {
              "$ref": "#/components/schemas/_numberFormat",
              "readOnly": true
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "seriesType": {
              "type": "string",
              "readOnly": true
            },
            "periodData": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "periodId": {
                    "type": "integer",
                    "readOnly": true
                  },
                  "periodLabel": {
                    "type": "string",
                    "readOnly": true
                  },
                  "value": {
                    "type": [
                      "number",
                      "string",
                      "null"
                    ]
                  },
                  "textValue": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "seriesStatusId": {
                    "type": "integer"
                  },
                  "statusId": {
                    "type": "integer"
                  },
                  "locked": {
                    "type": "boolean",
                    "readOnly": true
                  }
                },
                "required": [
                  "periodId",
                  "statusId",
                  "locked"
                ]
              }
            }
          },
          "required": [
            "object",
            "objectId",
            "measureSeriesId",
            "measureId",
            "name",
            "seriesDataTypeId",
            "sortOrder",
            "active",
            "periodData"
          ]
        }
      },
      "ElementStatus": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "scorecardId": {
            "type": "integer"
          },
          "statusId": {
            "type": "integer"
          },
          "analysis": {
            "type": "string"
          },
          "ownerId": {
            "type": "integer"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "recommendations": {
            "type": "string"
          },
          "initiative": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess"
          },
          "percentComplete": {
            "type": "integer"
          },
          "plannedCost": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          },
          "actualCost": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          },
          "calculatedPercentComplete": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 100.0,
            "readOnly": true
          },
          "currentStartDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "currentEndDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "forecastCost": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          },
          "constraintType": {
            "type": "string",
            "enum": [
              "asap",
              "alap",
              "snet",
              "snlt",
              "fnet",
              "flnt",
              "mso",
              "mfo"
            ],
            "default": "asap",
            "description": "Constraint type: asap (As Soon As Possible), alap (As Late As Possible), mson (Must Start On), msno (Must Start No Earlier Than), mfon (Must Finish On), mfno (Must Finish No Earlier Than)"
          },
          "constraintDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": "string",
            "format": "date"
          },
          "linkMilestoneDates": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0
            ],
            "default": 0.0
          },
          "parentId": {
            "type": "integer"
          },
          "status": {
            "type": "string",
            "readOnly": true
          },
          "hasChildren": {
            "type": "boolean",
            "readOnly": true
          },
          "linkedElements": {
            "type": "boolean",
            "readOnly": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "treeLevel": {
            "type": "integer",
            "readOnly": true
          },
          "autoEvaluation": {
            "type": "boolean",
            "readOnly": true
          },
          "measureId": {
            "type": "integer",
            "readOnly": true
          },
          "shadowMeasureId": {
            "type": "integer",
            "readOnly": true
          },
          "score": {
            "type": [
              "number",
              "null"
            ],
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "scorecardLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "periodicity": {
            "type": "string",
            "readOnly": true
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "periodGroup": {
            "type": "string",
            "readOnly": true
          },
          "period": {
            "type": "string",
            "readOnly": true
          },
          "periodDate": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "reportPeriodId": {
            "type": "integer",
            "readOnly": true
          },
          "previousPeriodId": {
            "type": "integer",
            "readOnly": true
          },
          "periodLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "evaluated": {
            "type": "boolean",
            "readOnly": true
          },
          "calculatedValues": {
            "$ref": "#/components/schemas/_projectCalculatedValues",
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "readOnly": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastUpdatedBy": {
            "type": "integer",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "linkedElements",
          "name",
          "object",
          "objectId",
          "period",
          "periodDate",
          "periodId",
          "periodLocked",
          "scorecard",
          "scorecardId",
          "scorecardLocked"
        ]
      },
      "UpdateStatus": {
        "type": "object",
        "properties": {
          "statusId": {
            "type": "integer"
          },
          "analysis": {
            "type": "string"
          },
          "recommendations": {
            "type": "string"
          },
          "percentComplete": {
            "type": "integer"
          },
          "plannedCost": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          },
          "actualCost": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          },
          "currentStartDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "currentEndDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "forecastCost": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          }
        }
      },
      "PageExports": {
        "type": "object",
        "properties": {
          "fileCount": {
            "type": "integer"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_exportListItem"
            }
          }
        }
      },
      "AiBriefing": {
        "type": "object",
        "properties": {
          "cacheKey": {
            "type": "string",
            "readOnly": true,
            "description": "App-level briefing variant id (e.g. \"recent-updates:v1:executive\")."
          },
          "content": {
            "type": "object",
            "additionalProperties": true,
            "readOnly": true,
            "description": "The generated briefing answer. Shape varies by card; opaque to the cache."
          },
          "inputHash": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true,
            "description": "Advisory hash of the request inputs (diagnostics)."
          },
          "generatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "readOnly": true,
            "description": "When the cached briefing was generated."
          }
        }
      },
      "AiBriefingInput": {
        "type": "object",
        "properties": {
          "cacheKey": {
            "type": "string",
            "description": "App-level briefing variant id (e.g. \"recent-updates:v1:executive\")."
          },
          "content": {
            "type": "string",
            "description": "The generated briefing answer, serialized as a JSON string."
          },
          "inputHash": {
            "type": "string",
            "description": "Advisory hash of the request inputs (diagnostics)."
          }
        },
        "required": [
          "cacheKey",
          "content"
        ]
      },
      "AiBriefingReceipt": {
        "type": "object",
        "properties": {
          "cacheKey": {
            "type": "string",
            "readOnly": true,
            "description": "App-level briefing variant id the answer was saved for."
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "description": "When the briefing was generated/stored."
          }
        }
      },
      "Alerts": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Alert"
        }
      },
      "Alert": {
        "type": "object",
        "properties": {
          "viewed": {
            "type": "boolean"
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "mailContent": {
            "type": "object",
            "properties": {
              "receiptName": {
                "type": "string",
                "readOnly": true
              },
              "fromAddress": {
                "type": "string",
                "readOnly": true
              },
              "subject": {
                "type": "string",
                "readOnly": true
              },
              "jsonContent": {
                "type": "object",
                "properties": {
                  "generatedAt": {
                    "type": "string",
                    "format": "date-time",
                    "readOnly": true
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1.0,
                    "maxLength": 50.0,
                    "readOnly": true
                  }
                }
              },
              "toAddress": {
                "type": "string",
                "readOnly": true
              },
              "template": {
                "type": "string",
                "readOnly": true
              },
              "recipientLocale": {
                "type": "string",
                "readOnly": true
              }
            }
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "alertId": {
            "type": "integer",
            "readOnly": true
          },
          "attachment": {
            "type": "object",
            "readOnly": true,
            "properties": {
              "url": {
                "type": "string",
                "readOnly": true
              },
              "file": {
                "type": "string",
                "readOnly": true
              }
            },
            "additionalProperties": true
          },
          "renderedEmail": {
            "type": "string",
            "readOnly": true
          },
          "alertObject": {
            "type": "string",
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "emailed": {
            "type": "boolean",
            "readOnly": true
          },
          "alertObjectId": {
            "type": "integer",
            "readOnly": true
          },
          "activity": {
            "type": "string",
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "queued": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "readOnly": true
          },
          "action": {
            "type": "string",
            "readOnly": true
          },
          "districtId": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "mailContent",
          "userId",
          "alertId",
          "alertObject",
          "scorecardId",
          "alertObjectId",
          "objectId",
          "queued",
          "object",
          "districtId"
        ]
      },
      "AlertInput": {
        "type": "object",
        "properties": {
          "viewed": {
            "type": "boolean"
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "alertObject": {
            "type": "string",
            "readOnly": true
          },
          "alertObjectId": {
            "type": "integer",
            "readOnly": true
          },
          "action": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": []
      },
      "Announcements": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Announcement"
        }
      },
      "AnnouncementInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "message": {
            "type": "string",
            "minLength": 1.0
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "icon": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 100.0
          },
          "color": {
            "type": "string",
            "enum": [
              "default",
              "primary",
              "secondary",
              "accent1",
              "accent2",
              "accent3",
              "accent4",
              "accent5",
              "accent6"
            ]
          },
          "userId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "message"
        ]
      },
      "Announcement": {
        "type": "object",
        "properties": {
          "announcementId": {
            "type": "integer",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "announcement"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "message": {
            "type": "string",
            "minLength": 1.0
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "icon": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 100.0
          },
          "color": {
            "type": "string",
            "enum": [
              "default",
              "primary",
              "secondary",
              "accent1",
              "accent2",
              "accent3",
              "accent4",
              "accent5",
              "accent6"
            ]
          },
          "userId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "active": {
            "type": "boolean"
          },
          "visible": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "createdBy": {
            "type": "integer",
            "readOnly": true
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "announcementId",
          "districtId",
          "object",
          "objectId",
          "name",
          "message",
          "icon",
          "color",
          "userId",
          "sortOrder",
          "active"
        ]
      },
      "ApiKeys": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/ApiKey"
        }
      },
      "ApiKeyInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "expires": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string",
            "readOnly": true
          },
          "userId": {
            "type": "integer"
          }
        },
        "required": [
          "name"
        ]
      },
      "ApiKey": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "expires": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string"
          },
          "userId": {
            "type": "integer"
          },
          "lastLoginDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "secretKey": {
            "type": "string",
            "readOnly": true
          },
          "lastLoginIp": {
            "type": "string",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "apiKeyId": {
            "type": "integer",
            "readOnly": true
          },
          "apiKey": {
            "type": "string",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "userId",
          "name",
          "apiKeyId",
          "apiKey",
          "object",
          "objectId"
        ]
      },
      "Approvals": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "myChanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Approval"
            }
          },
          "myApprovals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Approval"
            }
          }
        },
        "required": [
          "myChanges",
          "myApprovals"
        ]
      },
      "Approval": {
        "type": "object",
        "properties": {
          "approvalStatus": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              -1.0,
              -2.0
            ],
            "default": 0.0
          },
          "comments": {
            "type": "string"
          },
          "approvalId": {
            "type": "integer",
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "type": {
            "type": "string",
            "enum": [
              "update",
              "edit",
              "add",
              "copy",
              "delete",
              "undelete"
            ],
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "approvers": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "readOnly": true
          },
          "details": {
            "type": "object",
            "additionalProperties": true,
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "fields": {
            "type": "object",
            "patternProperties": {
              "^.*$": {}
            }
          },
          "requestId": {
            "type": "string",
            "readOnly": true
          },
          "queueDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "approvalId",
          "approvalStatus"
        ]
      },
      "ApprovalInput": {
        "type": "object",
        "properties": {
          "approvalStatus": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              -1.0,
              -2.0
            ],
            "default": 0.0
          },
          "comments": {
            "type": "string"
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "type": {
            "type": "string",
            "enum": [
              "update",
              "edit",
              "add",
              "delete"
            ],
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "fields": {
            "type": "object",
            "patternProperties": {
              "^.*$": {}
            }
          }
        },
        "required": [
          "object",
          "objectId",
          "approvalStatus"
        ]
      },
      "Archives": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/Archive"
        }
      },
      "ArchiveInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "userList": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "name",
          "archiveId",
          "userId"
        ]
      },
      "Archive": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "userList": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "archiveDistrictId": {
            "type": "integer",
            "readOnly": true
          },
          "archiveId": {
            "type": "integer",
            "readOnly": true
          },
          "archiveDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "complete": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "failed": {
            "type": "boolean",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "archiveId",
          "userId"
        ]
      },
      "Assets": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": true
        }
      },
      "Attachments": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "fileCount": {
            "type": "integer"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          }
        }
      },
      "AttachmentInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 300.0
          },
          "filename": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "includeInBook": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "attachmentId",
          "filename",
          "object",
          "objectId"
        ]
      },
      "Attachment": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 300.0
          },
          "filename": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "includeInBook": {
            "type": "boolean"
          },
          "elementName": {
            "type": "string"
          },
          "attachmentId": {
            "type": "integer",
            "readOnly": true
          },
          "districtId": {
            "type": "integer",
            "readOnly": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "fileExists": {
            "type": "boolean",
            "readOnly": true
          },
          "filetype": {
            "type": "string",
            "readOnly": true
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess"
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "uploadDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "link": {
            "type": "object",
            "properties": {
              "validUntil": {
                "type": "string",
                "format": "date-time",
                "readOnly": true
              },
              "url": {
                "type": "string",
                "readOnly": true
              }
            }
          }
        },
        "required": [
          "name",
          "attachmentId",
          "filename",
          "object",
          "objectId"
        ]
      },
      "AuthenticateInput": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "format": "email",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "password": {
            "type": "string",
            "minLength": 6.0,
            "maxLength": 50.0
          },
          "machineId": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 250.0
          },
          "authOption": {
            "type": "string"
          },
          "authCode": {
            "type": "string"
          },
          "userId": {
            "type": [
              "integer",
              "string"
            ]
          },
          "rememberDevice": {
            "type": "boolean"
          },
          "rememberUsername": {
            "type": "boolean"
          },
          "deviceName": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 50.0
          },
          "deviceTokens": {
            "type": "string"
          },
          "districtId": {
            "type": [
              "integer",
              "string",
              "null"
            ]
          }
        }
      },
      "DataLoaderBridgeConfig": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "Data Loader Bridge configuration v1",
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "connections": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "connectionId": {
                  "type": "string",
                  "minLength": 1.0,
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "minLength": 1.0,
                  "readOnly": true
                },
                "dialect": {
                  "type": "string",
                  "enum": [
                    "mssql",
                    "mysql",
                    "postgresql",
                    "odbc"
                  ],
                  "readOnly": true
                },
                "host": {
                  "type": "string",
                  "minLength": 1.0,
                  "readOnly": true
                },
                "port": {
                  "type": "integer",
                  "minimum": 1.0,
                  "maximum": 65535.0,
                  "readOnly": true
                },
                "databaseName": {
                  "type": "string",
                  "minLength": 1.0,
                  "readOnly": true
                },
                "username": {
                  "type": "string",
                  "minLength": 1.0,
                  "readOnly": true
                },
                "driverHint": {
                  "type": "string",
                  "minLength": 1.0,
                  "readOnly": true
                },
                "options": {
                  "type": "object",
                  "additionalProperties": false,
                  "readOnly": true,
                  "properties": {
                    "encrypt": {
                      "type": "boolean"
                    },
                    "trustServerCertificate": {
                      "type": "boolean"
                    },
                    "instanceName": {
                      "type": "string",
                      "minLength": 1.0
                    },
                    "sslMode": {
                      "type": "string"
                    },
                    "charset": {
                      "type": "string",
                      "minLength": 1.0
                    },
                    "applicationName": {
                      "type": "string",
                      "minLength": 1.0
                    }
                  }
                }
              },
              "required": [
                "connectionId",
                "name",
                "dialect"
              ],
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "dialect": {
                        "const": "mssql"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "host",
                      "databaseName",
                      "username"
                    ],
                    "properties": {
                      "options": {
                        "propertyNames": {
                          "enum": [
                            "encrypt",
                            "trustServerCertificate",
                            "instanceName"
                          ]
                        }
                      }
                    }
                  }
                },
                {
                  "if": {
                    "properties": {
                      "dialect": {
                        "const": "mysql"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "host",
                      "databaseName",
                      "username"
                    ],
                    "properties": {
                      "options": {
                        "propertyNames": {
                          "enum": [
                            "sslMode",
                            "charset"
                          ]
                        },
                        "properties": {
                          "sslMode": {
                            "enum": [
                              "disabled",
                              "preferred",
                              "required",
                              "verify-ca",
                              "verify-identity"
                            ]
                          }
                        }
                      }
                    }
                  }
                },
                {
                  "if": {
                    "properties": {
                      "dialect": {
                        "const": "postgresql"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "host",
                      "databaseName",
                      "username"
                    ],
                    "properties": {
                      "options": {
                        "propertyNames": {
                          "enum": [
                            "sslMode",
                            "applicationName"
                          ]
                        },
                        "properties": {
                          "sslMode": {
                            "enum": [
                              "disable",
                              "prefer",
                              "require",
                              "verify-ca",
                              "verify-full"
                            ]
                          }
                        }
                      }
                    }
                  }
                },
                {
                  "if": {
                    "properties": {
                      "dialect": {
                        "const": "odbc"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "driverHint"
                    ],
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "host"
                          ]
                        },
                        {
                          "required": [
                            "port"
                          ]
                        },
                        {
                          "required": [
                            "databaseName"
                          ]
                        },
                        {
                          "required": [
                            "username"
                          ]
                        },
                        {
                          "required": [
                            "options"
                          ]
                        }
                      ]
                    }
                  }
                }
              ]
            }
          },
          "dataSources": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "sourceId": {
                  "type": "string",
                  "minLength": 1.0,
                  "readOnly": true
                },
                "connectionId": {
                  "type": "string",
                  "minLength": 1.0,
                  "readOnly": true
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "agentDb"
                  ],
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "minLength": 1.0,
                  "readOnly": true
                }
              },
              "required": [
                "sourceId",
                "connectionId",
                "kind",
                "name"
              ]
            }
          },
          "watchedFolders": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "folderId": {
                  "type": "string",
                  "readOnly": true
                },
                "path": {
                  "type": "string",
                  "readOnly": true
                },
                "updateTrigger": {
                  "type": "string",
                  "readOnly": true
                },
                "includePattern": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "folderId",
                "path",
                "updateTrigger"
              ]
            }
          },
          "profiles": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "profileId": {
                  "type": "string",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "profileId",
                "name"
              ]
            }
          }
        },
        "required": [
          "connections",
          "dataSources",
          "watchedFolders",
          "profiles"
        ]
      },
      "DataLoaderBridgeCredentials": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "envelopeId": {
              "type": "string",
              "minLength": 1.0,
              "readOnly": true
            },
            "connectionId": {
              "type": "string",
              "minLength": 1.0,
              "readOnly": true
            },
            "ciphertext": {
              "type": "string",
              "minLength": 1.0,
              "readOnly": true
            }
          },
          "required": [
            "envelopeId",
            "connectionId",
            "ciphertext"
          ]
        }
      },
      "DataLoaderBridgeHeartbeatInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "agentVersion": {
            "type": "string"
          },
          "configVersion": {
            "type": "integer"
          },
          "health": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "spoolBytes": {
                "type": "integer"
              },
              "watcherStatus": {
                "type": "string",
                "enum": [
                  "ok",
                  "degraded",
                  "stopped"
                ]
              },
              "lastError": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "activeRuns": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "runId": {
                  "type": "string"
                },
                "taskId": {
                  "type": "string"
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "extracting",
                    "uploading"
                  ]
                }
              },
              "required": [
                "runId",
                "taskId"
              ]
            }
          }
        }
      },
      "DataLoaderBridgeHeartbeat": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "configVersion": {
            "type": "integer",
            "readOnly": true
          },
          "claimedTasks": {
            "type": "array",
            "readOnly": true,
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "taskId": {
                      "type": "string"
                    },
                    "type": {
                      "const": "extract-db"
                    },
                    "runId": {
                      "type": "string"
                    },
                    "sourceId": {
                      "type": "string"
                    },
                    "connectionId": {
                      "type": "string"
                    },
                    "sql": {
                      "type": "string",
                      "minLength": 1.0
                    },
                    "limits": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "statementTimeoutMs": {
                          "type": "integer",
                          "minimum": 1.0,
                          "maximum": 600000.0,
                          "default": 120000.0
                        },
                        "rowLimit": {
                          "type": "integer",
                          "minimum": 1.0,
                          "maximum": 1000000.0,
                          "default": 100000.0
                        },
                        "byteLimit": {
                          "type": "integer",
                          "minimum": 1.0,
                          "maximum": 2147483648,
                          "default": 536870912
                        }
                      }
                    },
                    "artifacts": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "data": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "presignedPutUrl": {
                              "type": "string",
                              "minLength": 1.0
                            },
                            "s3Key": {
                              "type": "string",
                              "pattern": "/snapshot\\.ndjson\\.gz$"
                            }
                          },
                          "required": [
                            "presignedPutUrl",
                            "s3Key"
                          ]
                        },
                        "manifest": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "presignedPutUrl": {
                              "type": "string",
                              "minLength": 1.0
                            },
                            "s3Key": {
                              "type": "string",
                              "pattern": "/snapshot\\.manifest\\.json$"
                            }
                          },
                          "required": [
                            "presignedPutUrl",
                            "s3Key"
                          ]
                        }
                      },
                      "required": [
                        "data",
                        "manifest"
                      ]
                    }
                  },
                  "required": [
                    "taskId",
                    "type",
                    "runId",
                    "sourceId",
                    "connectionId",
                    "sql",
                    "artifacts"
                  ]
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "taskId": {
                      "type": "string"
                    },
                    "type": {
                      "const": "connection-test"
                    },
                    "runId": {
                      "type": "string"
                    },
                    "connectionId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "taskId",
                    "type",
                    "runId",
                    "connectionId"
                  ]
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "taskId": {
                      "type": "string"
                    },
                    "type": {
                      "const": "upload-file"
                    },
                    "runId": {
                      "type": "string"
                    },
                    "dataSourceId": {
                      "type": "string"
                    },
                    "s3UploadGrant": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "presignedPutUrl": {
                          "type": "string",
                          "minLength": 1.0
                        },
                        "s3Key": {
                          "type": "string",
                          "minLength": 1.0
                        }
                      },
                      "required": [
                        "presignedPutUrl",
                        "s3Key"
                      ]
                    }
                  },
                  "required": [
                    "taskId",
                    "type",
                    "runId",
                    "s3UploadGrant"
                  ]
                }
              ]
            }
          },
          "commands": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "pause",
                    "resume",
                    "refetchConfig",
                    "rotateToken",
                    "selfUpdate"
                  ]
                },
                "payload": {
                  "type": "object",
                  "additionalProperties": true
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "targetVersion": {
            "type": "string",
            "readOnly": true
          },
          "updateUrl": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "configVersion",
          "claimedTasks",
          "commands"
        ]
      },
      "DataLoaderBridgeRegisterInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "pairingToken": {
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "agentVersion": {
            "type": "string"
          }
        },
        "required": [
          "pairingToken",
          "publicKey"
        ]
      },
      "DataLoaderBridgeRegister": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "agentToken": {
            "type": "string",
            "readOnly": true
          },
          "agentId": {
            "type": "string",
            "readOnly": true
          },
          "configVersion": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "agentToken",
          "agentId",
          "configVersion"
        ]
      },
      "DataLoaderBridgeTaskStatusInput": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "state": {
            "type": "string",
            "enum": [
              "running",
              "succeeded",
              "failed"
            ]
          },
          "rowCount": {
            "type": "integer",
            "minimum": 0.0
          },
          "sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "manifestRef": {
            "type": "string",
            "minLength": 1.0
          },
          "dataRef": {
            "type": "string",
            "minLength": 1.0
          },
          "error": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "STATEMENT_TIMEOUT",
                  "ROW_LIMIT_EXCEEDED",
                  "BYTE_LIMIT_EXCEEDED",
                  "CONNECTION_FAILED",
                  "QUERY_FAILED",
                  "CREDENTIAL_MISSING",
                  "CREDENTIAL_INVALID"
                ]
              },
              "message": {
                "type": "string",
                "minLength": 1.0
              },
              "retryable": {
                "type": "boolean"
              },
              "limit": {
                "type": "number"
              }
            },
            "required": [
              "code",
              "message",
              "retryable"
            ]
          }
        },
        "required": [
          "state"
        ],
        "allOf": [
          {
            "if": {
              "properties": {
                "state": {
                  "const": "failed"
                }
              }
            },
            "then": {
              "required": [
                "error"
              ]
            }
          },
          {
            "if": {
              "required": [
                "rowCount"
              ]
            },
            "then": {
              "required": [
                "sha256",
                "manifestRef",
                "dataRef"
              ]
            }
          }
        ]
      },
      "DataLoaderBridgeUploadInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fileName": {
            "type": "string"
          },
          "size": {
            "type": "integer"
          },
          "sha256": {
            "type": "string"
          },
          "folderId": {
            "type": "string",
            "description": "Provide folderId or taskId, but not both."
          },
          "taskId": {
            "type": "string",
            "description": "Provide folderId or taskId, but not both."
          }
        },
        "required": [
          "fileName"
        ]
      },
      "DataLoaderBridgeUpload": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uploadId": {
            "type": "string",
            "readOnly": true
          },
          "presignedPutUrl": {
            "type": "string",
            "readOnly": true
          },
          "s3Key": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "uploadId",
          "presignedPutUrl",
          "s3Key"
        ]
      },
      "CalculatedFields": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/CalculatedField"
        }
      },
      "CalculatedFieldInput": {
        "type": "object",
        "properties": {
          "calculation": {
            "type": "string"
          },
          "numberFormatId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "currency": {
            "type": "string"
          },
          "seriesDataTypeId": {
            "type": "integer"
          }
        },
        "required": [
          "calculation",
          "name"
        ]
      },
      "CalculatedField": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "calculation": {
            "type": [
              "string",
              "null"
            ]
          },
          "numberFormatId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "currency": {
            "type": "string"
          },
          "seriesDataTypeId": {
            "type": "integer"
          },
          "calculatedFieldId": {
            "type": "integer",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "calculatedFieldId",
          "name"
        ]
      },
      "Category": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "description": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "categoryId": {
            "type": "integer",
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "category"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "categoryId",
          "object",
          "objectId"
        ]
      },
      "CategoryInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "description": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "scorecardId": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "scorecardId"
        ]
      },
      "ChartJson": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "chartJson": {
              "type": "string"
            },
            "chartJsonId": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "chartJsonId",
            "name"
          ]
        }
      },
      "ChartTypes": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/ChartType"
        }
      },
      "ChartType": {
        "type": "object",
        "properties": {
          "chartTypeId": {
            "type": "integer",
            "readOnly": true
          },
          "chartStyle": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "sortOrder": {
            "type": "integer"
          },
          "category": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "chartTypeId"
        ]
      },
      "Chart": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "yTitle": {
            "type": [
              "string",
              "null"
            ]
          },
          "showFuture": {
            "type": "boolean"
          },
          "updatedBy": {
            "type": "integer"
          },
          "chartPeriods": {
            "$ref": "#/components/schemas/_chartPeriods"
          },
          "sortSeries": {
            "type": "string"
          },
          "y2Max": {
            "type": [
              "integer",
              "null"
            ]
          },
          "chartId": {
            "type": "integer"
          },
          "chartFormat": {
            "type": "object",
            "properties": {
              "colors": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "legend": {
                "type": "object",
                "properties": {
                  "allign": {
                    "type": "string"
                  }
                }
              },
              "chart": {
                "type": "object",
                "properties": {
                  "style": {
                    "type": "string"
                  },
                  "backgroundColor": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  }
                }
              },
              "credits": {
                "type": "object",
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  }
                }
              },
              "plotOptions": {
                "type": "object",
                "properties": {
                  "series": {
                    "type": "object",
                    "properties": {
                      "pointPadding": {
                        "type": "integer"
                      },
                      "groupPadding": {
                        "type": "integer"
                      }
                    }
                  }
                }
              },
              "title": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "style": {
                    "type": "object",
                    "properties": {
                      "color": {
                        "type": "string"
                      },
                      "fontFamily": {
                        "type": "string"
                      },
                      "fontSize": {
                        "type": "string"
                      }
                    }
                  },
                  "margin": {
                    "type": "integer"
                  }
                }
              },
              "series": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "measureSeriesId": {
                      "type": "integer"
                    },
                    "lineWidth": {
                      "type": "integer"
                    },
                    "color": {
                      "type": "string"
                    },
                    "zIndex": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "numberFormat": {
                      "$ref": "#/components/schemas/_numberFormat"
                    },
                    "marker": {
                      "type": "object",
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "symbol": {
                          "type": "string"
                        }
                      }
                    },
                    "yAxis": {
                      "type": "integer"
                    }
                  }
                }
              },
              "yAxis": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "min": {
                      "type": "integer"
                    },
                    "maxPadding": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string"
                        }
                      }
                    },
                    "endOnTick": {
                      "type": "boolean"
                    },
                    "max": {
                      "type": "integer"
                    },
                    "showLastTick": {
                      "type": "boolean"
                    },
                    "alignTicks": {
                      "type": "boolean"
                    },
                    "minPadding": {
                      "type": "integer"
                    }
                  }
                }
              },
              "palette": {
                "type": "string"
              },
              "chartType": {
                "type": "integer"
              },
              "yMax": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "showLegend": {
                "type": "string"
              },
              "transposed": {
                "type": "boolean"
              },
              "periodChart": {
                "type": "boolean"
              },
              "chartSize": {
                "type": "string"
              },
              "y2Title": {
                "type": "string"
              },
              "sortOrder": {
                "type": "string"
              },
              "customFormat": {
                "type": "string"
              },
              "measureId": {
                "type": "integer"
              },
              "yAxisFormat": {
                "$ref": "#/components/schemas/_yAxisFormat"
              },
              "yAxis2Format": {
                "$ref": "#/components/schemas/_yAxisFormat"
              },
              "hiddenPeriods": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "yAxisCustom": {
                "type": "string"
              },
              "chartSeries": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "periodCount": {
                "type": "integer"
              },
              "objectId": {
                "type": "integer",
                "readOnly": true
              },
              "name": {
                "type": "string"
              },
              "yMin": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "isInterpolated": {
                "type": "boolean"
              },
              "customJson": {
                "type": "string"
              },
              "yAxis2Custom": {
                "type": "string"
              },
              "periodDisplay": {
                "type": "string"
              },
              "hiddenSummary": {
                "type": "boolean"
              },
              "secondAxis": {
                "type": "boolean"
              },
              "updatedDate": {
                "type": "string",
                "format": "date-time",
                "readOnly": true
              },
              "periodGroupId": {
                "type": "integer"
              },
              "y2Min": {
                "type": "integer"
              },
              "autoRange": {
                "type": "boolean"
              },
              "altText": {
                "type": "string"
              },
              "isTransposed": {
                "type": "boolean"
              },
              "xTitle": {
                "type": "string"
              },
              "object": {
                "type": "string",
                "enum": [
                  "chartSeries"
                ],
                "readOnly": true
              },
              "showEmpty": {
                "type": "boolean"
              },
              "isReversed": {
                "type": "boolean"
              },
              "active": {
                "type": "boolean",
                "readOnly": true
              },
              "deleteDate": {
                "type": "string",
                "format": "date-time",
                "readOnly": true
              }
            }
          }
        },
        "required": [
          "name"
        ]
      },
      "Columns": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "fields": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "fieldId": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "updateMode": {
                    "type": "boolean"
                  },
                  "readOnly": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  }
                },
                "required": [
                  "fieldId",
                  "name"
                ]
              }
            }
          }
        }
      },
      "Comments": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/Comment"
        }
      },
      "CommentInput": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string"
          },
          "resolved": {
            "type": "boolean"
          },
          "reactions": {
            "$ref": "#/components/schemas/_reactions"
          }
        },
        "required": [
          "comment",
          "userId",
          "discussionId"
        ]
      },
      "Comment": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string"
          },
          "commentDate": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "resolved": {
            "type": "boolean"
          },
          "reactions": {
            "$ref": "#/components/schemas/_reactions"
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "parentId": {
            "type": "integer",
            "readOnly": true
          },
          "discussionId": {
            "type": "integer",
            "readOnly": true
          },
          "deleted": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "deleteBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "comment",
          "userId",
          "discussionId"
        ]
      },
      "ContextDocuments": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/ContextDocument"
        }
      },
      "ContextDocument": {
        "type": "object",
        "properties": {
          "contextDocumentId": {
            "type": "integer"
          },
          "districtId": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "scope": {
            "type": "string",
            "enum": [
              "org",
              "personal",
              "expertise"
            ]
          },
          "sourceType": {
            "type": "string",
            "enum": [
              "upload",
              "onedrive",
              "sharepoint",
              "google_drive"
            ]
          },
          "fileName": {
            "type": "string"
          },
          "fileSize": {
            "type": "integer"
          },
          "fileType": {
            "type": "string"
          },
          "s3Key": {
            "type": "string"
          },
          "connectionId": {
            "type": "integer"
          },
          "connectionName": {
            "type": "string"
          },
          "sourceFileId": {
            "type": "string"
          },
          "sourceUrl": {
            "type": "string"
          },
          "sourceLastModified": {
            "type": "string",
            "format": "date-time"
          },
          "indexName": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "vectorPrefix": {
            "type": "string"
          },
          "chunkCount": {
            "type": "integer"
          },
          "documentName": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "structuredOutput": {
            "type": "string"
          },
          "structuredAt": {
            "type": "string",
            "format": "date-time"
          },
          "indexStatus": {
            "type": "string",
            "enum": [
              "pending",
              "processing",
              "indexed",
              "failed",
              "deleted",
              "stale"
            ]
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "contextDocumentId",
          "districtId",
          "userId",
          "scope",
          "sourceType",
          "fileName",
          "fileSize",
          "fileType",
          "s3Key",
          "chunkCount",
          "indexStatus",
          "created",
          "updatedAt"
        ]
      },
      "SearchResults": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer"
          },
          "pageCount": {
            "type": "integer"
          },
          "parameters": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer"
              },
              "count": {
                "type": "integer"
              },
              "type": {
                "type": "string",
                "enum": [
                  "content",
                  "tag",
                  "id",
                  "element",
                  "report",
                  "user"
                ]
              },
              "object": {
                "type": "string"
              },
              "scorecardId": {
                "type": "integer"
              }
            }
          },
          "results": {
            "$ref": "#/components/schemas/_searchResult"
          }
        }
      },
      "Conversations": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/Conversation"
        }
      },
      "ConversationInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "conversation": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "role": {
                  "type": "string",
                  "enum": [
                    "assistant",
                    "user",
                    "system"
                  ]
                },
                "content": {
                  "type": "string"
                }
              },
              "required": [
                "role",
                "content"
              ]
            }
          },
          "context": {
            "type": "object",
            "additionalProperties": true
          },
          "chatId": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "complete": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "conversation"
        ]
      },
      "Conversation": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "conversation": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "role": {
                  "type": "string",
                  "enum": [
                    "assistant",
                    "user",
                    "system"
                  ]
                },
                "content": {
                  "type": "string"
                }
              },
              "required": [
                "role",
                "content"
              ]
            }
          },
          "context": {
            "type": "object",
            "additionalProperties": true
          },
          "chatId": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "conversationId": {
            "type": "integer",
            "readOnly": true
          },
          "conversationDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "complete": {
            "type": "boolean"
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "conversationId",
          "userId"
        ]
      },
      "Currencies": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "default": {
              "type": "boolean",
              "readOnly": true
            },
            "precision": {
              "type": "integer",
              "readOnly": true
            },
            "symbol": {
              "type": "string",
              "readOnly": true
            },
            "name": {
              "type": "string",
              "readOnly": true
            },
            "currencyCode": {
              "type": "string",
              "readOnly": true
            },
            "format": {
              "type": "string",
              "readOnly": true
            }
          },
          "required": [
            "currencyCode",
            "name"
          ]
        }
      },
      "CustomChartTypes": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/CustomChartType"
        }
      },
      "CustomChartTypeInput": {
        "type": "object",
        "properties": {
          "chartJson": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "sortOrder": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "chartJson"
        ]
      },
      "CustomChartType": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "chartJson": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "sortOrder": {
            "type": "integer"
          },
          "customChartTypeId": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "userCount": {
            "type": "integer",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "chartJson",
          "customChartTypeId"
        ]
      },
      "CustomFields": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string",
              "enum": [
                "scorecard",
                "period",
                "measure",
                "objective",
                "initiative",
                "actionItem",
                "milestone",
                "risk"
              ]
            }
          },
          "additionalProperties": {
            "$ref": "#/components/schemas/CustomField"
          }
        }
      },
      "CustomFieldInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "customFieldType": {
            "type": "string",
            "enum": [
              "image",
              "user",
              "myFavorites",
              "numeric",
              "currency",
              "grid",
              "boolean",
              "multipick",
              "html",
              "pagehtml",
              "statusIcon",
              "datahtml",
              "status",
              "link",
              "percent",
              "accounting",
              "myScorecard",
              "gridHeader",
              "kanban",
              "chart",
              "integer",
              "date",
              "picklist",
              "usermultipick",
              "text",
              "string"
            ]
          },
          "picklist": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object"
                }
              ]
            }
          },
          "sortOrder": {
            "type": "integer"
          },
          "updateMode": {
            "type": "boolean"
          },
          "value": {
            "type": "string"
          },
          "pickListItems": {
            "type": "string"
          },
          "scorecardId": {
            "type": "integer"
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          }
        },
        "required": [
          "name",
          "customFieldType",
          "object"
        ]
      },
      "CustomField": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "customFieldType": {
            "type": "string",
            "enum": [
              "image",
              "user",
              "myFavorites",
              "numeric",
              "currency",
              "grid",
              "boolean",
              "multipick",
              "html",
              "pagehtml",
              "statusIcon",
              "datahtml",
              "status",
              "link",
              "percent",
              "accounting",
              "myScorecard",
              "gridHeader",
              "kanban",
              "chart",
              "integer",
              "date",
              "picklist",
              "usermultipick",
              "text",
              "string"
            ]
          },
          "picklist": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object"
                }
              ]
            }
          },
          "sortOrder": {
            "type": "integer"
          },
          "elementSortOrder": {
            "type": "integer"
          },
          "detailCount": {
            "type": "integer"
          },
          "summaryCount": {
            "type": "integer"
          },
          "updateMode": {
            "type": "boolean"
          },
          "value": {
            "type": "string"
          },
          "pickListItems": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "scorecardId": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "readOnly": true
          },
          "color": {
            "type": "string",
            "enum": [
              "default",
              "primary",
              "secondary",
              "accent1",
              "accent2",
              "accent3",
              "accent4",
              "accent5",
              "accent6"
            ]
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "customFieldId": {
            "type": "integer",
            "readOnly": true
          },
          "displayValue": {
            "type": "string",
            "readOnly": true
          },
          "fieldId": {
            "type": "string",
            "readOnly": true
          },
          "id": {
            "type": "integer",
            "readOnly": true
          },
          "fieldType": {
            "type": "string",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "archived": {
            "type": "boolean",
            "readOnly": true
          },
          "hidden": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "customFieldType",
          "updateMode",
          "customFieldId",
          "object",
          "updateMode",
          "object",
          "active",
          "objectId"
        ]
      },
      "DashboardLayouts": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/_layout"
        }
      },
      "DashboardLayoutInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "layout": {
            "$ref": "#/components/schemas/_podLayout"
          },
          "cardLayout": {
            "$ref": "#/components/schemas/_cardLayout"
          },
          "reportColumns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fieldId": {
                  "type": "string"
                },
                "customLabel": {
                  "type": "string"
                },
                "statusDisplay": {
                  "type": "string"
                },
                "showOwner": {
                  "type": "boolean"
                },
                "hideStatus": {
                  "type": "boolean"
                },
                "fullWidth": {
                  "type": "boolean"
                },
                "showCellHeader": {
                  "type": "boolean"
                },
                "repeatValues": {
                  "type": "boolean"
                },
                "tableStyleId": {
                  "type": "integer"
                },
                "periods": {
                  "type": "object",
                  "properties": {
                    "periodDisplay": {
                      "type": "string"
                    },
                    "periodList": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "periodId": {
                            "type": "integer"
                          },
                          "periodDate": {
                            "type": "string",
                            "format": "date",
                            "readOnly": true
                          }
                        },
                        "required": [
                          "periodId",
                          "periodDate"
                        ]
                      }
                    }
                  }
                },
                "width": {
                  "type": "object",
                  "properties": {
                    "minWidth": {
                      "type": "integer"
                    },
                    "width": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "minWidth",
                    "width"
                  ]
                },
                "type": {
                  "type": "string",
                  "readOnly": true
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "updateMode": {
                  "type": "boolean",
                  "readOnly": true
                },
                "label": {
                  "type": "string",
                  "readOnly": true
                },
                "template": {
                  "type": "string",
                  "readOnly": true
                },
                "readOnly": {
                  "type": "boolean"
                }
              },
              "required": [
                "fieldId",
                "width",
                "periods",
                "object",
                "updateMode",
                "type"
              ]
            }
          },
          "reportOptions": {
            "$ref": "#/components/schemas/_reportOptions"
          },
          "hidden": {
            "type": "boolean"
          },
          "userId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "dashboardTemplate": {
            "type": "boolean"
          },
          "referenceLayoutId": {
            "type": "integer"
          },
          "restrictedAccess": {
            "type": "boolean"
          }
        }
      },
      "GridLayoutElements": {
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "items": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Element"
                },
                {
                  "type": "object",
                  "properties": {
                    "status": {
                      "$ref": "#/components/schemas/ElementStatus"
                    },
                    "customFields": {
                      "$ref": "#/components/schemas/CustomFieldData"
                    }
                  }
                }
              ]
            }
          },
          "columnWidths": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "minWidth": {
                  "type": "integer"
                },
                "width": {
                  "type": "number"
                }
              }
            },
            "required": [
              "minWidth",
              "width"
            ]
          },
          "charts": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "header": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "prefix": {
                    "type": "boolean"
                  },
                  "rowSpan": {
                    "type": "integer"
                  },
                  "colSpan": {
                    "type": "integer"
                  },
                  "fieldId": {
                    "type": "string"
                  },
                  "object": {
                    "type": "string",
                    "enum": [
                      "scorecard",
                      "objective",
                      "measure",
                      "initiative",
                      "milestone",
                      "actionItem",
                      "risk"
                    ]
                  },
                  "label": {
                    "type": "string"
                  },
                  "skipCol": {
                    "type": "boolean"
                  },
                  "skipRow": {
                    "type": "boolean"
                  },
                  "periodId": {
                    "type": "integer"
                  }
                },
                "required": [
                  "prefix",
                  "rowSpan",
                  "colSpan",
                  "fieldId",
                  "object",
                  "label",
                  "skipCol",
                  "skipRow"
                ]
              }
            }
          },
          "seriesData": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "measureSeriesId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "seriesData": {
                  "$ref": "#/components/schemas/_seriesData"
                },
                "numberFormat": {
                  "$ref": "#/components/schemas/_numberFormat"
                },
                "currency": {
                  "type": "string"
                }
              },
              "required": [
                "measureSeriesId",
                "name",
                "seriesData"
              ]
            }
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "periodId": {
                  "type": "integer"
                },
                "scorecardId": {
                  "type": "integer"
                },
                "objectId": {
                  "type": "integer"
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                }
              },
              "required": [
                "periodId",
                "scorecardId",
                "objectId",
                "object"
              ]
            }
          },
          "pageCount": {
            "type": "integer"
          },
          "report": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "prefix": {
                      "type": "boolean"
                    },
                    "hideStatus": {
                      "type": "boolean"
                    },
                    "periodId": {
                      "type": "integer"
                    },
                    "access": {
                      "$ref": "#/components/schemas/_elementAccess"
                    },
                    "rowSpan": {
                      "type": "integer"
                    },
                    "colSpan": {
                      "type": "integer"
                    },
                    "showCellHeader": {
                      "type": "boolean"
                    },
                    "tableStyleId": {
                      "type": "integer"
                    },
                    "template": {
                      "type": "string"
                    },
                    "objectId": {
                      "type": "integer"
                    },
                    "updateMode": {
                      "type": "boolean"
                    },
                    "fieldId": {
                      "type": "string"
                    },
                    "object": {
                      "type": "string",
                      "enum": [
                        "scorecard",
                        "objective",
                        "measure",
                        "initiative",
                        "milestone",
                        "actionItem",
                        "risk"
                      ]
                    },
                    "statusDisplay": {
                      "type": "string"
                    },
                    "readOnly": {
                      "type": "boolean"
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "prefix",
                    "hideStatus",
                    "periodId",
                    "access",
                    "rowSpan",
                    "colSpan",
                    "showCellHeader",
                    "tableStyleId",
                    "template",
                    "objectId",
                    "updateMode",
                    "fieldId",
                    "object",
                    "statusDisplay",
                    "readOnly",
                    "label"
                  ]
                }
              }
            }
          }
        }
      },
      "DataLoaderAgents": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "agentId": {
              "type": "integer",
              "readOnly": true
            },
            "name": {
              "type": "string",
              "readOnly": true
            },
            "hostname": {
              "type": "string",
              "readOnly": true
            },
            "tokenPrefix": {
              "type": "string",
              "readOnly": true
            },
            "agentVersion": {
              "type": "string",
              "readOnly": true
            },
            "configVersion": {
              "type": "integer",
              "readOnly": true
            },
            "status": {
              "type": "string",
              "readOnly": true
            },
            "lastHeartbeatAt": {
              "type": "string",
              "readOnly": true
            },
            "watcherStatus": {
              "type": "string",
              "readOnly": true
            },
            "lastError": {
              "type": "string",
              "readOnly": true
            },
            "created": {
              "type": "string",
              "readOnly": true
            }
          },
          "required": [
            "agentId",
            "name",
            "hostname",
            "tokenPrefix",
            "agentVersion",
            "configVersion",
            "status",
            "lastHeartbeatAt",
            "watcherStatus",
            "lastError",
            "created"
          ]
        }
      },
      "DataLoaderAgent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "agentId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "hostname": {
            "type": "string",
            "readOnly": true
          },
          "tokenPrefix": {
            "type": "string",
            "readOnly": true
          },
          "agentVersion": {
            "type": "string",
            "readOnly": true
          },
          "configVersion": {
            "type": "integer",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "readOnly": true
          },
          "lastHeartbeatAt": {
            "type": "string",
            "readOnly": true
          },
          "watcherStatus": {
            "type": "string",
            "readOnly": true
          },
          "lastError": {
            "type": "string",
            "readOnly": true
          },
          "created": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "agentId",
          "name",
          "hostname",
          "tokenPrefix",
          "agentVersion",
          "configVersion",
          "status",
          "lastHeartbeatAt",
          "watcherStatus",
          "lastError",
          "created"
        ]
      },
      "DataLoaderAgentInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "paused"
            ]
          }
        }
      },
      "DataLoaderPairingCode": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean",
            "readOnly": true
          },
          "pairingToken": {
            "type": "string",
            "readOnly": true
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "success",
          "pairingToken",
          "expiresAt"
        ]
      },
      "DataLoaderConnections": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "connectionId": {
              "type": "integer",
              "readOnly": true
            },
            "kind": {
              "type": "string",
              "readOnly": true
            },
            "name": {
              "type": "string",
              "readOnly": true
            },
            "dialect": {
              "type": "string",
              "readOnly": true
            },
            "host": {
              "type": "string",
              "readOnly": true
            },
            "port": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "databaseName": {
              "type": "string",
              "readOnly": true
            },
            "username": {
              "type": "string",
              "readOnly": true
            },
            "optionsJson": {
              "type": "string",
              "readOnly": true
            },
            "agentId": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "secretArn": {
              "type": "string",
              "readOnly": true
            },
            "secretState": {
              "type": "string",
              "readOnly": true
            },
            "status": {
              "type": "string",
              "readOnly": true
            },
            "legacyConnectionKey": {
              "type": "string",
              "readOnly": true
            },
            "created": {
              "type": "string",
              "readOnly": true
            },
            "modified": {
              "type": "string",
              "readOnly": true
            }
          },
          "required": [
            "connectionId",
            "kind",
            "name",
            "dialect",
            "host",
            "port",
            "databaseName",
            "username",
            "optionsJson",
            "agentId",
            "secretArn",
            "secretState",
            "status",
            "legacyConnectionKey",
            "created",
            "modified"
          ]
        }
      },
      "DataLoaderConnectionInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "dialect": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "port": {
            "type": "integer"
          },
          "databaseName": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "optionsJson": {
            "type": "string"
          },
          "agentId": {
            "type": "integer"
          },
          "secretArn": {
            "type": "string"
          },
          "secretState": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "name"
        ]
      },
      "DataLoaderConnection": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "connectionId": {
            "type": "integer",
            "readOnly": true
          },
          "kind": {
            "type": "string",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "dialect": {
            "type": "string",
            "readOnly": true
          },
          "host": {
            "type": "string",
            "readOnly": true
          },
          "port": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "databaseName": {
            "type": "string",
            "readOnly": true
          },
          "username": {
            "type": "string",
            "readOnly": true
          },
          "optionsJson": {
            "type": "string",
            "readOnly": true
          },
          "agentId": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "secretArn": {
            "type": "string",
            "readOnly": true
          },
          "secretState": {
            "type": "string",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "readOnly": true
          },
          "legacyConnectionKey": {
            "type": "string",
            "readOnly": true
          },
          "created": {
            "type": "string",
            "readOnly": true
          },
          "modified": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "connectionId",
          "kind",
          "name",
          "dialect",
          "host",
          "port",
          "databaseName",
          "username",
          "optionsJson",
          "agentId",
          "secretArn",
          "secretState",
          "status",
          "legacyConnectionKey",
          "created",
          "modified"
        ]
      },
      "DataLoaderEnvelopeInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "agentId": {
            "type": "integer"
          },
          "ciphertext": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "ciphertext"
        ]
      },
      "DataLoaderFolders": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "folderId": {
              "type": "integer",
              "readOnly": true
            },
            "agentId": {
              "type": "integer",
              "readOnly": true
            },
            "path": {
              "type": "string",
              "readOnly": true
            },
            "includePattern": {
              "type": "string",
              "readOnly": true
            },
            "updateTrigger": {
              "type": "string",
              "readOnly": true
            },
            "profileId": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "created": {
              "type": "string",
              "readOnly": true
            },
            "modified": {
              "type": "string",
              "readOnly": true
            }
          },
          "required": [
            "folderId",
            "agentId",
            "path",
            "includePattern",
            "updateTrigger",
            "profileId",
            "active",
            "created",
            "modified"
          ]
        }
      },
      "DataLoaderFolderInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "agentId": {
            "type": "integer"
          },
          "path": {
            "type": "string"
          },
          "includePattern": {
            "type": "string"
          },
          "updateTrigger": {
            "type": "string"
          },
          "profileId": {
            "type": "integer"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "agentId",
          "path"
        ]
      },
      "DataLoaderFolder": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "folderId": {
            "type": "integer",
            "readOnly": true
          },
          "agentId": {
            "type": "integer",
            "readOnly": true
          },
          "path": {
            "type": "string",
            "readOnly": true
          },
          "includePattern": {
            "type": "string",
            "readOnly": true
          },
          "updateTrigger": {
            "type": "string",
            "readOnly": true
          },
          "profileId": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "created": {
            "type": "string",
            "readOnly": true
          },
          "modified": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "folderId",
          "agentId",
          "path",
          "includePattern",
          "updateTrigger",
          "profileId",
          "active",
          "created",
          "modified"
        ]
      },
      "DataLoaderLegacyImportInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "agentId": {
            "type": "integer"
          },
          "sidecar": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "sidecar"
        ]
      },
      "DataLoaderLegacyImportResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "sourceId": {
            "type": "integer",
            "readOnly": true
          },
          "connectionId": {
            "type": "integer",
            "readOnly": true
          },
          "mappingId": {
            "type": "integer",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "readOnly": true
          },
          "review": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "code": {
                  "type": "string",
                  "readOnly": true
                },
                "severity": {
                  "type": "string",
                  "readOnly": true
                },
                "sheet": {
                  "type": "string",
                  "readOnly": true
                },
                "field": {
                  "type": "string",
                  "readOnly": true
                },
                "message": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "code",
                "severity",
                "message"
              ]
            }
          }
        },
        "required": [
          "sourceId",
          "connectionId",
          "mappingId",
          "status",
          "review"
        ]
      },
      "DataLoaderRun": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "runId": {
            "type": "integer",
            "readOnly": true
          },
          "sourceId": {
            "type": "integer",
            "readOnly": true
          },
          "state": {
            "type": "string",
            "readOnly": true
          },
          "trigger": {
            "type": "string",
            "readOnly": true
          },
          "taskType": {
            "type": "string",
            "readOnly": true
          },
          "pipelineMode": {
            "type": "string",
            "readOnly": true
          },
          "requestedBy": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "agentId": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "rowCount": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "insertCount": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "updateCount": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "skipCount": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "errorCount": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "errorSummary": {
            "type": "string",
            "readOnly": true
          },
          "errorJson": {
            "type": "string",
            "readOnly": true
          },
          "queuedAt": {
            "type": "string",
            "readOnly": true
          },
          "claimedAt": {
            "type": "string",
            "readOnly": true
          },
          "uploadedAt": {
            "type": "string",
            "readOnly": true
          },
          "processingAt": {
            "type": "string",
            "readOnly": true
          },
          "completedAt": {
            "type": "string",
            "readOnly": true
          },
          "agentName": {
            "type": "string",
            "readOnly": true
          },
          "requestedByName": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "runId",
          "sourceId",
          "state",
          "trigger",
          "taskType",
          "pipelineMode",
          "requestedBy",
          "agentId",
          "rowCount",
          "insertCount",
          "updateCount",
          "skipCount",
          "errorCount",
          "errorSummary",
          "errorJson",
          "queuedAt",
          "claimedAt",
          "uploadedAt",
          "processingAt",
          "completedAt",
          "agentName",
          "requestedByName"
        ]
      },
      "DataLoaderRunAccepted": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "runId": {
            "type": "integer"
          },
          "sourceId": {
            "type": "integer"
          },
          "state": {
            "type": "string",
            "enum": [
              "queued",
              "processing"
            ]
          }
        },
        "required": [
          "runId",
          "sourceId",
          "state"
        ]
      },
      "DataLoaderParseResult": {
        "type": "object",
        "properties": {
          "sheets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "hidden": {
                  "type": "boolean"
                },
                "rowCount": {
                  "type": "integer"
                },
                "sampleGrid": {
                  "type": "array"
                }
              },
              "required": [
                "name",
                "hidden",
                "rowCount",
                "sampleGrid"
              ]
            }
          }
        },
        "required": [
          "sheets"
        ]
      },
      "DataLoaderPreviewResult": {
        "type": "object",
        "properties": {
          "schemaVersion": {
            "type": "integer",
            "const": 1.0
          },
          "truncated": {
            "type": "boolean"
          },
          "counts": {
            "type": "object",
            "properties": {
              "rows": {
                "type": "integer"
              },
              "changed": {
                "type": "integer"
              },
              "errors": {
                "type": "integer"
              }
            },
            "required": [
              "rows",
              "changed",
              "errors"
            ]
          },
          "periods": {
            "type": "array"
          },
          "elements": {
            "type": "object"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string"
                },
                "objectId": {
                  "type": [
                    "integer",
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "number",
                    "boolean",
                    "null"
                  ]
                },
                "field": {
                  "type": "string"
                },
                "value": {
                  "type": [
                    "string",
                    "number",
                    "boolean",
                    "null"
                  ]
                },
                "beforeValue": {
                  "type": [
                    "string",
                    "number",
                    "boolean",
                    "null"
                  ]
                },
                "edited": {
                  "type": "boolean"
                },
                "error": {
                  "type": "string"
                },
                "displayValue": {
                  "type": [
                    "string",
                    "number",
                    "boolean",
                    "null"
                  ]
                },
                "parent": {
                  "type": [
                    "string",
                    "number",
                    "null"
                  ]
                },
                "elementType": {
                  "type": "string"
                },
                "series": {
                  "type": [
                    "string",
                    "number",
                    "null"
                  ]
                },
                "period": {
                  "type": [
                    "string",
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "object",
                "value",
                "edited"
              ]
            }
          }
        },
        "required": [
          "schemaVersion",
          "truncated",
          "counts",
          "periods",
          "elements",
          "rows"
        ]
      },
      "DataLoaderRunStatusInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "state": {
            "type": "string",
            "enum": [
              "succeeded",
              "failed"
            ]
          },
          "result": {
            "type": [
              "object",
              "null"
            ]
          },
          "error": {
            "type": [
              "object",
              "null"
            ]
          }
        },
        "required": [
          "state"
        ]
      },
      "DataLoaderSchedules": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "scheduleId": {
              "type": "integer",
              "readOnly": true
            },
            "sourceId": {
              "type": "integer",
              "readOnly": true
            },
            "cronExpression": {
              "type": "string",
              "readOnly": true
            },
            "timezone": {
              "type": "string",
              "readOnly": true
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "nextDueAt": {
              "type": "string",
              "readOnly": true
            },
            "lastEnqueuedAt": {
              "type": "string",
              "readOnly": true
            },
            "created": {
              "type": "string",
              "readOnly": true
            },
            "modified": {
              "type": "string",
              "readOnly": true
            }
          },
          "required": [
            "scheduleId",
            "sourceId",
            "cronExpression",
            "timezone",
            "active",
            "nextDueAt",
            "lastEnqueuedAt",
            "created",
            "modified"
          ]
        }
      },
      "DataLoaderScheduleInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "sourceId": {
            "type": "integer"
          },
          "cronExpression": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "sourceId",
          "cronExpression"
        ]
      },
      "DataLoaderSchedule": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "scheduleId": {
            "type": "integer",
            "readOnly": true
          },
          "sourceId": {
            "type": "integer",
            "readOnly": true
          },
          "cronExpression": {
            "type": "string",
            "readOnly": true
          },
          "timezone": {
            "type": "string",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "nextDueAt": {
            "type": "string",
            "readOnly": true
          },
          "lastEnqueuedAt": {
            "type": "string",
            "readOnly": true
          },
          "created": {
            "type": "string",
            "readOnly": true
          },
          "modified": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "scheduleId",
          "sourceId",
          "cronExpression",
          "timezone",
          "active",
          "nextDueAt",
          "lastEnqueuedAt",
          "created",
          "modified"
        ]
      },
      "DataLoaderSources": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "sourceId": {
              "type": "integer",
              "readOnly": true
            },
            "kind": {
              "type": "string",
              "readOnly": true
            },
            "connectionId": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "agentId": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "folderId": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "name": {
              "type": "string",
              "readOnly": true
            },
            "fileName": {
              "type": "string",
              "readOnly": true
            },
            "sqlText": {
              "type": "string",
              "readOnly": true
            },
            "status": {
              "type": "string",
              "readOnly": true
            },
            "updateTrigger": {
              "type": "string",
              "readOnly": true
            },
            "currentMappingId": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "legacyImported": {
              "type": "boolean",
              "readOnly": true
            },
            "legacyReviewJson": {
              "type": "string",
              "readOnly": true
            },
            "lastRunAt": {
              "type": "string",
              "readOnly": true
            },
            "created": {
              "type": "string",
              "readOnly": true
            },
            "modified": {
              "type": "string",
              "readOnly": true
            }
          },
          "required": [
            "sourceId",
            "kind",
            "connectionId",
            "agentId",
            "folderId",
            "name",
            "fileName",
            "sqlText",
            "status",
            "updateTrigger",
            "currentMappingId",
            "legacyImported",
            "legacyReviewJson",
            "lastRunAt",
            "created",
            "modified"
          ]
        }
      },
      "DataLoaderSourceInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "connectionId": {
            "type": "integer"
          },
          "agentId": {
            "type": "integer"
          },
          "folderId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "sqlText": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updateTrigger": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "name"
        ]
      },
      "DataLoaderSource": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "sourceId": {
            "type": "integer",
            "readOnly": true
          },
          "kind": {
            "type": "string",
            "readOnly": true
          },
          "connectionId": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "agentId": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "folderId": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "fileName": {
            "type": "string",
            "readOnly": true
          },
          "sqlText": {
            "type": "string",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "readOnly": true
          },
          "updateTrigger": {
            "type": "string",
            "readOnly": true
          },
          "currentMappingId": {
            "type": [
              "integer",
              "string"
            ],
            "readOnly": true
          },
          "legacyImported": {
            "type": "boolean",
            "readOnly": true
          },
          "legacyReviewJson": {
            "type": "string",
            "readOnly": true
          },
          "lastRunAt": {
            "type": "string",
            "readOnly": true
          },
          "created": {
            "type": "string",
            "readOnly": true
          },
          "modified": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "sourceId",
          "kind",
          "connectionId",
          "agentId",
          "folderId",
          "name",
          "fileName",
          "sqlText",
          "status",
          "updateTrigger",
          "currentMappingId",
          "legacyImported",
          "legacyReviewJson",
          "lastRunAt",
          "created",
          "modified"
        ]
      },
      "DataLoaderMappings": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "mappingId": {
              "type": "integer",
              "readOnly": true
            },
            "sourceId": {
              "type": "integer",
              "readOnly": true
            },
            "version": {
              "type": "integer",
              "readOnly": true
            },
            "schemaVersion": {
              "type": "integer",
              "readOnly": true
            },
            "name": {
              "type": "string",
              "readOnly": true
            },
            "mappingJson": {
              "type": "string",
              "readOnly": true
            },
            "created": {
              "type": "string",
              "readOnly": true
            },
            "createdBy": {
              "type": "integer",
              "readOnly": true
            }
          },
          "required": [
            "mappingId",
            "sourceId",
            "version",
            "schemaVersion",
            "name",
            "mappingJson",
            "created",
            "createdBy"
          ]
        }
      },
      "DataLoaderMappingInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "schemaVersion": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "mapping": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "mapping"
        ]
      },
      "DataLoaderMapping": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "mappingId": {
            "type": "integer",
            "readOnly": true
          },
          "sourceId": {
            "type": "integer",
            "readOnly": true
          },
          "version": {
            "type": "integer",
            "readOnly": true
          },
          "schemaVersion": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "mappingJson": {
            "type": "string",
            "readOnly": true
          },
          "created": {
            "type": "string",
            "readOnly": true
          },
          "createdBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "mappingId",
          "sourceId",
          "version",
          "schemaVersion",
          "name",
          "mappingJson",
          "created",
          "createdBy"
        ]
      },
      "DataLoaderParseAccepted": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "runId": {
            "type": "integer"
          },
          "sourceId": {
            "type": "integer"
          },
          "state": {
            "type": "string",
            "enum": [
              "queued",
              "processing"
            ]
          }
        },
        "required": [
          "runId",
          "sourceId",
          "state"
        ]
      },
      "DataLoaderRuns": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "runId": {
              "type": "integer",
              "readOnly": true
            },
            "sourceId": {
              "type": "integer",
              "readOnly": true
            },
            "state": {
              "type": "string",
              "readOnly": true
            },
            "trigger": {
              "type": "string",
              "readOnly": true
            },
            "taskType": {
              "type": "string",
              "readOnly": true
            },
            "pipelineMode": {
              "type": "string",
              "readOnly": true
            },
            "requestedBy": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "agentId": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "rowCount": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "insertCount": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "updateCount": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "skipCount": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "errorCount": {
              "type": [
                "integer",
                "string"
              ],
              "readOnly": true
            },
            "errorSummary": {
              "type": "string",
              "readOnly": true
            },
            "errorJson": {
              "type": "string",
              "readOnly": true
            },
            "queuedAt": {
              "type": "string",
              "readOnly": true
            },
            "claimedAt": {
              "type": "string",
              "readOnly": true
            },
            "uploadedAt": {
              "type": "string",
              "readOnly": true
            },
            "processingAt": {
              "type": "string",
              "readOnly": true
            },
            "completedAt": {
              "type": "string",
              "readOnly": true
            },
            "agentName": {
              "type": "string",
              "readOnly": true
            },
            "requestedByName": {
              "type": "string",
              "readOnly": true
            }
          },
          "required": [
            "runId",
            "sourceId",
            "state",
            "trigger",
            "taskType",
            "pipelineMode",
            "requestedBy",
            "agentId",
            "rowCount",
            "insertCount",
            "updateCount",
            "skipCount",
            "errorCount",
            "errorSummary",
            "errorJson",
            "queuedAt",
            "claimedAt",
            "uploadedAt",
            "processingAt",
            "completedAt",
            "agentName",
            "requestedByName"
          ]
        }
      },
      "DefaultFields": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "risks": {
            "$ref": "#/components/schemas/_defaultField"
          },
          "actionItem": {
            "$ref": "#/components/schemas/_defaultField"
          },
          "objective": {
            "$ref": "#/components/schemas/_defaultField"
          },
          "initiative": {
            "$ref": "#/components/schemas/_defaultField"
          },
          "measure": {
            "$ref": "#/components/schemas/_defaultField"
          },
          "milestone": {
            "$ref": "#/components/schemas/_defaultField"
          },
          "scorecard": {
            "$ref": "#/components/schemas/_defaultField"
          }
        }
      },
      "DefaultSerieses": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/DefaultSeries"
        }
      },
      "DefaultSeriesInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "seriesType": {
            "type": "string"
          },
          "useForEvaluation": {
            "type": "boolean"
          },
          "seriesDataTypeId": {
            "type": "integer",
            "default": 4.0,
            "enum": [
              4.0,
              5.0,
              6.0,
              8.0,
              9.0,
              10.0,
              11.0
            ]
          },
          "numberFormatId": {
            "type": "integer"
          },
          "hiddenSummary": {
            "type": "boolean"
          },
          "hiddenSeries": {
            "type": "boolean"
          },
          "locked": {
            "type": "boolean"
          },
          "currency": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "calculation": {
            "type": "string"
          },
          "aggregateFields": {
            "type": "object",
            "patternProperties": {
              "^.*$": {}
            }
          },
          "evaluations": {
            "$ref": "#/components/schemas/_evaluations"
          },
          "defaultSeriesId": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "object",
          "seriesType",
          "seriesDataTypeId"
        ]
      },
      "DefaultSeries": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "seriesType": {
            "type": "string"
          },
          "useForEvaluation": {
            "type": "boolean"
          },
          "seriesDataTypeId": {
            "type": "integer",
            "default": 4.0,
            "enum": [
              4.0,
              5.0,
              6.0,
              8.0,
              9.0,
              10.0,
              11.0
            ]
          },
          "numberFormatId": {
            "type": "integer"
          },
          "hiddenSummary": {
            "type": "boolean"
          },
          "hiddenSeries": {
            "type": "boolean"
          },
          "locked": {
            "type": "boolean"
          },
          "currency": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "calculation": {
            "type": "string"
          },
          "aggregateFields": {
            "type": "object",
            "additionalProperties": true
          },
          "evaluations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "calculation": {
                  "type": "string"
                },
                "compare": {
                  "type": "string"
                },
                "enabled": {
                  "type": "boolean"
                },
                "statusId": {
                  "type": "integer"
                },
                "measureSeries": {
                  "type": "string"
                },
                "seriesId": {
                  "type": "integer"
                },
                "statusName": {
                  "type": "string"
                },
                "sortOrder": {
                  "type": "integer"
                }
              },
              "required": [
                "enabled",
                "statusId",
                "statusName"
              ]
            }
          },
          "defaultSeriesId": {
            "type": "integer",
            "readOnly": true
          },
          "evaluated": {
            "type": "boolean",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "object",
          "seriesType",
          "seriesDataTypeId",
          "defaultSeriesId"
        ]
      },
      "DetailLayout": {
        "type": "object",
        "properties": {
          "access": {
            "$ref": "#/components/schemas/_access",
            "readOnly": true
          },
          "layout": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "area": {
                  "type": "string"
                },
                "class": {
                  "type": "string"
                },
                "page": {
                  "type": "integer"
                },
                "pods": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "pods": {
                        "$ref": "#/components/schemas/_pods"
                      },
                      "style": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "pods",
                      "style",
                      "id"
                    ]
                  }
                }
              },
              "required": [
                "area",
                "class",
                "page",
                "pods"
              ]
            }
          },
          "name": {
            "type": "string"
          },
          "cardLayout": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
              "isLocked": {
                "type": "boolean"
              },
              "coordinates": {
                "$ref": "#/components/schemas/_cardCoordinates"
              },
              "visualSettings": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/_cardVisualSetting"
                }
              },
              "object": {
                "type": "string"
              },
              "objectId": {
                "type": "integer"
              },
              "pod": {
                "type": "string"
              }
            },
            "required": [
              "coordinates"
            ]
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "podStyles": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "object": {
            "type": "string"
          }
        },
        "required": [
          "object",
          "objectId"
        ]
      },
      "DetailLayoutInput": {
        "type": "object",
        "properties": {
          "layout": {
            "$ref": "#/components/schemas/_podLayout"
          },
          "cardLayout": {
            "$ref": "#/components/schemas/_cardLayout"
          },
          "saveOption": {
            "type": "integer"
          },
          "scorecardId": {
            "type": "string"
          }
        }
      },
      "Districts": {
        "items": {
          "type": "object",
          "properties": {
            "archivedAccount": {
              "type": "integer"
            },
            "districtId": {
              "type": "integer"
            },
            "districtLocked": {
              "type": "boolean"
            },
            "licensedUntil": {
              "type": "string"
            },
            "lockedMessage": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "requireTwoFactor": {
              "type": "integer"
            },
            "resetPassword": {
              "type": "integer"
            },
            "userId": {
              "type": "integer"
            },
            "userLocked": {
              "type": "boolean"
            },
            "userTypeId": {
              "type": "integer",
              "enum": [
                1.0,
                2.0,
                3.0,
                4.0,
                7.0,
                8.0,
                9.0,
                10.0,
                11.0
              ]
            }
          },
          "required": [
            "districtId",
            "name",
            "userId"
          ]
        },
        "type": "array"
      },
      "DocumentConnections": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/DocumentConnection"
        }
      },
      "DocumentConnection": {
        "type": "object",
        "properties": {
          "documentConnectionId": {
            "type": "integer"
          },
          "districtId": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "scope": {
            "type": "string",
            "enum": [
              "org",
              "personal"
            ]
          },
          "sourceType": {
            "type": "string",
            "enum": [
              "onedrive",
              "sharepoint",
              "google_drive"
            ]
          },
          "folderPath": {
            "type": "string"
          },
          "folderName": {
            "type": "string"
          },
          "composioUserId": {
            "type": "string"
          },
          "composioAppId": {
            "type": "string"
          },
          "syncStatus": {
            "type": "string",
            "enum": [
              "active",
              "syncing",
              "paused",
              "error"
            ]
          },
          "lastSyncedAt": {
            "type": "string",
            "format": "date-time"
          },
          "syncError": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "documentConnectionId",
          "districtId",
          "userId",
          "scope",
          "sourceType",
          "syncStatus",
          "enabled",
          "created"
        ]
      },
      "Changes": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/_change"
        }
      },
      "ElementPayloadsInput": {
        "type": "object",
        "properties": {
          "periodId": {
            "type": "integer"
          },
          "items": {
            "type": "array",
            "maxItems": 50.0,
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "measure",
                    "initiative"
                  ]
                },
                "objectId": {
                  "type": "integer"
                }
              },
              "required": [
                "object",
                "objectId"
              ]
            }
          }
        },
        "required": [
          "periodId",
          "items"
        ]
      },
      "ElementPayloads": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string",
              "enum": [
                "measure",
                "initiative"
              ]
            },
            "objectId": {
              "type": "integer"
            },
            "charts": {
              "type": "object",
              "additionalProperties": true,
              "description": "Rendered chart configuration for a measure, identical to GET /measures/{measureId}/charts?periodId=&render=true"
            },
            "milestones": {
              "type": "array",
              "readOnly": true,
              "description": "Milestone rows for an initiative, identical to GET /initiatives/{initiativeId}/milestones?periodId=",
              "items": {
                "$ref": "#/components/schemas/_elementPayloadMilestone"
              }
            },
            "error": {
              "type": "string",
              "enum": [
                "notFound",
                "forbidden",
                "invalidItem",
                "payloadError"
              ],
              "description": "Present instead of a payload when the item cannot be served: unknown or foreign element, no view access, unsupported object, or a rendering failure"
            }
          },
          "required": [
            "object",
            "objectId"
          ]
        }
      },
      "Entitlements": {
        "type": "object",
        "readOnly": true,
        "required": [
          "planId",
          "name",
          "features"
        ],
        "additionalProperties": false,
        "properties": {
          "planId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "deprecated": {
            "type": "boolean",
            "readOnly": true
          },
          "sortOrder": {
            "type": "integer",
            "readOnly": true
          },
          "schemaVersion": {
            "type": "integer"
          },
          "updatedAt": {
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "environment": {
            "type": "string",
            "enum": [
              "localdev",
              "dev",
              "stage",
              "prod"
            ]
          },
          "features": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Feature"
            }
          },
          "plans": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "planId",
                "name",
                "features"
              ],
              "additionalProperties": false,
              "properties": {
                "planId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "deprecated": {
                  "type": "boolean",
                  "readOnly": true
                },
                "sortOrder": {
                  "type": "integer",
                  "readOnly": true
                },
                "environment": {
                  "type": "string",
                  "enum": [
                    "localdev",
                    "dev",
                    "stage",
                    "prod"
                  ]
                },
                "features": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Feature"
                  }
                }
              }
            }
          }
        }
      },
      "ExportInput": {
        "type": "object",
        "required": [
          "intent",
          "value"
        ],
        "properties": {
          "intent": {
            "type": "string",
            "enum": [
              "pdf",
              "book",
              "html",
              "excel",
              "email"
            ]
          },
          "templateId": {
            "type": [
              "integer",
              "null"
            ]
          },
          "value": {
            "type": "object",
            "required": [
              "districtId"
            ],
            "properties": {
              "object": {
                "type": "string"
              },
              "objectId": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "scorecardId": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "layoutId": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "templateId": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "periodId": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "districtId": {
                "type": "integer"
              },
              "path": {
                "type": "string"
              },
              "reportId": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              },
              "orientation": {
                "type": "string",
                "enum": [
                  "portrait",
                  "landscape"
                ]
              },
              "pageSize": {
                "type": "string"
              },
              "email": {
                "type": "object",
                "properties": {
                  "subject": {
                    "type": "string"
                  },
                  "body": {
                    "type": "string"
                  },
                  "ccSender": {
                    "type": "boolean"
                  },
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "email": {
                          "type": "string"
                        },
                        "fullName": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "LinkedElements": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string",
              "enum": [
                "category",
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "objectId": {
              "type": "integer"
            },
            "fieldId": {
              "type": "string"
            },
            "shadowObject": {
              "type": "string",
              "enum": [
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "scorecardId": {
              "type": "integer"
            },
            "shadowMeasureId": {
              "type": "integer"
            },
            "ownerId": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "scorecard": {
              "type": "string"
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "evaluated": {
              "type": "boolean"
            },
            "periodLocked": {
              "type": "boolean"
            },
            "statusId": {
              "type": "integer"
            }
          },
          "required": [
            "object",
            "objectId",
            "scorecardId",
            "name"
          ]
        }
      },
      "Favorites": {
        "type": "object",
        "properties": {
          "favorite": {
            "type": "boolean"
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          }
        },
        "required": [
          "favorite",
          "object",
          "objectId"
        ]
      },
      "FavoriteInput": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "enum": [
                  "scorecard",
                  "objective",
                  "measure",
                  "initiative",
                  "milestone",
                  "actionItem",
                  "risk"
                ]
              },
              "objectId": {
                "type": "integer"
              },
              "scorecardId": {
                "type": "integer"
              },
              "favorite": {
                "type": "boolean"
              },
              "homepage": {
                "type": "boolean"
              },
              "sortOrder": {
                "type": "integer"
              }
            },
            "required": [
              "object"
            ]
          },
          {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "enum": [
                  "scorecard",
                  "objective",
                  "measure",
                  "initiative",
                  "milestone",
                  "actionItem",
                  "risk"
                ]
              },
              "layoutId": {
                "type": "integer"
              },
              "scorecardId": {
                "type": "integer"
              },
              "favorite": {
                "type": "boolean"
              },
              "homepage": {
                "type": "boolean"
              },
              "sortOrder": {
                "type": "integer"
              }
            },
            "required": [
              "object"
            ]
          }
        ]
      },
      "Fields": {
        "type": "object",
        "additionalProperties": {
          "$ref": "#/components/schemas/_field"
        }
      },
      "FieldHistory": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "fieldId": {
              "type": "string"
            },
            "periodId": {
              "type": "integer"
            },
            "period": {
              "type": "string"
            },
            "customFieldType": {
              "type": "string"
            },
            "numberFormat": {
              "$ref": "#/components/schemas/_numberFormat"
            },
            "value": {
              "type": [
                "string",
                "number",
                "object",
                "integer",
                "null"
              ]
            }
          },
          "required": [
            "fieldId",
            "periodId",
            "period",
            "value"
          ]
        }
      },
      "Files": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "fileCount": {
            "type": "integer"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/File"
            }
          }
        }
      },
      "FileInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 300.0
          },
          "filename": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "filetype": {
            "type": "string",
            "readOnly": true
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess"
          },
          "uploadDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "fileExists": {
            "type": "boolean",
            "readOnly": true
          },
          "fieldId": {
            "type": "integer",
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "districtId": {
            "type": "integer",
            "readOnly": true
          },
          "link": {
            "type": "object",
            "properties": {
              "validUntil": {
                "type": "string",
                "format": "date-time",
                "readOnly": true
              },
              "url": {
                "type": "string",
                "readOnly": true
              }
            }
          }
        },
        "required": [
          "name",
          "filename"
        ]
      },
      "File": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 300.0
          },
          "filename": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "filetype": {
            "type": "string",
            "readOnly": true
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess"
          },
          "uploadDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "fileExists": {
            "type": "boolean",
            "readOnly": true
          },
          "fieldId": {
            "type": "integer",
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "districtId": {
            "type": "integer",
            "readOnly": true
          },
          "link": {
            "type": "object",
            "properties": {
              "validUntil": {
                "type": "string",
                "format": "date-time",
                "readOnly": true
              },
              "url": {
                "type": "string",
                "readOnly": true
              }
            }
          }
        },
        "required": [
          "name",
          "filename"
        ]
      },
      "FilterFields": {
        "type": "object",
        "additionalProperties": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "compare": {
                "type": "string"
              },
              "fieldId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "fieldType": {
                "type": "string",
                "enum": [
                  "edit",
                  "update",
                  "reference",
                  "series"
                ]
              },
              "object": {
                "type": "string",
                "enum": [
                  "scorecard",
                  "objective",
                  "measure",
                  "measureSeries",
                  "initiative",
                  "milestone",
                  "actionItem",
                  "risk"
                ]
              },
              "picklist": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "compare",
              "fieldId",
              "name",
              "type",
              "object"
            ]
          }
        }
      },
      "FiscalYears": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/FiscalYear"
        }
      },
      "FiscalYearInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "name",
          "startDate",
          "endDate",
          "fiscalYearId"
        ]
      },
      "FiscalYear": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "fiscalYearId": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "startDate",
          "endDate",
          "fiscalYearId",
          "object",
          "objectId"
        ]
      },
      "Goals": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/Goal"
        }
      },
      "GoalInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "archived": {
            "type": "boolean"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": "string",
            "format": "date"
          },
          "description": {
            "type": "string"
          },
          "ownerId": {
            "type": "integer"
          },
          "percentComplete": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "priority": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "sortOrderDepartment": {
            "type": "integer"
          },
          "sortOrderIndividual": {
            "type": "integer"
          },
          "sortOrderManager": {
            "type": "integer"
          },
          "sortOrderScorecard": {
            "type": "integer"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "statusId": {
            "type": "integer",
            "enum": [
              1.0,
              2.0,
              3.0,
              4.0
            ],
            "default": 1.0
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "name",
          "visibility",
          "statusId",
          "periodId",
          "ownerId",
          "startDate"
        ]
      },
      "Goal": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "archived": {
            "type": "boolean"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": "string",
            "format": "date"
          },
          "department": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "fullname": {
            "type": "string"
          },
          "goalId": {
            "type": "integer"
          },
          "owner": {
            "type": "integer"
          },
          "ownerId": {
            "type": "integer"
          },
          "percentComplete": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "priority": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "sortOrderDepartment": {
            "type": "integer"
          },
          "sortOrderIndividual": {
            "type": "integer"
          },
          "sortOrderManager": {
            "type": "integer"
          },
          "sortOrderScorecard": {
            "type": "integer"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "statusId": {
            "type": "integer",
            "enum": [
              1.0,
              2.0,
              3.0,
              4.0
            ],
            "default": 1.0
          },
          "supervisorId": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "type": {
            "type": "integer"
          },
          "visibility": {
            "type": "integer",
            "enum": [
              1.0,
              2.0,
              3.0,
              4.0
            ],
            "default": 2.0
          },
          "keyResults": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeyResult"
            }
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "goal"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "object",
          "objectId",
          "visibility",
          "statusId",
          "periodId",
          "ownerId",
          "startDate"
        ]
      },
      "KeyResults": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/KeyResult"
        }
      },
      "KeyResultInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "startValue": {
            "type": "number"
          },
          "endValue": {
            "type": "number"
          },
          "currentValue": {
            "type": "number"
          },
          "targetValue": {
            "type": "number"
          },
          "sortOrder": {
            "type": "integer"
          },
          "currencyCode": {
            "type": "string"
          },
          "dataTypeId": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "statusId": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "name",
          "startValue",
          "endValue"
        ]
      },
      "KeyResult": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "startValue": {
            "type": [
              "number",
              "null"
            ]
          },
          "endValue": {
            "type": [
              "number",
              "null"
            ]
          },
          "currentValue": {
            "type": [
              "number",
              "null"
            ]
          },
          "targetValue": {
            "type": [
              "number",
              "null"
            ]
          },
          "sortOrder": {
            "type": "integer"
          },
          "currencyCode": {
            "type": "string"
          },
          "dataTypeId": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "statusId": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "object": {
            "type": "string",
            "enum": [
              "goal"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "keyResultId": {
            "type": "integer",
            "readOnly": true
          },
          "goalId": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "startValue",
          "targetValue",
          "keyResultId",
          "goalId"
        ]
      },
      "GridColumns": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string"
            },
            "fields": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "object": {
                    "type": "string"
                  },
                  "parent": {
                    "type": "string"
                  },
                  "fieldId": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "template": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "edit",
                      "update",
                      "link",
                      "series",
                      "reference",
                      "custom",
                      "calculated"
                    ]
                  },
                  "updateMode": {
                    "type": "boolean"
                  },
                  "detail": {
                    "type": "boolean"
                  },
                  "summary": {
                    "type": "boolean"
                  },
                  "readOnly": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  }
                },
                "required": [
                  "object",
                  "parent",
                  "fieldId",
                  "name",
                  "template",
                  "type",
                  "updateMode",
                  "detail",
                  "summary",
                  "readOnly",
                  "sortOrder"
                ]
              }
            }
          },
          "required": [
            "object",
            "fields"
          ]
        }
      },
      "GridLayouts": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/_layout"
        }
      },
      "LayoutInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "scorecardId": {
            "type": "integer"
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "gridTemplate": {
            "type": "boolean"
          },
          "reportType": {
            "type": "string",
            "enum": [
              "grid",
              "dashboard",
              "matrix",
              "detail",
              "gantt"
            ]
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "map",
              "diagram",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "defaultLayout": {
            "type": "boolean"
          },
          "reportOptions": {
            "$ref": "#/components/schemas/_reportOptions"
          },
          "hidden": {
            "type": "boolean"
          },
          "accessType": {
            "type": "string"
          },
          "restrictedAccess": {
            "type": "boolean"
          },
          "reportColumns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_reportColumn"
            }
          },
          "scorecardIdList": {
            "type": "string"
          },
          "elementList": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "scorecardId": {
                  "type": "integer"
                },
                "elements": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "object": {
                        "type": "string"
                      },
                      "objectId": {
                        "type": "integer"
                      }
                    }
                  }
                }
              }
            }
          },
          "filterRule": {
            "type": "string"
          },
          "filter": {
            "$ref": "#/components/schemas/_filters"
          },
          "filterProperties": {
            "$ref": "#/components/schemas/_filters"
          },
          "referenceLayoutId": {
            "type": "integer"
          },
          "referenceLayoutObject": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "defaultReport": {
            "type": "boolean"
          },
          "layout": {
            "$ref": "#/components/schemas/_podLayout"
          },
          "cardLayout": {
            "$ref": "#/components/schemas/_cardLayout"
          }
        },
        "required": [
          "name",
          "scorecardId",
          "object"
        ]
      },
      "Groups": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string"
            },
            "objectId": {
              "type": "integer"
            },
            "userCount": {
              "type": "integer"
            },
            "deleteDate": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "groupId": {
              "type": "integer"
            },
            "layoutAccess": {
              "type": "string"
            },
            "templateAccess": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "dashboardAccess": {
              "type": "string"
            }
          },
          "required": [
            "userCount",
            "name",
            "groupId",
            "object",
            "objectId"
          ]
        }
      },
      "GroupInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "templateAccess": {
            "type": "string"
          },
          "restrictedTemplates": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "templateId": {
                  "type": "integer"
                },
                "selected": {
                  "type": "boolean"
                }
              },
              "required": [
                "templateId",
                "selected",
                "name"
              ]
            }
          },
          "hiddenScorecards": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "restrictedLayouts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "layoutId": {
                  "type": "integer"
                },
                "selected": {
                  "type": "boolean"
                }
              },
              "required": [
                "layoutId",
                "selected",
                "name",
                "object"
              ]
            }
          },
          "groupId": {
            "type": "integer",
            "readOnly": true
          },
          "layoutAccess": {
            "type": "string"
          },
          "rules": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "properties": {
                "ruleId": {
                  "type": "integer",
                  "readOnly": true
                },
                "sortOrder": {
                  "type": "integer",
                  "readOnly": true
                }
              },
              "required": [
                "ruleTypeId",
                "name",
                "ruleId",
                "groupId",
                "object"
              ]
            }
          },
          "dashboardAccess": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          }
        },
        "required": [
          "name"
        ]
      },
      "Group": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "templateAccess": {
            "type": "string"
          },
          "restrictedTemplates": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "templateId": {
                  "type": "integer"
                },
                "selected": {
                  "type": "boolean"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "templateId",
                "selected",
                "name"
              ]
            }
          },
          "users": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "userId": {
                  "type": "integer"
                },
                "fullName": {
                  "type": "string"
                }
              },
              "required": [
                "userId",
                "fullName"
              ]
            }
          },
          "hiddenScorecards": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "restrictedLayouts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "layoutId": {
                  "type": "integer"
                },
                "selected": {
                  "type": "boolean"
                },
                "name": {
                  "type": "string"
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                }
              },
              "required": [
                "layoutId",
                "selected",
                "name",
                "object"
              ]
            }
          },
          "groupId": {
            "type": "integer",
            "readOnly": true
          },
          "layoutAccess": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "rules": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "properties": {
                "ruleTypeId": {
                  "type": "integer",
                  "readOnly": true
                },
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "ruleId": {
                  "type": "integer",
                  "readOnly": true
                },
                "groupId": {
                  "type": "integer",
                  "readOnly": true
                },
                "objectId": {
                  "type": "integer",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "rule"
                  ],
                  "readOnly": true
                },
                "sortOrder": {
                  "type": "integer",
                  "readOnly": true
                }
              },
              "required": [
                "ruleTypeId",
                "name",
                "ruleId",
                "groupId",
                "object"
              ]
            }
          },
          "dashboardAccess": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "groupId",
          "object",
          "objectId"
        ]
      },
      "Images": {
        "type": "object",
        "properties": {
          "fileCount": {
            "type": "integer"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Image"
            }
          }
        },
        "required": [
          "fileCount",
          "files"
        ]
      },
      "ImageInput": {
        "type": "object",
        "properties": {
          "filetype": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "filetype",
          "name"
        ]
      },
      "Null": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": {}
        }
      },
      "InitiativeInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": "string",
            "format": "date"
          },
          "hiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "ownerId": {
            "type": "integer"
          },
          "periodGroupId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "constraintDate": {
            "type": "string",
            "format": "date"
          },
          "priority": {
            "type": "integer",
            "minimum": 1.0,
            "maximum": 1000.0,
            "default": 500.0,
            "description": "Priority level for scheduling (1-1000, higher numbers = higher priority)"
          },
          "criticalPath": {
            "type": "boolean",
            "default": false
          },
          "slack": {
            "type": "integer"
          },
          "baselineCost": {
            "type": "number",
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "scorecardId"
        ]
      },
      "InitiativeGantt": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "tasks": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "periodId": {
                        "type": "integer"
                      },
                      "access": {
                        "$ref": "#/components/schemas/_elementAccess"
                      },
                      "initiativeId": {
                        "type": "integer"
                      },
                      "linkMilestoneDates": {
                        "type": "integer",
                        "enum": [
                          0.0,
                          1.0,
                          2.0
                        ],
                        "default": 0.0
                      },
                      "hasChildren": {
                        "type": "boolean"
                      },
                      "percentComplete": {
                        "type": "number"
                      },
                      "completed": {
                        "type": "boolean"
                      },
                      "evaluated": {
                        "type": "boolean"
                      },
                      "statusId": {
                        "type": "integer"
                      },
                      "endDate": {
                        "type": "string"
                      },
                      "startDate": {
                        "type": "string"
                      },
                      "completedDate": {
                        "type": "string"
                      },
                      "ownerId": {
                        "type": "integer"
                      },
                      "objectId": {
                        "type": "integer"
                      },
                      "period": {
                        "type": "string"
                      },
                      "object": {
                        "type": "string",
                        "enum": [
                          "scorecard",
                          "initiative",
                          "milestone"
                        ],
                        "readOnly": true
                      },
                      "value": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "periodId",
                      "access",
                      "initiativeId",
                      "linkMilestoneDates",
                      "percentComplete",
                      "completed",
                      "evaluated",
                      "statusId",
                      "endDate",
                      "startDate",
                      "completedDate",
                      "ownerId",
                      "objectId",
                      "period",
                      "object"
                    ]
                  },
                  "to": {
                    "type": "string"
                  },
                  "color": {
                    "type": "string"
                  },
                  "movable": {
                    "type": "boolean"
                  },
                  "from": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "progress": {
                    "type": "object",
                    "properties": {
                      "percent": {
                        "type": "integer"
                      },
                      "color": {
                        "type": "string"
                      }
                    }
                  }
                },
                "required": [
                  "name"
                ]
              }
            },
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "parent": {
              "type": "string"
            }
          },
          "required": [
            "tasks",
            "id",
            "name"
          ]
        }
      },
      "MilestoneInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": "string",
            "format": "date"
          },
          "parentId": {
            "type": [
              "string",
              "integer",
              "null"
            ]
          },
          "initiativeId": {
            "type": "integer"
          },
          "ownerId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "priority": {
            "type": "integer",
            "minimum": 1.0,
            "maximum": 1000.0,
            "default": 500.0,
            "description": "Priority level for scheduling (1-1000, higher numbers = higher priority)"
          },
          "criticalPath": {
            "type": "boolean",
            "default": false
          },
          "slack": {
            "type": "integer"
          },
          "baselineCost": {
            "type": "number",
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "initiativeId",
          "scorecardId"
        ]
      },
      "ResourceAssignments": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/ResourceAssignment"
        }
      },
      "Audit": {
        "type": "object",
        "description": "Account audit results for a reporting period.",
        "additionalProperties": true,
        "properties": {
          "reportPeriodId": {
            "type": "integer"
          },
          "reportPeriodDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "filters": {
            "type": "object",
            "additionalProperties": true
          },
          "issueCount": {
            "type": "integer"
          },
          "issuesTruncated": {
            "type": "boolean"
          },
          "changeFactCount": {
            "type": "integer"
          },
          "changeFactsTruncated": {
            "type": "boolean"
          },
          "scorecardCount": {
            "type": "integer"
          },
          "scorecardsTruncated": {
            "type": "boolean"
          },
          "ownerCount": {
            "type": "integer"
          },
          "ownersTruncated": {
            "type": "boolean"
          },
          "highPriorityQueueCount": {
            "type": "integer"
          },
          "mediumPriorityQueueCount": {
            "type": "integer"
          },
          "lowPriorityQueueCount": {
            "type": "integer"
          },
          "workQueues": {
            "type": "array",
            "description": "Ranked, admin-facing recommendation groups assembled from the deterministic audit facts.",
            "items": {
              "$ref": "#/components/schemas/_auditWorkQueue"
            }
          },
          "recommendations": {
            "type": "array",
            "description": "Alias of workQueues for quick-task consumers.",
            "items": {
              "$ref": "#/components/schemas/_auditWorkQueue"
            }
          },
          "summary": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "issues": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "scorecards": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "owners": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "checks": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "changeFacts": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        }
      },
      "BriefingInsight": {
        "type": "object",
        "description": "Deterministic briefing insight facts for AI landing-page cards.",
        "additionalProperties": true,
        "properties": {
          "kind": {
            "type": "string"
          },
          "districtId": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "persona": {
            "type": "string",
            "enum": [
              "executive",
              "administrator",
              "contributor"
            ]
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "personaProfile": {
            "type": "object",
            "additionalProperties": true
          },
          "window": {
            "type": "object",
            "additionalProperties": true
          },
          "summary": {
            "type": "object",
            "additionalProperties": true
          },
          "metrics": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "importantMetrics": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "signals": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "workQueues": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "followUps": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "truncation": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "kind",
          "districtId",
          "userId",
          "persona",
          "generatedAt",
          "window",
          "summary"
        ]
      },
      "StrategicHealthInsight": {
        "type": "object",
        "description": "Deterministic strategic health facts for landing-page cards.",
        "additionalProperties": true,
        "properties": {
          "kind": {
            "type": "string"
          },
          "districtId": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "previousPeriodId": {
            "type": "integer"
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "summary": {
            "type": "object",
            "additionalProperties": true
          },
          "scorecards": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "signals": {
            "type": "object",
            "additionalProperties": true
          },
          "metrics": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "issues": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "opportunities": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "wins": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "conflicts": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "truncation": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "kind",
          "districtId",
          "userId",
          "periodId",
          "generatedAt",
          "summary",
          "scorecards",
          "elements",
          "signals",
          "metrics"
        ]
      },
      "Labels": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/_label"
        }
      },
      "LayoutElements": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "hideStatus": {
                  "type": "boolean"
                },
                "showOwner": {
                  "type": "boolean"
                },
                "repeatValues": {
                  "type": "boolean"
                },
                "statusDisplay": {
                  "type": "string"
                },
                "fieldId": {
                  "type": "string"
                }
              },
              "required": [
                "label",
                "hideStatus",
                "showOwner",
                "repeatValues",
                "statusDisplay",
                "fieldId"
              ]
            }
          },
          "reportColumns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "hideStatus": {
                  "type": "boolean"
                },
                "showOwner": {
                  "type": "boolean"
                },
                "repeatValues": {
                  "type": "boolean"
                },
                "statusDisplay": {
                  "type": "string"
                },
                "fieldId": {
                  "type": "string"
                },
                "backgroundColor": {
                  "type": "string"
                },
                "backgroundTransparency": {
                  "type": "integer"
                },
                "fullWidth": {
                  "type": "boolean"
                },
                "width": {
                  "type": "object",
                  "properties": {
                    "width": {
                      "type": "integer"
                    },
                    "minWidth": {
                      "type": "integer"
                    }
                  }
                }
              },
              "required": [
                "label",
                "hideStatus",
                "showOwner",
                "repeatValues",
                "statusDisplay",
                "fieldId"
              ]
            }
          },
          "header": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_gridHeaderItem"
            }
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "category",
                    "chart",
                    "objective",
                    "measure",
                    "measureSeries",
                    "seriesData",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "objectId": {
                  "type": "integer"
                },
                "scorecardId": {
                  "type": "integer"
                },
                "measureId": {
                  "type": "integer"
                },
                "periodId": {
                  "type": [
                    "integer",
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "object",
                "objectId"
              ]
            }
          },
          "report": {
            "type": "object",
            "properties": {
              "layoutId": {
                "type": "integer"
              },
              "reportType": {
                "type": "string",
                "enum": [
                  "grid",
                  "dashboard",
                  "matrix",
                  "detail",
                  "gantt"
                ]
              },
              "access": {
                "$ref": "#/components/schemas/_elementAccess"
              },
              "object": {
                "type": "string",
                "enum": [
                  "scorecard",
                  "objective",
                  "measure",
                  "initiative",
                  "milestone",
                  "actionItem",
                  "risk"
                ]
              },
              "periodId": {
                "type": "integer"
              },
              "rowCount": {
                "type": "integer"
              },
              "colCount": {
                "type": "integer"
              },
              "title": {
                "type": "string"
              },
              "sortable": {
                "type": "boolean"
              },
              "scorecardId": {
                "type": "integer"
              },
              "scorecard": {
                "type": "string"
              },
              "defaultLayout": {
                "type": "boolean"
              },
              "reportOptions": {
                "$ref": "#/components/schemas/_reportOptions"
              }
            },
            "required": [
              "layoutId",
              "reportType",
              "object",
              "periodId",
              "rowCount",
              "colCount",
              "title",
              "sortable",
              "scorecardId",
              "scorecard",
              "defaultLayout",
              "reportOptions"
            ]
          },
          "body": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "rowIndex": {
                    "type": "integer"
                  },
                  "colIndex": {
                    "type": "integer"
                  },
                  "rowSpan": {
                    "type": "integer"
                  },
                  "colSpan": {
                    "type": "integer"
                  },
                  "span": {
                    "type": "boolean"
                  },
                  "rendered": {
                    "type": "boolean"
                  },
                  "searchValue": {
                    "type": "string"
                  },
                  "rowSearchValue": {
                    "type": "string"
                  },
                  "fieldId": {
                    "type": "string"
                  },
                  "value": {
                    "$ref": "#/components/schemas/_cellValue"
                  }
                },
                "required": [
                  "id",
                  "rowIndex",
                  "colIndex"
                ]
              }
            }
          }
        },
        "required": [
          "columns",
          "reportColumns",
          "header",
          "elements",
          "report",
          "body"
        ]
      },
      "Locales": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "localeId": {
              "type": "string",
              "readOnly": true
            },
            "name": {
              "type": "string",
              "minLength": 1.0,
              "maxLength": 50.0,
              "readOnly": true
            }
          }
        }
      },
      "Messages": {
        "type": "object",
        "patternProperties": {
          "^.*$": {
            "type": "string"
          }
        }
      },
      "LogFiles": {
        "type": "object",
        "properties": {
          "logFile": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "readOnly": true
                },
                "userId": {
                  "type": "integer",
                  "readOnly": true
                },
                "logFileId": {
                  "type": "integer",
                  "readOnly": true
                },
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "objectId": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "readOnly": true
                },
                "activity": {
                  "type": "string",
                  "readOnly": true
                },
                "object": {
                  "type": "string",
                  "readOnly": true
                },
                "action": {
                  "type": "string",
                  "readOnly": true
                },
                "user": {
                  "type": "string",
                  "readOnly": true
                },
                "scorecard": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "date",
                "userId",
                "logFileId",
                "scorecardId",
                "activity",
                "object",
                "action"
              ]
            }
          },
          "logCount": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "logFile",
          "logCount"
        ]
      },
      "LogFile": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "logFileId": {
            "type": "integer",
            "readOnly": true
          },
          "isJSON": {
            "type": "boolean",
            "readOnly": true
          },
          "revert": {
            "type": "boolean",
            "readOnly": true
          },
          "deleted": {
            "type": "boolean",
            "readOnly": true
          },
          "server": {
            "type": "string",
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "activity": {
            "type": "string",
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "period": {
            "type": "string",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "readOnly": true
          },
          "action": {
            "type": "string",
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          },
          "page": {
            "type": "object",
            "properties": {
              "scorecardId": {
                "type": "integer"
              },
              "object": {
                "type": "string"
              },
              "objectId": {
                "type": "integer"
              },
              "layoutId": {
                "type": "integer"
              }
            }
          },
          "details": {
            "type": "object",
            "properties": {
              "modifiedFields": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "before": {
                      "type": [
                        "string",
                        "integer",
                        "null"
                      ],
                      "readOnly": true
                    },
                    "after": {
                      "type": [
                        "string",
                        "integer",
                        "null"
                      ],
                      "readOnly": true
                    },
                    "beforeValue": {
                      "type": "string",
                      "readOnly": true
                    },
                    "afterValue": {
                      "type": "string",
                      "readOnly": true
                    },
                    "fieldId": {
                      "type": "string",
                      "readOnly": true
                    },
                    "type": {
                      "type": "string",
                      "readOnly": true
                    },
                    "label": {
                      "type": "string",
                      "readOnly": true
                    }
                  },
                  "required": [
                    "before",
                    "after"
                  ]
                }
              }
            },
            "required": [
              "modifiedFields"
            ]
          }
        },
        "required": [
          "date",
          "userId",
          "logFileId",
          "isJSON",
          "server",
          "activity",
          "objectId",
          "name",
          "period",
          "object",
          "action"
        ]
      },
      "LogFileAggregate": {
        "type": "object",
        "properties": {
          "lookbackDays": {
            "type": "integer",
            "readOnly": true
          },
          "weeks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "weekStart": {
                  "type": "string",
                  "readOnly": true
                },
                "count": {
                  "type": "integer",
                  "readOnly": true
                }
              },
              "required": [
                "weekStart",
                "count"
              ]
            }
          },
          "users": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "userId": {
                  "type": "integer",
                  "readOnly": true
                },
                "user": {
                  "type": "string",
                  "readOnly": true
                },
                "count": {
                  "type": "integer",
                  "readOnly": true
                },
                "weekly": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                }
              },
              "required": [
                "userId",
                "user",
                "count",
                "weekly"
              ]
            }
          },
          "objects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "readOnly": true
                },
                "count": {
                  "type": "integer",
                  "readOnly": true
                }
              },
              "required": [
                "object",
                "count"
              ]
            }
          }
        },
        "required": [
          "lookbackDays",
          "weeks",
          "users",
          "objects"
        ]
      },
      "MessageInput": {
        "type": "object",
        "properties": {
          "fromAddress": {
            "type": "string",
            "format": "email"
          },
          "toAddress": {
            "type": "string",
            "format": "email"
          },
          "recipientName": {
            "type": "string"
          },
          "recipientLocale": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "template": {
            "enum": [
              "message",
              "htmlMessage",
              "pageExport",
              "fileTooLarge",
              "reportExport"
            ]
          },
          "attachment": {
            "type": "string"
          },
          "attachmentUrl": {
            "type": "string"
          },
          "link": {
            "type": "string"
          },
          "pageExportId": {
            "type": "integer"
          },
          "reportId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "jsonContent": {
            "type": "string"
          },
          "htmlContent": {
            "type": "string"
          }
        },
        "required": [
          "subject",
          "template"
        ],
        "allOf": [
          {
            "if": {
              "properties": {
                "template": {
                  "const": "pageExport"
                }
              }
            },
            "then": {
              "required": [
                "pageExportId",
                "name"
              ]
            }
          },
          {
            "if": {
              "properties": {
                "template": {
                  "const": "reportExport"
                }
              }
            },
            "then": {
              "required": [
                "reportId",
                "name"
              ]
            }
          }
        ]
      },
      "ManagementReports": {
        "type": "object",
        "properties": {
          "fileCount": {
            "type": "integer"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_managementReport"
            }
          }
        }
      },
      "ManagementReportInput": {
        "type": "object",
        "properties": {
          "reportType": {
            "type": "string",
            "enum": [
              "lastUpdated",
              "customFieldLastUpdated",
              "periodLastUpdated",
              "bookTemplates",
              "htmlTemplates",
              "dashTemplates",
              "userAccess",
              "userActivity",
              "wordpressShortcodes"
            ]
          },
          "tagIds": {
            "type": "array",
            "description": "Required for the wordpressShortcodes report: the tag IDs whose tagged elements are enumerated in the shortcode reference.",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "reportType"
        ]
      },
      "MapInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "textColor": {
            "type": "string"
          },
          "background": {
            "type": "string"
          },
          "backgroundColor": {
            "type": "string"
          },
          "boxWidth": {
            "type": "string"
          },
          "boxBorder": {
            "type": "string"
          },
          "boxRadius": {
            "type": "string"
          },
          "boxColor": {
            "type": "string"
          },
          "borderWidth": {
            "type": "string"
          },
          "hideTitle": {
            "type": "boolean"
          },
          "showNames": {
            "type": "boolean"
          },
          "sortOrder": {
            "type": "integer"
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "objectId": {
                  "type": "integer"
                },
                "xPos": {
                  "type": "integer"
                },
                "yPos": {
                  "type": "integer"
                }
              },
              "required": [
                "object",
                "objectId",
                "xPos",
                "yPos"
              ]
            }
          }
        },
        "required": [
          "name",
          "scorecardId",
          "elements",
          "mapId"
        ]
      },
      "Map": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "textColor": {
            "type": "string"
          },
          "background": {
            "type": "string"
          },
          "backgroundColor": {
            "type": "string"
          },
          "boxWidth": {
            "type": "string"
          },
          "boxBorder": {
            "type": "string"
          },
          "boxRadius": {
            "type": "string"
          },
          "boxColor": {
            "type": "string"
          },
          "borderWidth": {
            "type": "string"
          },
          "hideTitle": {
            "type": "boolean"
          },
          "showNames": {
            "type": "boolean"
          },
          "sortOrder": {
            "type": "integer"
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "access": {
                  "$ref": "#/components/schemas/_elementAccess"
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "objectId": {
                  "type": "integer"
                },
                "periodId": {
                  "type": "integer"
                },
                "statusId": {
                  "type": "integer"
                },
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "xPos": {
                  "type": "integer"
                },
                "yPos": {
                  "type": "integer"
                }
              },
              "required": [
                "object",
                "objectId",
                "xPos",
                "yPos"
              ]
            }
          },
          "mapId": {
            "type": "integer",
            "readOnly": true
          },
          "backgroundWidth": {
            "type": "integer",
            "readOnly": true
          },
          "backgroundHeight": {
            "type": "integer",
            "readOnly": true
          },
          "backgroundRatio": {
            "type": [
              "number",
              "null"
            ],
            "readOnly": true
          },
          "scorecard": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "scorecardId",
          "elements",
          "mapId"
        ]
      },
      "MasterPeriods": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "periodDate": {
              "type": "string",
              "format": "date",
              "readOnly": true
            },
            "masterPeriodId": {
              "type": "integer"
            }
          }
        }
      },
      "MasterPeriodsInput": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "periodDate": {
              "type": "string",
              "format": "date"
            },
            "masterPeriodId": {
              "type": "integer"
            }
          },
          "required": [
            "name",
            "periodDate"
          ]
        }
      },
      "McpAddInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Required."
          },
          "scorecardId": {
            "type": "integer",
            "description": "Required for objectives, measures, initiatives, milestones, action items, risks, measure series, and charts."
          },
          "initiativeId": {
            "type": "integer",
            "description": "Required for milestones. Optional for other elements, links the new element to the specified initiative."
          },
          "measureId": {
            "type": "integer",
            "description": "Required for measure series and charts.  Optional for other elements, links the new element to the specified measure."
          },
          "startDate": {
            "type": "string",
            "description": "Required for initiatives, milestones, action items, and risks."
          },
          "endDate": {
            "type": "string",
            "description": "Required for initiatives, milestones, action items, and risks."
          },
          "sortOrder": {
            "type": "integer",
            "description": "Required for initiatives, milestones, action items, and risks."
          },
          "completed": {
            "type": "boolean",
            "description": "Required for initiatives, milestones, action items, and risks.  Defaults to false"
          },
          "completedDate": {
            "type": "string",
            "description": "Required for initiatives, milestones, action items, and risks if completed is true."
          },
          "ownerId": {
            "type": "integer",
            "description": "Optional."
          },
          "categoryId": {
            "type": "integer",
            "description": "Optional. Only valid for objectives, links the new objective to the specified category."
          },
          "parentId": {
            "type": "integer",
            "description": "Optional. Only valid for objectives, measures, or initiatives. Links the new element to the specified parent element."
          },
          "childId": {
            "type": "integer",
            "description": "Optional. Only valid for objectives, measures, or initiatives. Links the new element to the specified child element."
          },
          "objectiveId": {
            "type": "integer",
            "description": "Optional. Links the new element to the specified objective."
          },
          "milestoneId": {
            "type": "integer",
            "description": "Optional. Links the new element to the specified milestone."
          },
          "actionItemId": {
            "type": "integer",
            "description": "Optional. Links the new element to the specified action item."
          },
          "riskId": {
            "type": "integer",
            "description": "Optional. Links the new element to the specified risk."
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Optional array of user IDs"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Optional array of tag IDs"
          },
          "customFields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fieldId": {
                  "type": "integer",
                  "description": "Required custom field ID in `custom12345` format."
                },
                "value": {
                  "type": "string",
                  "description": "Required value in string format. Will be cast to appropriate type."
                }
              },
              "required": [
                "fieldId",
                "value"
              ]
            }
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": true
      },
      "McpReceipt": {
        "type": "object",
        "properties": {
          "valid": {
            "type": "boolean",
            "readOnly": true
          },
          "message": {
            "type": "string",
            "readOnly": true
          },
          "result": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "readOnly": true
              },
              "objectId": {
                "type": "integer",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "readOnly": true
              },
              "action": {
                "type": "string",
                "description": "Generic element edit outcome: edited, approvalRequired, rejected, or failed.",
                "readOnly": true
              },
              "changed": {
                "type": "boolean",
                "description": "Whether the write actually stored a change. Derived from the edit log when that signal is available; when it cannot be established, this remains true to avoid reporting a successful write as discarded.",
                "readOnly": true
              },
              "requestId": {
                "type": "string",
                "readOnly": true
              },
              "warnings": {
                "type": "array",
                "description": "Advisory pre-create warnings. Omitted when there is no visible match or the duplicate lookup is unavailable; warnings never block the write.",
                "items": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "duplicateName"
                      ],
                      "readOnly": true
                    },
                    "message": {
                      "type": "string",
                      "readOnly": true
                    },
                    "object": {
                      "type": "string",
                      "readOnly": true
                    },
                    "objectId": {
                      "type": "integer",
                      "readOnly": true
                    },
                    "name": {
                      "type": "string",
                      "readOnly": true
                    }
                  },
                  "required": [
                    "code",
                    "message",
                    "object",
                    "objectId",
                    "name"
                  ],
                  "additionalProperties": false,
                  "readOnly": true
                },
                "readOnly": true
              },
              "fields": {
                "type": "object",
                "additionalProperties": true,
                "description": "Stored values for the submitted field keys: a persisted-state read-back, never an echo of the request payload. A key the stored element does not expose is omitted rather than invented.",
                "readOnly": true
              }
            },
            "additionalProperties": true,
            "readOnly": true
          }
        }
      },
      "McpEditInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Pass in a value to edit the name."
          },
          "scorecardId": {
            "type": "integer",
            "description": "Pass in a value to edit the scorecardId."
          },
          "startDate": {
            "type": "string",
            "description": "Pass in a value to edit the startDate."
          },
          "endDate": {
            "type": "string",
            "description": "Pass in a value to edit the endDate."
          },
          "sortOrder": {
            "type": "integer",
            "description": "Pass in a value to edit the sortOrder."
          },
          "completed": {
            "type": "boolean",
            "description": "Pass in a value to edit the completed."
          },
          "completedDate": {
            "type": "string",
            "description": "Pass in a value to edit the completedDate."
          },
          "ownerId": {
            "type": "integer",
            "description": "Pass in a value to edit the ownerId."
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Pass in an array of user IDs to edit the collaborators."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Pass in an array of tag IDs to edit the tags."
          },
          "customFields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fieldId": {
                  "type": "string",
                  "description": "Required custom field ID in `custom12345` format."
                },
                "value": {
                  "type": "string",
                  "description": "Pass in a value to edit the custom field value."
                }
              },
              "required": [
                "fieldId",
                "value"
              ]
            }
          }
        },
        "required": [],
        "additionalProperties": true
      },
      "McpEditLink": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "add",
              "remove"
            ],
            "description": "Whether to add or remove the link."
          },
          "linkObject": {
            "type": "string",
            "enum": [
              "category",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "description": "The element type of the linked element. Named linkObject rather than object because Taffy merges a struct request body into the arguments scope, where an 'object' key would overwrite the path parameter."
          },
          "linkObjectId": {
            "type": "integer",
            "minimum": 1.0,
            "description": "The element ID of the linked element."
          }
        },
        "required": [
          "action",
          "linkObject",
          "linkObjectId"
        ],
        "additionalProperties": false
      },
      "McpEditLinks": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "fieldId": {
              "type": "string",
              "enum": [
                "objectives",
                "risks",
                "parentMilestone",
                "categories",
                "actionItems",
                "subMilestones",
                "initiatives",
                "goals",
                "children",
                "initiativeMeasures",
                "parents",
                "measureInitiatives",
                "measures",
                "milestones",
                "childInitiatives",
                "childMeasures"
              ],
              "description": "The type of link being created (i.e., parents / children / objectives, etc.)"
            },
            "object": {
              "type": "string",
              "enum": [
                "category",
                "milestone",
                "goal",
                "risk",
                "objective",
                "measure",
                "initiative",
                "actionItem"
              ],
              "description": "The element type of the link being created."
            },
            "objectId": {
              "type": "integer",
              "description": "The element ID for the link being created."
            }
          },
          "required": [
            "fieldId",
            "object",
            "objectId"
          ]
        }
      },
      "McpFetchResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "result": {
            "$ref": "#/components/schemas/_mcpElement"
          },
          "debug": {
            "type": "object",
            "properties": {
              "totalTime": {
                "type": "integer"
              },
              "objectId": {
                "type": "integer"
              },
              "object": {
                "type": "string"
              }
            },
            "required": [
              "totalTime",
              "objectId",
              "object"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "result",
          "debug",
          "valid"
        ]
      },
      "McpFetchDataResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "measureSeriesId": {
                  "type": "integer"
                },
                "measureSeries": {
                  "type": "string"
                },
                "periodId": {
                  "type": "integer"
                },
                "period": {
                  "type": "string"
                },
                "periodDate": {
                  "type": "string",
                  "format": "date"
                },
                "periodLocked": {
                  "type": "boolean"
                },
                "seriesDataTypeId": {
                  "type": "integer"
                },
                "seriesDataType": {
                  "type": "string"
                },
                "currency": {
                  "type": "string"
                },
                "calculated": {
                  "type": "boolean"
                },
                "value": {
                  "type": "number"
                }
              },
              "required": [
                "measureSeriesId",
                "measureSeries",
                "periodId",
                "period",
                "periodDate",
                "periodLocked",
                "seriesDataTypeId",
                "seriesDataType",
                "calculated"
              ],
              "additionalProperties": true
            }
          },
          "debug": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string"
              },
              "objectId": {
                "type": "integer"
              },
              "totalTime": {
                "type": "integer"
              }
            },
            "required": [
              "totalTime",
              "objectId",
              "object"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "results",
          "debug",
          "valid"
        ]
      },
      "McpFetchLinksResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_mcpLink"
            }
          },
          "debug": {
            "type": "object",
            "properties": {
              "totalTime": {
                "type": "integer"
              },
              "objectId": {
                "type": "string"
              },
              "object": {
                "type": "string"
              }
            },
            "required": [
              "totalTime",
              "objectId",
              "object"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "results",
          "debug",
          "valid"
        ]
      },
      "McpFetchStatusResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "result": {
            "$ref": "#/components/schemas/_mcpElementStatus"
          },
          "debug": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string"
              },
              "objectId": {
                "type": "integer"
              },
              "periodId": {
                "type": "integer"
              },
              "totalTime": {
                "type": "integer"
              }
            },
            "required": [
              "periodId",
              "totalTime",
              "objectId",
              "object"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "result",
          "debug",
          "valid"
        ]
      },
      "McpFetchScorecardResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_mcpElement"
            }
          },
          "debug": {
            "type": "object",
            "properties": {
              "scorecardId": {
                "type": "integer"
              },
              "totalTime": {
                "type": "integer"
              }
            },
            "required": [
              "totalTime",
              "scorecardId"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "results",
          "debug",
          "valid"
        ]
      },
      "McpFetchScorecardStatusResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_mcpElementStatus"
            }
          },
          "debug": {
            "type": "object",
            "properties": {
              "scorecardId": {
                "type": "integer"
              },
              "periodId": {
                "type": "integer"
              },
              "totalTime": {
                "type": "integer"
              }
            },
            "required": [
              "periodId",
              "totalTime",
              "scorecardId"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "results",
          "debug",
          "valid"
        ]
      },
      "McpFindResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "scorecardId": {
                  "type": "integer"
                },
                "objectId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "access": {
                  "type": "string",
                  "enum": [
                    "No Access",
                    "Browser",
                    "Updater",
                    "Editor",
                    "Scorecard Admin",
                    "Administrator"
                  ]
                }
              },
              "required": [
                "access",
                "scorecardId",
                "objectId",
                "name",
                "object"
              ]
            }
          },
          "debug": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "scorecardId": {
                "type": [
                  "string",
                  "integer"
                ]
              },
              "time": {
                "type": "integer"
              },
              "object": {
                "type": "string"
              }
            }
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "results",
          "debug",
          "valid"
        ]
      },
      "McpListResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk",
                    "scorecard",
                    "category",
                    "user",
                    "period",
                    "status",
                    "customField"
                  ]
                },
                "objectId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                }
              },
              "additionalProperties": true,
              "required": [
                "object",
                "objectId",
                "name"
              ]
            }
          },
          "debug": {
            "type": "object",
            "properties": {
              "initiativeId": {
                "type": "integer"
              },
              "scorecardId": {
                "type": "integer"
              },
              "totalTime": {
                "type": "integer"
              },
              "object": {
                "type": "string"
              }
            },
            "required": [
              "totalTime",
              "object"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "results",
          "debug",
          "valid"
        ]
      },
      "McpListStatusResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "objectId": {
                  "type": "integer"
                },
                "scorecardId": {
                  "type": "integer"
                },
                "scorecard": {
                  "type": "string"
                },
                "access": {
                  "type": "string",
                  "enum": [
                    "No Access",
                    "Browser",
                    "Updater",
                    "Editor",
                    "Scorecard Admin",
                    "Administrator"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "completed": {
                  "type": "boolean"
                },
                "completedDate": {
                  "type": "string",
                  "format": "date"
                },
                "startDate": {
                  "type": "string",
                  "format": "date"
                },
                "endDate": {
                  "type": "string",
                  "format": "date"
                },
                "periodId": {
                  "type": "integer"
                },
                "period": {
                  "type": "string"
                },
                "periodDate": {
                  "type": "string",
                  "format": "date"
                },
                "ownerId": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "owner": {
                  "type": "string"
                },
                "collaborators": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                },
                "statusId": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "status": {
                  "type": "string"
                },
                "score": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "analysis": {
                  "type": "string"
                },
                "recommendations": {
                  "type": "string"
                },
                "percentComplete": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "customFields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "fieldId": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "fieldType": {
                        "type": "string"
                      },
                      "value": {
                        "type": [
                          "string",
                          "number",
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "fieldId",
                      "name",
                      "fieldType",
                      "value"
                    ]
                  }
                }
              },
              "required": [
                "object",
                "objectId",
                "scorecardId",
                "scorecard",
                "access",
                "name",
                "periodId",
                "period",
                "periodDate"
              ],
              "additionalProperties": true
            }
          },
          "debug": {
            "type": "object",
            "properties": {
              "initiativeId": {
                "type": "integer"
              },
              "scorecardId": {
                "type": "integer"
              },
              "periodId": {
                "type": "integer"
              },
              "totalTime": {
                "type": "integer"
              },
              "object": {
                "type": "string"
              }
            },
            "required": [
              "totalTime",
              "object"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "results",
          "debug",
          "valid"
        ]
      },
      "McpOnlineResult": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "The search query submitted"
          },
          "answer": {
            "type": "string",
            "description": "The generated answer based on search results"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "content": {
                  "type": "string"
                },
                "score": {
                  "type": "number"
                },
                "raw_content": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "favicon": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "title",
                "url",
                "content",
                "score"
              ]
            }
          },
          "response_time": {
            "type": "string",
            "description": "Response time in seconds"
          },
          "request_id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier for the request"
          }
        },
        "required": [
          "query",
          "results"
        ]
      },
      "McpQueryResult": {
        "type": "object",
        "properties": {
          "valid": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "rowCount": {
            "type": "integer"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "debug": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "sql": {
                "type": "string"
              },
              "time": {
                "type": "object",
                "properties": {
                  "totalTime": {
                    "type": "integer"
                  },
                  "cacheTime": {
                    "type": "integer"
                  },
                  "parseTime": {
                    "type": "integer"
                  },
                  "executeTime": {
                    "type": "integer"
                  }
                },
                "required": [
                  "totalTime",
                  "cacheTime",
                  "parseTime",
                  "executeTime"
                ]
              }
            },
            "required": [
              "query",
              "sql",
              "time"
            ]
          }
        },
        "required": [
          "valid",
          "message",
          "rowCount",
          "results",
          "debug"
        ]
      },
      "McpRetrieveResult": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string"
            },
            "score": {
              "type": "number"
            },
            "id": {
              "type": "string"
            },
            "index": {
              "type": "integer"
            },
            "metadata": {
              "type": "object"
            },
            "document_id": {
              "type": "string"
            },
            "document_name": {
              "type": "string"
            },
            "document_metadata": {
              "type": "object",
              "properties": {
                "created_at": {
                  "type": "string",
                  "format": "date-time"
                },
                "source_url": {
                  "type": "string"
                },
                "external_id": {
                  "type": "string"
                },
                "source_type": {
                  "type": "string"
                },
                "_source_created_at": {
                  "type": "integer"
                },
                "_source_updated_at": {
                  "type": "integer"
                }
              }
            }
          },
          "required": [
            "text",
            "score",
            "id",
            "index",
            "document_id",
            "document_name"
          ]
        }
      },
      "McpSearchResult": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "rowCount": {
            "type": "integer"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "objectId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "scorecardId": {
                  "type": "integer"
                },
                "scorecard": {
                  "type": "string"
                },
                "access": {
                  "type": "string"
                },
                "customFields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "fieldId": {
                        "type": "string"
                      },
                      "fieldType": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "value": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "fieldId",
                    "fieldType",
                    "name",
                    "value"
                  ]
                },
                "status": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "periodId": {
                        "type": "integer"
                      },
                      "periodDate": {
                        "type": "string",
                        "format": "date"
                      },
                      "period": {
                        "type": "string"
                      },
                      "statusId": {
                        "type": "integer"
                      },
                      "status": {
                        "type": "string"
                      },
                      "updatedDate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "customFields": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "fieldId": {
                              "type": "string"
                            },
                            "fieldType": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "value": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "required": [
                      "periodId",
                      "updatedDate",
                      "periodDate",
                      "period"
                    ]
                  }
                }
              },
              "required": [
                "access",
                "scorecardId",
                "objectId",
                "name",
                "object",
                "scorecard"
              ]
            }
          },
          "debug": {
            "type": "object",
            "properties": {
              "periodId": {
                "type": [
                  "string",
                  "integer"
                ]
              },
              "scorecardId": {
                "type": [
                  "string",
                  "integer"
                ]
              },
              "time": {
                "type": "object",
                "properties": {
                  "embeddingTime": {
                    "type": "integer"
                  },
                  "searchTime": {
                    "type": "integer"
                  },
                  "totalTime": {
                    "type": "integer"
                  },
                  "rerankTime": {
                    "type": "integer"
                  },
                  "processTime": {
                    "type": "integer"
                  }
                },
                "required": [
                  "embeddingTime",
                  "searchTime",
                  "totalTime",
                  "rerankTime",
                  "processTime"
                ]
              },
              "query": {
                "type": "string"
              },
              "object": {
                "type": "string"
              }
            },
            "required": [
              "time",
              "query"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "message",
          "rowCount",
          "results",
          "debug",
          "valid"
        ]
      },
      "McpUpdateInput": {
        "type": "object",
        "additionalProperties": true
      },
      "McpUpdateDataInput": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "measureSeriesId": {
              "type": "integer",
              "description": "The series ID that is being updated."
            },
            "periodId": {
              "type": "integer",
              "description": "The reporting period that is being updated."
            },
            "value": {
              "type": [
                "null",
                "number"
              ],
              "description": "The value for this series ID and reporting period ID."
            }
          },
          "required": [
            "measureSeriesId",
            "periodId",
            "value"
          ]
        }
      },
      "MeasureSeriesMapInput": {
        "type": "object",
        "properties": {
          "calculation": {
            "type": "string"
          }
        },
        "required": [
          "calculation"
        ]
      },
      "MeasureInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "measureSeries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1.0,
                  "maxLength": 50.0
                },
                "seriesDataTypeId": {
                  "type": "integer",
                  "default": 4.0,
                  "enum": [
                    4.0,
                    5.0,
                    6.0,
                    8.0,
                    9.0,
                    10.0,
                    11.0
                  ]
                },
                "currency": {
                  "type": "string"
                },
                "numberFormatId": {
                  "type": "integer"
                }
              },
              "required": [
                "name",
                "seriesDataTypeId"
              ]
            }
          },
          "ownerId": {
            "type": "integer"
          },
          "hiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "periodGroupId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "scorecardId"
        ]
      },
      "MeasureGrid": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "periodId": {
              "type": "integer"
            },
            "periodName": {
              "type": "string"
            },
            "periodLocked": {
              "type": "boolean",
              "readOnly": true
            },
            "statusId": {
              "type": "integer"
            },
            "hideInGrid": {
              "type": "boolean"
            }
          },
          "required": [
            "periodId",
            "periodName"
          ],
          "patternProperties": {
            "series[0-9]": {
              "type": [
                "number",
                "null"
              ]
            }
          }
        }
      },
      "MeasurePeriods": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "periodId": {
              "type": "integer"
            },
            "locked": {
              "type": "boolean"
            },
            "periodDate": {
              "type": "string",
              "format": "date",
              "readOnly": true
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "periodId",
            "locked",
            "periodDate",
            "name"
          ]
        }
      },
      "MeetingPrep": {
        "type": "object",
        "properties": {
          "eventId": {
            "type": "string",
            "readOnly": true,
            "description": "Provider calendar event id (Outlook/Google) — opaque string."
          },
          "content": {
            "type": "string",
            "readOnly": true,
            "description": "The generated meeting prep brief."
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "readOnly": true,
            "description": "Source references the brief was synthesized from."
          },
          "inputHash": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true,
            "description": "Hash of the meeting inputs; lets the caller detect when the meeting changed."
          },
          "generatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "readOnly": true,
            "description": "When the cached brief was generated."
          }
        }
      },
      "MeetingPrepInput": {
        "type": "object",
        "properties": {
          "eventId": {
            "type": "string",
            "description": "Provider calendar event id (Outlook/Google) — opaque string."
          },
          "content": {
            "type": "string",
            "description": "The generated meeting prep brief."
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Source references the brief was synthesized from."
          },
          "inputHash": {
            "type": "string",
            "description": "Hash of the meeting inputs; lets the caller detect when the meeting changed."
          }
        },
        "required": [
          "eventId",
          "content"
        ]
      },
      "MeetingPrepReceipt": {
        "type": "object",
        "properties": {
          "eventId": {
            "type": "string",
            "readOnly": true,
            "description": "Provider calendar event id the brief was saved for."
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "description": "When the brief was generated/stored."
          }
        }
      },
      "MyMentions": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "mentionCount": {
            "type": "integer"
          },
          "mentions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_mention"
            }
          }
        }
      },
      "UpdateMentionRead": {
        "type": "object",
        "properties": {
          "readFlag": {
            "type": "boolean"
          }
        },
        "required": [
          "readFlag"
        ]
      },
      "Menus": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Menu"
        }
      },
      "MenuInput": {
        "type": "object",
        "properties": {
          "menuLabel": {
            "type": "string"
          },
          "hidden": {
            "type": "boolean"
          },
          "defaultPlural": {
            "type": "string"
          },
          "plural": {
            "type": "string"
          },
          "defaultName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "map",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "defaultMenu": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "customizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "menuLabel": {
                  "type": "string"
                },
                "hidden": {
                  "type": "boolean"
                },
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "homeScorecardId": {
                  "type": "integer"
                },
                "menuId": {
                  "type": "integer"
                },
                "plural": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "map",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "scorecard": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "menuId",
                "object",
                "scorecardId"
              ]
            }
          }
        },
        "required": [
          "menuId",
          "object"
        ]
      },
      "Schedules": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Schedule"
        }
      },
      "MyNotifications": {
        "readOnly": true,
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "notification": {
              "type": "string"
            },
            "notificationId": {
              "type": "integer"
            },
            "sortOrder": {
              "type": "integer"
            },
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/_notificationElement"
              }
            }
          }
        }
      },
      "NotificationInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "object": {
            "type": "string",
            "enum": [
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "action": {
            "type": "string",
            "enum": [
              "changed",
              "deleted",
              "updated",
              "custom",
              "any",
              "edited"
            ]
          },
          "detectionType": {
            "type": "string",
            "enum": [
              "both",
              "change"
            ]
          },
          "criteria": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sortOrder": {
                  "type": "integer"
                },
                "type": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "changeType": {
                  "type": "string"
                },
                "selected": {
                  "type": "boolean"
                },
                "compareOptions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      }
                    }
                  }
                },
                "fieldId": {
                  "type": "string"
                },
                "compare": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "type",
                "label",
                "selected"
              ]
            }
          },
          "periodOffset": {
            "type": "integer",
            "default": 0.0
          },
          "isTemplate": {
            "type": "boolean"
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "criteria",
          "action",
          "detectionType"
        ]
      },
      "Notification": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "object": {
            "type": "string",
            "enum": [
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "action": {
            "type": "string",
            "enum": [
              "changed",
              "deleted",
              "updated",
              "custom",
              "any",
              "edited"
            ]
          },
          "detectionType": {
            "type": "string",
            "enum": [
              "both",
              "change"
            ]
          },
          "disabled": {
            "type": "boolean"
          },
          "criteria": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sortOrder": {
                  "type": "integer"
                },
                "type": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "changeType": {
                  "type": "string"
                },
                "selected": {
                  "type": "boolean"
                },
                "compareOptions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      }
                    }
                  }
                },
                "fieldId": {
                  "type": "string"
                },
                "compare": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "type",
                "selected"
              ]
            }
          },
          "periodOffset": {
            "type": "integer",
            "default": 0.0
          },
          "isTemplate": {
            "type": "boolean"
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "notificationId": {
            "type": "integer",
            "readOnly": true
          },
          "links": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "properties": {
                "objectId": {
                  "type": "integer",
                  "readOnly": true
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "name": {
                  "type": "string",
                  "minLength": 1.0,
                  "maxLength": 50.0
                },
                "scorecard": {
                  "type": "string",
                  "readOnly": true
                },
                "users": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "userId": {
                        "type": "integer"
                      },
                      "fullName": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "userId",
                      "fullName"
                    ]
                  }
                }
              },
              "required": [
                "object",
                "objectId",
                "scorecard",
                "name",
                "users"
              ]
            }
          }
        },
        "required": [
          "name",
          "criteria",
          "action",
          "detectionType"
        ]
      },
      "Notifications": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/_notification"
        }
      },
      "CustomNumberFormats": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/CustomNumberFormat"
        }
      },
      "CustomNumberFormatInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "currencyPosition": {
            "type": "string"
          },
          "separators": {
            "type": "boolean"
          },
          "currencySymbol": {
            "type": "string"
          },
          "negativeRed": {
            "type": "boolean"
          },
          "isCurrency": {
            "type": "boolean"
          },
          "negativePosition": {
            "type": "string"
          },
          "decimalPlaces": {
            "type": "integer"
          },
          "separatorFormat": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "currencyPosition",
          "separators",
          "currencySymbol",
          "negativeRed",
          "isCurrency",
          "negativePosition",
          "decimalPlaces",
          "separatorFormat"
        ]
      },
      "CustomNumberFormat": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "currencyPosition": {
            "type": "string"
          },
          "separators": {
            "type": "boolean"
          },
          "currencySymbol": {
            "type": "string"
          },
          "negativeRed": {
            "type": "boolean"
          },
          "isCurrency": {
            "type": "boolean"
          },
          "negativePosition": {
            "type": "string"
          },
          "decimalPlaces": {
            "type": "integer"
          },
          "separatorFormat": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "numberFormatId": {
            "type": "integer",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "currencyPosition",
          "currencySymbol",
          "negativeRed",
          "isCurrency",
          "negativePosition",
          "decimalPlaces",
          "separatorFormat"
        ]
      },
      "ObjectiveInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "collaborators": {
            "oneOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              {
                "type": "string"
              }
            ]
          },
          "periodGroupId": {
            "type": "integer"
          },
          "hiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "ownerId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "scorecardId"
        ]
      },
      "ObjectiveEvaluation": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "calculation": {
              "type": "string"
            },
            "compare": {
              "type": "string"
            },
            "enabled": {
              "type": "boolean"
            },
            "statusId": {
              "type": "integer"
            },
            "measureSeries": {
              "type": "string"
            },
            "seriesId": {
              "type": "integer"
            },
            "statusName": {
              "type": "string"
            },
            "sortOrder": {
              "type": "integer"
            }
          },
          "required": [
            "enabled",
            "statusId",
            "statusName"
          ]
        }
      },
      "OkrUpdate": {
        "type": "object",
        "properties": {
          "updateId": {
            "type": "integer",
            "readOnly": true
          },
          "target": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "goal",
                  "keyResult"
                ]
              },
              "id": {
                "type": "integer"
              }
            },
            "required": [
              "type",
              "id"
            ]
          },
          "goalId": {
            "type": "integer",
            "readOnly": true,
            "description": "Resolved goalId for either target type"
          },
          "statusId": {
            "type": [
              "integer",
              "null"
            ]
          },
          "currentValue": {
            "type": [
              "number",
              "null"
            ]
          },
          "percentComplete": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0.0,
            "maximum": 100.0
          },
          "confidence": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 1.0,
            "maximum": 5.0
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "blockers": {
            "type": [
              "string",
              "null"
            ]
          },
          "oneOnOneId": {
            "type": [
              "integer",
              "null"
            ]
          },
          "updateDate": {
            "type": "string",
            "format": "date-time"
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "createdBy": {
            "type": "integer",
            "readOnly": true
          }
        }
      },
      "OkrUpdateInput": {
        "type": "object",
        "properties": {
          "target": {
            "type": "object",
            "description": "Goal or key result the check-in applies to",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "goal",
                  "keyResult"
                ]
              },
              "id": {
                "type": "integer"
              }
            },
            "required": [
              "type",
              "id"
            ]
          },
          "statusId": {
            "type": "integer"
          },
          "currentValue": {
            "type": "number"
          },
          "percentComplete": {
            "type": "integer",
            "minimum": 0.0,
            "maximum": 100.0
          },
          "confidence": {
            "type": "integer",
            "minimum": 1.0,
            "maximum": 5.0
          },
          "note": {
            "type": "string",
            "maxLength": 4000.0
          },
          "blockers": {
            "type": "string",
            "maxLength": 4000.0
          },
          "oneOnOneId": {
            "type": "integer",
            "description": "Optional 1:1 to attach this check-in to"
          },
          "updateDate": {
            "type": "string",
            "format": "date-time",
            "description": "Defaults to now if omitted"
          }
        },
        "required": [
          "target"
        ]
      },
      "OneOnOne": {
        "type": "object",
        "properties": {
          "oneOnOneId": {
            "type": "integer",
            "readOnly": true
          },
          "employeeId": {
            "type": "integer"
          },
          "managerId": {
            "type": "integer"
          },
          "scheduledDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "actualDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "durationMinutes": {
            "type": [
              "integer",
              "null"
            ]
          },
          "status": {
            "type": "integer",
            "description": "1=scheduled, 2=completed, 3=cancelled"
          },
          "employeeNotes": {
            "type": [
              "string",
              "null"
            ],
            "description": "Visible only to the employee"
          },
          "managerNotes": {
            "type": [
              "string",
              "null"
            ],
            "description": "Visible only to the manager"
          },
          "sharedNotes": {
            "type": [
              "string",
              "null"
            ],
            "description": "Visible to both participants"
          },
          "seriesId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "pulseCheckId": {
            "type": [
              "integer",
              "null"
            ],
            "readOnly": true
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "topics": {
            "type": "array",
            "description": "Mirrors oneOnOneTopic.json. Keep the two in step — this embedded copy is the one the GET route declares, so it is what client type generation reads.",
            "items": {
              "type": "object",
              "properties": {
                "topicId": {
                  "type": "integer",
                  "readOnly": true
                },
                "topicType": {
                  "type": "integer",
                  "description": "1=general, 2=goal-related, 3=blocker, 4=feedback"
                },
                "relatedGoalId": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "keyResultId": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "title": {
                  "type": "string",
                  "minLength": 1.0,
                  "maxLength": 200.0
                },
                "discussion": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "actionItem": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "actionOwnerId": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "actionDueDate": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date"
                },
                "actionCompleted": {
                  "type": "boolean"
                },
                "actionCompletedDate": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "discussed": {
                  "type": "boolean"
                },
                "sortOrder": {
                  "type": "integer"
                }
              }
            }
          }
        }
      },
      "OneOnOneInput": {
        "type": "object",
        "properties": {
          "employeeId": {
            "type": "integer"
          },
          "managerId": {
            "type": "integer"
          },
          "scheduledDate": {
            "type": "string",
            "format": "date-time"
          },
          "durationMinutes": {
            "type": "integer",
            "minimum": 1.0,
            "maximum": 480.0
          },
          "status": {
            "type": "integer",
            "enum": [
              1.0,
              2.0,
              3.0
            ],
            "description": "1=scheduled, 2=completed, 3=cancelled (default 1)"
          },
          "seriesId": {
            "type": "string",
            "format": "uuid",
            "description": "Group recurring 1:1s under a shared series"
          },
          "sharedNotes": {
            "type": "string",
            "maxLength": 8000.0
          },
          "employeeNotes": {
            "type": "string",
            "maxLength": 8000.0,
            "description": "Only writable by the employee"
          },
          "managerNotes": {
            "type": "string",
            "maxLength": 8000.0,
            "description": "Only writable by the manager"
          }
        },
        "required": [
          "employeeId",
          "managerId"
        ]
      },
      "OneOnOneEditInput": {
        "type": "object",
        "description": "Partial update. Immutable fields (oneOnOneId, districtId, employeeId, managerId, pulseCheckId, created, createdBy, active, deleteDate) are stripped server-side. Note-fields enforce role: employees cannot write managerNotes, managers cannot write employeeNotes.",
        "properties": {
          "scheduledDate": {
            "type": "string",
            "format": "date-time"
          },
          "actualDate": {
            "type": "string",
            "format": "date-time"
          },
          "durationMinutes": {
            "type": "integer",
            "minimum": 1.0,
            "maximum": 480.0
          },
          "status": {
            "type": "integer",
            "enum": [
              1.0,
              2.0,
              3.0
            ]
          },
          "sharedNotes": {
            "type": "string",
            "maxLength": 8000.0
          },
          "employeeNotes": {
            "type": "string",
            "maxLength": 8000.0
          },
          "managerNotes": {
            "type": "string",
            "maxLength": 8000.0
          },
          "seriesId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "OneOnOneTopicInput": {
        "type": "object",
        "properties": {
          "topicType": {
            "type": "integer",
            "enum": [
              1.0,
              2.0,
              3.0,
              4.0
            ],
            "description": "1=general (default), 2=goal-related, 3=blocker, 4=feedback"
          },
          "relatedGoalId": {
            "type": "integer",
            "description": "Required when topicType=2; must belong to caller's district"
          },
          "keyResultId": {
            "type": "integer",
            "description": "Must belong to the caller district"
          },
          "title": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 200.0
          },
          "discussion": {
            "type": "string",
            "maxLength": 8000.0
          },
          "actionItem": {
            "type": "string",
            "maxLength": 8000.0
          },
          "actionOwnerId": {
            "type": "integer"
          },
          "actionDueDate": {
            "type": "string",
            "format": "date"
          },
          "discussed": {
            "type": "boolean"
          },
          "sortOrder": {
            "type": "integer",
            "description": "Auto-assigned to MAX+1 if omitted"
          }
        },
        "required": [
          "title"
        ]
      },
      "OneOnOneTopicEditInput": {
        "type": "object",
        "description": "Partial topic update. Setting actionCompleted=true auto-stamps actionCompletedDate when not supplied.",
        "properties": {
          "topicType": {
            "type": "integer",
            "enum": [
              1.0,
              2.0,
              3.0,
              4.0
            ]
          },
          "relatedGoalId": {
            "type": "integer"
          },
          "keyResultId": {
            "type": "integer",
            "description": "Must belong to the caller district"
          },
          "title": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 200.0
          },
          "discussion": {
            "type": "string",
            "maxLength": 8000.0
          },
          "actionItem": {
            "type": "string",
            "maxLength": 8000.0
          },
          "actionOwnerId": {
            "type": "integer"
          },
          "actionDueDate": {
            "type": "string",
            "format": "date"
          },
          "actionCompleted": {
            "type": "boolean"
          },
          "actionCompletedDate": {
            "type": "string",
            "format": "date-time"
          },
          "discussed": {
            "type": "boolean"
          },
          "sortOrder": {
            "type": "integer"
          }
        }
      },
      "AccountOptions": {
        "type": "object",
        "properties": {
          "districtId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "localeId": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "tableStyleId": {
            "type": "integer"
          },
          "podStyleId": {
            "type": "integer"
          },
          "ipAddress": {
            "type": "string"
          },
          "ipBlacklist": {
            "type": "string"
          },
          "ipWhitelist": {
            "type": "string"
          },
          "archive": {
            "type": "boolean"
          },
          "archiveDate": {
            "type": "string",
            "format": "date"
          },
          "hostname": {
            "type": "string"
          },
          "userId": {
            "type": "integer"
          },
          "requireTwoFactor": {
            "type": "boolean"
          },
          "locked": {
            "type": "boolean"
          },
          "lockedMessage": {
            "type": "string"
          },
          "publishingEnabled": {
            "type": "boolean"
          },
          "enableAccessibility": {
            "type": "boolean"
          },
          "enableFullstory": {
            "type": "boolean"
          },
          "contentPolicy": {
            "type": "integer",
            "enum": [
              -1.0,
              0.0,
              1.0
            ],
            "description": "Content cleaning policy: 1 = auto-clean, 0 = warn and clean, -1 = allow invalid"
          },
          "chartId": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string"
                },
                "chartId": {
                  "type": "integer"
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "menu": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "menuId": {
                  "type": "integer"
                },
                "scorecardId": {
                  "type": "integer"
                },
                "object": {
                  "type": "string"
                },
                "sortOrder": {
                  "type": "integer"
                },
                "hidden": {
                  "type": "boolean"
                },
                "name": {
                  "type": "string"
                },
                "plural": {
                  "type": "string"
                },
                "menuLabel": {
                  "type": "string"
                },
                "defaultName": {
                  "type": "string"
                },
                "defaultPlural": {
                  "type": "string"
                },
                "defaultMenu": {
                  "type": "string"
                },
                "customizations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "menuId": {
                        "type": "integer"
                      },
                      "scorecardId": {
                        "type": "integer"
                      },
                      "scorecard": {
                        "type": "string"
                      },
                      "object": {
                        "type": "string"
                      },
                      "hidden": {
                        "type": "boolean"
                      },
                      "name": {
                        "type": "string"
                      },
                      "plural": {
                        "type": "string"
                      },
                      "menuLabel": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "required": [
                "menuId",
                "scorecardId",
                "object",
                "sortOrder",
                "hidden"
              ]
            }
          },
          "license": {
            "type": "object",
            "properties": {
              "licensedUntil": {
                "type": "string"
              },
              "edition": {
                "type": "string"
              },
              "premiumSupportSeats": {
                "type": "integer"
              },
              "users": {
                "type": "object",
                "properties": {
                  "full": {
                    "type": "object",
                    "properties": {
                      "limit": {
                        "type": "integer"
                      },
                      "count": {
                        "type": "integer"
                      },
                      "available": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "limit",
                      "count",
                      "available"
                    ]
                  },
                  "browsers": {
                    "type": "object",
                    "properties": {
                      "limit": {
                        "type": "integer"
                      },
                      "count": {
                        "type": "integer"
                      },
                      "available": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "limit",
                      "count",
                      "available"
                    ]
                  },
                  "updaters": {
                    "type": "object",
                    "properties": {
                      "limit": {
                        "type": "integer"
                      },
                      "count": {
                        "type": "integer"
                      },
                      "available": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "limit",
                      "count",
                      "available"
                    ]
                  },
                  "okrOnly": {
                    "type": "object",
                    "properties": {
                      "limit": {
                        "type": "integer"
                      },
                      "count": {
                        "type": "integer"
                      },
                      "available": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "limit",
                      "count",
                      "available"
                    ]
                  }
                },
                "required": [
                  "full",
                  "browsers",
                  "updaters"
                ]
              }
            },
            "required": [
              "licensedUntil",
              "edition",
              "users"
            ]
          },
          "statusElements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "object": {
                  "type": "string"
                },
                "custom": {
                  "type": "boolean"
                }
              },
              "required": [
                "name",
                "object",
                "custom"
              ]
            }
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fieldId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "plural": {
                  "type": "string"
                },
                "defaultName": {
                  "type": "string"
                },
                "defaultPlural": {
                  "type": "string"
                },
                "customizations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "labelId": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "plural": {
                        "type": "string"
                      },
                      "scorecard": {
                        "type": "string"
                      },
                      "scorecardId": {
                        "type": "integer"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "labelId",
                      "name",
                      "plural",
                      "scorecard",
                      "scorecardId",
                      "type"
                    ]
                  }
                }
              },
              "required": [
                "fieldId",
                "name",
                "plural",
                "defaultName",
                "defaultPlural",
                "customizations"
              ]
            }
          },
          "defaultFields": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "fieldId": {
                        "type": "string"
                      },
                      "object": {
                        "type": "string"
                      },
                      "default": {
                        "type": "string"
                      },
                      "updateMode": {
                        "type": "boolean"
                      },
                      "hidden": {
                        "type": "boolean"
                      },
                      "name": {
                        "type": "string"
                      },
                      "color": {
                        "type": "string",
                        "enum": [
                          "default",
                          "primary",
                          "secondary",
                          "accent1",
                          "accent2",
                          "accent3",
                          "accent4",
                          "accent5",
                          "accent6"
                        ]
                      }
                    },
                    "required": [
                      "fieldId",
                      "object",
                      "default",
                      "updateMode",
                      "hidden",
                      "name"
                    ]
                  }
                }
              },
              "required": [
                "object",
                "fields"
              ]
            }
          },
          "fieldTypes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fieldType": {
                  "type": "string"
                },
                "editOnly": {
                  "type": "boolean"
                },
                "plan": {
                  "type": "string"
                }
              },
              "required": [
                "fieldType",
                "editOnly",
                "plan"
              ]
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "customFieldId": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "object": {
                        "type": "string"
                      },
                      "updateMode": {
                        "type": "boolean"
                      },
                      "fieldType": {
                        "type": "string"
                      },
                      "customFieldType": {
                        "type": "string"
                      },
                      "scorecardId": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        }
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "detailCount": {
                        "type": "integer"
                      },
                      "summaryCount": {
                        "type": "integer"
                      },
                      "active": {
                        "type": "boolean"
                      },
                      "archived": {
                        "type": "boolean"
                      },
                      "lastEdited": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "lastEditedBy": {
                        "type": "integer"
                      },
                      "pickListItems": {
                        "type": "string"
                      },
                      "picklist": {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "description": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "key",
                                "name",
                                "description"
                              ]
                            }
                          ]
                        }
                      },
                      "color": {
                        "type": "string",
                        "enum": [
                          "default",
                          "primary",
                          "secondary",
                          "accent1",
                          "accent2",
                          "accent3",
                          "accent4",
                          "accent5",
                          "accent6"
                        ]
                      }
                    },
                    "required": [
                      "customFieldId",
                      "name",
                      "object",
                      "updateMode",
                      "fieldType",
                      "customFieldType",
                      "scorecardId",
                      "sortOrder",
                      "active",
                      "archived"
                    ]
                  }
                }
              },
              "required": [
                "object",
                "fields"
              ]
            }
          },
          "measureLibraries": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "options": {
            "type": "object",
            "properties": {
              "aiPreferences": {
                "type": "object",
                "properties": {
                  "openAiAccepted": {
                    "type": "boolean"
                  },
                  "openAiAcceptedDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "openAiAcceptedBy": {
                    "type": "string"
                  },
                  "toneOfVoice": {
                    "type": "string"
                  },
                  "responseLength": {
                    "type": "string"
                  },
                  "recommendationType": {
                    "type": "string"
                  },
                  "preferences": {
                    "type": "string"
                  }
                },
                "required": [
                  "openAiAccepted",
                  "openAiAcceptedDate",
                  "openAiAcceptedBy",
                  "toneOfVoice",
                  "responseLength",
                  "recommendationType",
                  "otherGuidance"
                ]
              },
              "accentColors": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "evaluations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "elementName": {
                      "type": "string"
                    },
                    "active": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "object",
                    "label",
                    "elementName",
                    "active"
                  ]
                }
              },
              "confidentialityStatement": {
                "type": "string"
              },
              "contentBackgroundColor": {
                "type": "string"
              },
              "contentBorderColor": {
                "type": "string"
              },
              "menuColor": {
                "type": "string"
              },
              "navbarColor": {
                "type": "string"
              },
              "defaultColor": {
                "type": "string"
              },
              "defaultHeaderColor": {
                "type": "string"
              },
              "primaryColor": {
                "type": "string"
              },
              "secondaryColor": {
                "type": "string"
              },
              "brandLogo": {
                "type": "string"
              },
              "brandLogoDark": {
                "type": "string"
              },
              "address": {
                "type": "string"
              },
              "customLogoutUrl": {
                "type": "string"
              },
              "defaultBriefingBookHeader": {
                "type": "string"
              },
              "defaultBriefingBookFooter": {
                "type": "string"
              },
              "defaultActionItemLayoutId": {
                "type": "integer"
              },
              "defaultActionItemScorecardId": {
                "type": "integer"
              },
              "defaultInitiativeLayoutId": {
                "type": "integer"
              },
              "defaultInitiativeScorecardId": {
                "type": "integer"
              },
              "defaultMeasureLayoutId": {
                "type": "integer"
              },
              "defaultMeasureScorecardId": {
                "type": "integer"
              },
              "defaultMilestoneLayoutId": {
                "type": "integer"
              },
              "defaultMilestoneScorecardId": {
                "type": "integer"
              },
              "defaultObjectiveLayoutId": {
                "type": "integer"
              },
              "defaultObjectiveScorecardId": {
                "type": "integer"
              },
              "defaultRiskLayoutId": {
                "type": "integer"
              },
              "defaultRiskScorecardId": {
                "type": "integer"
              },
              "enableBulkEditing": {
                "type": "boolean"
              },
              "enableMarkdown": {
                "type": "boolean"
              },
              "expirePasswords": {
                "type": "boolean"
              },
              "globalEulaAccepted": {
                "type": "boolean"
              },
              "gridRowCount": {
                "type": "integer"
              },
              "includeCategoryDescription": {
                "type": "boolean"
              },
              "linkMeasures": {
                "type": "boolean"
              },
              "lockHome": {
                "type": "boolean"
              },
              "passwordRegex": {
                "type": "string"
              },
              "passwordRules": {
                "type": "string"
              },
              "pdfFontSize": {
                "type": "integer"
              },
              "preventMultiple": {
                "type": "boolean"
              },
              "reportRowCount": {
                "type": "integer"
              },
              "showAdvanced": {
                "type": "boolean"
              },
              "showOwners": {
                "type": "boolean"
              },
              "showOwnersInGrid": {
                "type": "boolean"
              },
              "strikeComplete": {
                "type": "boolean"
              },
              "subtableIndicators": {
                "type": "string"
              },
              "trackActionItemDate": {
                "type": "boolean"
              },
              "trackDate": {
                "type": "boolean"
              },
              "trackInitiativeDate": {
                "type": "boolean"
              },
              "trackRiskDate": {
                "type": "boolean"
              },
              "allowGoogleLogin": {
                "type": "boolean"
              },
              "allowOffice365Login": {
                "type": "boolean"
              },
              "office365Enabled": {
                "type": "boolean"
              },
              "googleWorkspaceEnabled": {
                "type": "boolean"
              },
              "slackEnabled": {
                "type": "boolean"
              },
              "stytchAuthEnabled": {
                "type": "boolean"
              },
              "stytchOrganizationId": {
                "type": "string"
              },
              "disableAi": {
                "type": "boolean"
              },
              "allowIdpDiscovery": {
                "type": "boolean"
              },
              "myScorecardFields": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "contacts": {
                "type": "object",
                "patternProperties": {
                  "^(technical|administrator|billing|decisionMaker)$": {
                    "type": "object",
                    "patternProperties": {
                      "^[0-9]+$": {
                        "type": "object",
                        "properties": {
                          "lastName": {
                            "type": "string"
                          },
                          "firstName": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "lastName",
                          "firstName",
                          "email"
                        ]
                      }
                    }
                  }
                }
              },
              "csp": {
                "type": "object",
                "properties": {
                  "frameSrc": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Allowed domains for iframe embeds. Defaults are provided by the platform; accounts can remove or add entries."
                  }
                }
              }
            },
            "required": [
              "confidentialityStatement"
            ]
          }
        },
        "required": [
          "districtId",
          "name"
        ]
      },
      "AccountOptionsInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "localeId": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "tableStyleId": {
            "type": "integer"
          },
          "podStyleId": {
            "type": "integer"
          },
          "ipBlacklist": {
            "type": "string"
          },
          "ipWhitelist": {
            "type": "string"
          },
          "requireTwoFactor": {
            "type": "boolean"
          },
          "locked": {
            "type": "boolean"
          },
          "lockedMessage": {
            "type": "string"
          },
          "publishingEnabled": {
            "type": "boolean"
          },
          "options": {
            "type": "object",
            "properties": {
              "accentColors": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "confidentialityStatement": {
                "type": "string"
              },
              "contentBackgroundColor": {
                "type": "string"
              },
              "contentBorderColor": {
                "type": "string"
              },
              "contentPolicy": {
                "type": "integer",
                "enum": [
                  -1.0,
                  0.0,
                  1.0
                ],
                "description": "Content cleaning policy: 1 = auto-clean, 0 = warn and clean, -1 = allow invalid"
              },
              "defaultActionItemLayoutId": {
                "type": "integer"
              },
              "defaultActionItemScorecardId": {
                "type": "integer"
              },
              "defaultInitiativeLayoutId": {
                "type": "integer"
              },
              "defaultInitiativeScorecardId": {
                "type": "integer"
              },
              "defaultMeasureLayoutId": {
                "type": "integer"
              },
              "defaultMeasureScorecardId": {
                "type": "integer"
              },
              "defaultMilestoneLayoutId": {
                "type": "integer"
              },
              "defaultMilestoneScorecardId": {
                "type": "integer"
              },
              "defaultObjectiveLayoutId": {
                "type": "integer"
              },
              "defaultObjectiveScorecardId": {
                "type": "integer"
              },
              "defaultRiskLayoutId": {
                "type": "integer"
              },
              "defaultRiskScorecardId": {
                "type": "integer"
              },
              "enableAccessibility": {
                "type": "boolean"
              },
              "enableBulkEditing": {
                "type": "boolean"
              },
              "enableFullstory": {
                "type": "boolean"
              },
              "enableMarkdown": {
                "type": "boolean"
              },
              "expirePasswords": {
                "type": "boolean"
              },
              "gridRowCount": {
                "type": "integer"
              },
              "includeCategoryDescription": {
                "type": "boolean"
              },
              "linkMeasures": {
                "type": "boolean"
              },
              "lockHome": {
                "type": "boolean"
              },
              "navbarColor": {
                "type": "string"
              },
              "office365Enabled": {
                "type": "boolean"
              },
              "googleWorkspaceEnabled": {
                "type": "boolean"
              },
              "slackEnabled": {
                "type": "boolean"
              },
              "stytchAuthEnabled": {
                "type": "boolean"
              },
              "stytchOrganizationId": {
                "type": "string"
              },
              "passwordRegex": {
                "type": "string"
              },
              "passwordRules": {
                "type": "string"
              },
              "pdfFontSize": {
                "type": "integer"
              },
              "preventMultiple": {
                "type": "boolean"
              },
              "primaryColor": {
                "type": "string"
              },
              "defaultColor": {
                "type": "string"
              },
              "defaultHeaderColor": {
                "type": "string"
              },
              "reportRowCount": {
                "type": "integer"
              },
              "secondaryColor": {
                "type": "string"
              },
              "showAdvanced": {
                "type": "boolean"
              },
              "showOwners": {
                "type": "boolean"
              },
              "strikeComplete": {
                "type": "boolean"
              },
              "subtableIndicators": {
                "type": "string"
              },
              "trackActionItemDate": {
                "type": "boolean"
              },
              "trackDate": {
                "type": "boolean"
              },
              "trackInitiativeDate": {
                "type": "boolean"
              },
              "trackRiskDate": {
                "type": "boolean"
              },
              "csp": {
                "type": "object",
                "properties": {
                  "frameSrc": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Allowed domains for iframe embeds. Defaults are provided by the platform; accounts can remove or add entries."
                  }
                }
              }
            },
            "required": [
              "confidentialityStatement"
            ]
          }
        },
        "required": [
          "districtId",
          "name"
        ]
      },
      "PageExportInput": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer"
          },
          "detailPage": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "userId",
          "name"
        ]
      },
      "PageExport": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer"
          },
          "user": {
            "type": "string"
          },
          "generatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "filename": {
            "type": "string",
            "readOnly": true
          },
          "pageExportId": {
            "type": "integer",
            "readOnly": true
          },
          "detailPage": {
            "type": "boolean",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "link": {
            "type": "object",
            "properties": {
              "validUntil": {
                "type": "string",
                "format": "date-time",
                "readOnly": true
              },
              "url": {
                "type": "string",
                "readOnly": true
              }
            },
            "required": [
              "validUntil",
              "url"
            ]
          }
        },
        "required": [
          "userId",
          "generatedDate",
          "filename",
          "pageExportId",
          "name"
        ]
      },
      "ParseJobs": {
        "type": "array",
        "description": "List of parsing jobs for the district. Large outputs/steering/summary/metadata blobs are omitted; fetch a single job to retrieve them.",
        "items": {
          "type": "object",
          "properties": {
            "parseJobId": {
              "type": "integer"
            },
            "districtId": {
              "type": "integer"
            },
            "userId": {
              "type": [
                "integer",
                "null"
              ]
            },
            "name": {
              "type": "string"
            },
            "documentFamily": {
              "type": [
                "string",
                "null"
              ]
            },
            "documentName": {
              "type": [
                "string",
                "null"
              ]
            },
            "documentKey": {
              "type": [
                "string",
                "null"
              ]
            },
            "jobType": {
              "type": [
                "string",
                "null"
              ]
            },
            "status": {
              "type": "string"
            },
            "manifestGeneratedAt": {
              "type": [
                "string",
                "null"
              ]
            },
            "pipelineVersion": {
              "type": [
                "string",
                "null"
              ]
            },
            "createdDate": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "updatedDate": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "active": {
              "type": "boolean"
            }
          },
          "required": [
            "parseJobId",
            "districtId",
            "name",
            "status"
          ]
        }
      },
      "ParseJobInput": {
        "type": "object",
        "description": "Create/update payload for a parse job. All fields optional on edit; omitted fields are left unchanged. outputs/steering/metadata accept arbitrary JSON.",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "documentFamily": {
            "type": "string",
            "maxLength": 150.0
          },
          "documentName": {
            "type": "string",
            "maxLength": 500.0
          },
          "documentSha256": {
            "type": "string",
            "maxLength": 64.0
          },
          "documentKey": {
            "type": "string",
            "maxLength": 700.0
          },
          "jobType": {
            "type": "string",
            "enum": [
              "setup",
              "update"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "inProgress",
              "awaitingReview",
              "approved",
              "applied",
              "failed",
              "cancelled"
            ]
          },
          "outputs": {},
          "steering": {},
          "summary": {
            "type": "string"
          },
          "metadata": {},
          "pipelineVersion": {
            "type": "string",
            "maxLength": 50.0
          }
        }
      },
      "ParseJob": {
        "type": "object",
        "description": "A parse job: persistence/metadata for a cps-parse document-parsing run. Holds artifacts (source document, generated outputs, steering file, cached lookup manifest, summary) and opaque service orchestration metadata. ClearPoint stores it; the parser owns orchestration.",
        "properties": {
          "parseJobId": {
            "type": "integer"
          },
          "districtId": {
            "type": "integer"
          },
          "userId": {
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "documentFamily": {
            "type": [
              "string",
              "null"
            ]
          },
          "documentName": {
            "type": [
              "string",
              "null"
            ]
          },
          "documentSha256": {
            "type": [
              "string",
              "null"
            ]
          },
          "documentKey": {
            "type": [
              "string",
              "null"
            ],
            "description": "S3 object key of the source document."
          },
          "document": {
            "type": "object",
            "readOnly": true,
            "description": "Presigned GET for the source document (present when documentKey is set).",
            "properties": {
              "url": {
                "type": "string"
              },
              "validUntil": {
                "type": "string",
                "format": "date-time"
              }
            }
          },
          "jobType": {
            "type": [
              "string",
              "null"
            ],
            "description": "setup | update (label only)."
          },
          "status": {
            "type": "string",
            "description": "pending | inProgress | awaitingReview | approved | applied | failed | cancelled"
          },
          "outputs": {
            "description": "Generated envelope payload(s); service-managed JSON."
          },
          "steering": {
            "description": "Steering file JSON."
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Human-readable markdown summary."
          },
          "manifestGeneratedAt": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true,
            "description": "When the cached lookup manifest was built, or null if none cached. The manifest body is large and is fetched via GET /parseJobs/{id}/manifest, not inlined here."
          },
          "metadata": {
            "description": "Opaque orchestration state owned by the parsing service."
          },
          "pipelineVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updatedDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "parseJobId",
          "districtId",
          "name",
          "status"
        ]
      },
      "LookupManifest": {
        "type": "object",
        "description": "cps-parse lookup manifest: per-district resolution context for the parser. catalog = existing objects for name->objectId matching; enumerations = constrained value sets; referenceData = system lookups for setup.",
        "required": [
          "districtId",
          "generatedAt",
          "catalog",
          "enumerations",
          "referenceData"
        ],
        "properties": {
          "districtId": {
            "type": "integer"
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "catalog": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "object",
                "objectId",
                "name"
              ],
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "category",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "objectId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                },
                "scorecardId": {
                  "type": "integer"
                },
                "ownerId": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "active": {
                  "type": "boolean"
                }
              }
            }
          },
          "enumerations": {
            "type": "object",
            "properties": {
              "statuses": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "statusId",
                    "name"
                  ],
                  "properties": {
                    "statusId": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "color": {
                      "type": "string"
                    },
                    "score": {
                      "type": "integer"
                    }
                  }
                }
              },
              "periods": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "periodId",
                    "name"
                  ],
                  "properties": {
                    "periodId": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "periodDate": {
                      "type": "string"
                    }
                  }
                }
              },
              "users": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "userId"
                  ],
                  "properties": {
                    "userId": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    }
                  }
                }
              },
              "customFields": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "customFieldId",
                    "name"
                  ],
                  "properties": {
                    "customFieldId": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "customFieldType": {
                      "type": "string"
                    },
                    "object": {
                      "type": "string"
                    }
                  }
                }
              },
              "measureSeries": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "measureSeriesId",
                    "name"
                  ],
                  "properties": {
                    "measureSeriesId": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "measureId": {
                      "type": "integer"
                    },
                    "scorecardId": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "referenceData": {
            "type": "object",
            "properties": {
              "seriesDataTypes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "seriesDataTypeId",
                    "name"
                  ],
                  "properties": {
                    "seriesDataTypeId": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              },
              "numberFormats": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "numberFormatId",
                    "name"
                  ],
                  "properties": {
                    "numberFormatId": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "example": {
                      "type": "string"
                    }
                  }
                }
              },
              "periodGroups": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "periodGroupId",
                    "name"
                  ],
                  "properties": {
                    "periodGroupId": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "tagId",
                    "name"
                  ],
                  "properties": {
                    "tagId": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "PeerGroups": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/PeerGroup"
        }
      },
      "PeerGroup": {
        "type": "object",
        "properties": {
          "peerGroupId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "peers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "peerId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "sharedMeasureCount": {
                  "type": "integer"
                }
              },
              "required": [
                "peerId",
                "name"
              ]
            }
          }
        },
        "required": [
          "name",
          "peerGroupId"
        ]
      },
      "PeerGroupMeasures": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/PeerGroupMeasure"
        }
      },
      "PeerGroupMeasure": {
        "type": "object",
        "properties": {
          "peerId": {
            "type": "integer"
          },
          "measureId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "peer": {
            "type": "string"
          },
          "definition": {
            "type": "string"
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "peerSeriesCount": {
            "type": "integer"
          },
          "subscribers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "email": {
                  "type": "string"
                },
                "organization": {
                  "type": "string"
                },
                "phoneNumber": {
                  "type": "string"
                },
                "fullName": {
                  "type": "string"
                }
              },
              "required": [
                "email"
              ]
            }
          },
          "contact": {
            "type": "object",
            "properties": {
              "email": {
                "type": "string"
              },
              "organization": {
                "type": "string"
              },
              "phoneNumber": {
                "type": "string"
              },
              "fullName": {
                "type": "string"
              }
            },
            "required": [
              "email"
            ]
          }
        },
        "required": [
          "name",
          "contact",
          "definition"
        ]
      },
      "PeerGroupMeasureInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "definition": {
            "type": "string"
          },
          "objectiveId": {
            "type": "integer"
          },
          "series": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "newName": {
                  "type": "string",
                  "minLength": 1.0,
                  "maxLength": 50.0
                },
                "numberFormatId": {
                  "type": "integer"
                },
                "seriesDataTypeId": {
                  "type": "integer"
                },
                "selected": {
                  "type": "boolean"
                },
                "currency": {
                  "type": "string"
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                },
                "measureSeriesId": {
                  "type": "integer",
                  "readOnly": true
                },
                "numberFormat": {
                  "$ref": "#/components/schemas/_numberFormat"
                }
              },
              "required": [
                "name",
                "measureSeriesId",
                "seriesDataTypeId"
              ]
            }
          }
        },
        "required": [
          "name",
          "scorecardId",
          "series"
        ]
      },
      "PeerMeasureSerieses": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/PeerMeasureSeries"
        }
      },
      "PeerPreview": {
        "type": "object",
        "properties": {
          "periodId": {
            "type": "integer"
          },
          "measureId": {
            "type": "integer",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "peerDistrictId": {
            "type": "integer"
          },
          "periodicity": {
            "type": "string"
          },
          "definition": {
            "type": "string"
          },
          "measureGrid": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "statusIndicators": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "periodId",
          "definition"
        ]
      },
      "PeriodGroups": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/PeriodGroup"
        }
      },
      "PeriodGroupInput": {
        "type": "object",
        "properties": {
          "defaultGroup": {
            "type": "boolean"
          },
          "hiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "scorecardId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "gridHiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "periodGroupId": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "scorecardId"
        ]
      },
      "PeriodGroup": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "defaultGroup": {
            "type": "boolean"
          },
          "hiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "scorecardId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "gridHiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "periodGroupId": {
            "type": "integer",
            "readOnly": true
          },
          "periodCount": {
            "type": "integer",
            "readOnly": true
          },
          "periods": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "scorecardList": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                },
                "periodLabel": {
                  "type": "string"
                },
                "hideInGrid": {
                  "type": "boolean"
                },
                "periodDate": {
                  "type": "string",
                  "format": "date",
                  "readOnly": true
                },
                "periodId": {
                  "type": "integer",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "periodId",
                "name"
              ]
            }
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "inUse": {
            "type": "boolean",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "periodGroupId"
        ]
      },
      "Periods": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/Period"
        }
      },
      "PeriodInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0
          },
          "periodDate": {
            "type": "string",
            "format": "date"
          },
          "hidden": {
            "type": "boolean"
          },
          "menuHidden": {
            "type": "boolean"
          },
          "defaultHidden": {
            "type": "boolean"
          },
          "locked": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "scorecardId": {
            "type": "integer"
          },
          "defaultPeriod": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "periodDate"
        ]
      },
      "Period": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "periodDate": {
            "type": "string",
            "format": "date"
          },
          "hidden": {
            "type": "boolean"
          },
          "menuHidden": {
            "type": "boolean"
          },
          "defaultHidden": {
            "type": "boolean"
          },
          "locked": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "scorecardId": {
            "type": "integer"
          },
          "scorecardList": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "defaultPeriod": {
            "type": "boolean"
          },
          "periodGroups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "periodGroupId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string",
                  "minLength": 1.0,
                  "maxLength": 250.0
                },
                "periodLabel": {
                  "type": "string"
                }
              },
              "required": [
                "periodGroupId",
                "name"
              ]
            }
          },
          "periodLocks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "lockDate": {
                  "type": "string",
                  "format": "date"
                },
                "scorecard": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "scorecardId",
                "scorecard"
              ]
            }
          },
          "scorecards": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "scorecardId",
                "name"
              ]
            }
          },
          "periodLocked": {
            "type": "boolean"
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "masterPeriodId": {
            "type": "integer",
            "readOnly": true
          },
          "masterPeriod": {
            "type": "string",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "periodDate",
          "periodId"
        ]
      },
      "Ping": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "serverTime": {
            "type": "string",
            "format": "date-time"
          },
          "serviceVersion": {
            "type": "string"
          }
        }
      },
      "Playbooks": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Playbook"
        },
        "description": "List of playbooks"
      },
      "PlaybookInput": {
        "type": "object",
        "properties": {
          "sortOrder": {
            "type": "integer",
            "description": "Sort order within category"
          },
          "playbookKey": {
            "type": "string",
            "description": "URL-friendly key for the playbook (auto-generated from name if not provided)"
          },
          "name": {
            "type": "string",
            "description": "Display name of the playbook"
          },
          "categoryKey": {
            "type": [
              "string",
              "null"
            ],
            "description": "Category key for the playbook"
          },
          "icon": {
            "type": "string",
            "description": "Icon name for the playbook"
          },
          "description": {
            "type": "string",
            "description": "Brief description of what the playbook does"
          },
          "planTier": {
            "type": "string",
            "description": "Plan tier used for server-side playbook filtering"
          },
          "districtIds": {
            "type": "array",
            "items": {
              "type": [
                "integer",
                "string"
              ]
            },
            "description": "District restrictions used for server-side playbook filtering"
          },
          "playbookType": {
            "type": "string",
            "description": "Playbook type used for server-side playbook filtering"
          },
          "definition": {
            "$ref": "#/components/schemas/_playbookDefinition"
          },
          "active": {
            "type": "boolean",
            "description": "Whether the playbook is active and available",
            "default": true
          }
        },
        "required": [
          "name",
          "playbookKey"
        ],
        "additionalProperties": true
      },
      "Playbook": {
        "type": "object",
        "properties": {
          "sortOrder": {
            "type": "integer",
            "description": "Sort order within category"
          },
          "categorySortOrder": {
            "type": "integer",
            "description": "Sort order for the category"
          },
          "playbookKey": {
            "type": "string",
            "description": "URL-friendly key for the playbook"
          },
          "name": {
            "type": "string",
            "description": "Display name of the playbook"
          },
          "categoryKey": {
            "type": [
              "string",
              "null"
            ],
            "description": "Category key for the playbook"
          },
          "categoryName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Display name of the playbook category"
          },
          "categoryIcon": {
            "type": [
              "string",
              "null"
            ],
            "description": "Icon for the playbook category"
          },
          "icon": {
            "type": "string",
            "description": "Icon name for the playbook"
          },
          "description": {
            "type": "string",
            "description": "Brief description of what the playbook does"
          },
          "planTier": {
            "type": "string",
            "description": "Plan tier used for server-side playbook filtering"
          },
          "districtIds": {
            "type": "array",
            "items": {
              "type": [
                "integer",
                "string"
              ]
            },
            "description": "District restrictions used for server-side playbook filtering"
          },
          "playbookType": {
            "type": "string",
            "description": "Playbook type used for server-side playbook filtering"
          },
          "definition": {
            "$ref": "#/components/schemas/_playbookDefinition"
          }
        },
        "required": [
          "playbookKey",
          "name",
          "active",
          "sortOrder"
        ],
        "additionalProperties": true
      },
      "PlaybookCategories": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/_playbookCategory"
        },
        "description": "List of playbook categories"
      },
      "PlaybookCategoriesInput": {
        "type": "object",
        "properties": {
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_playbookCategory"
            }
          }
        },
        "required": [
          "categories"
        ],
        "additionalProperties": false
      },
      "PodStyles": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/PodStyle"
        }
      },
      "PodStyleInput": {
        "type": "object",
        "properties": {
          "headerTextCss": {
            "type": "string"
          },
          "borderCss": {
            "type": "string"
          },
          "backgroundCss": {
            "type": "string"
          },
          "headerCss": {
            "type": "string"
          },
          "defaultStyle": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          }
        },
        "required": [
          "name",
          "podStyleId"
        ]
      },
      "PodStyle": {
        "type": "object",
        "properties": {
          "headerTextCss": {
            "type": "string"
          },
          "borderCss": {
            "type": "string"
          },
          "backgroundCss": {
            "type": "string"
          },
          "headerCss": {
            "type": "string"
          },
          "defaultStyle": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "podStyleId": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "podStyleId"
        ]
      },
      "PreviewInput": {
        "type": "object",
        "properties": {
          "calculation": {
            "type": "string"
          },
          "measureId": {
            "type": "integer"
          },
          "measureSeriesId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          }
        },
        "required": [
          "calculation"
        ]
      },
      "User": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "department": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 250.0
          },
          "digestEmails": {
            "type": "boolean"
          },
          "email": {
            "type": "string",
            "minLength": 1.0,
            "format": "email",
            "maxLength": 50.0
          },
          "emailOption": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0
            ],
            "default": 2.0
          },
          "teamsOption": {
            "type": "integer",
            "enum": [
              0.0,
              1.0
            ],
            "default": 0.0
          },
          "slackOption": {
            "type": "integer",
            "enum": [
              0.0,
              1.0
            ],
            "default": 0.0
          },
          "firstName": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "generateTwoFactor": {
            "type": "boolean"
          },
          "eulaAccepted": {
            "type": "boolean"
          },
          "hideSplash": {
            "type": "boolean"
          },
          "home": {
            "$ref": "#/components/schemas/_home"
          },
          "lastName": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "localeId": {
            "type": "string",
            "enum": [
              "en_us",
              "es_mx",
              "fr_ca",
              "pt_br",
              "en_gb"
            ],
            "default": "en_us"
          },
          "notificationEmail": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 50.0
          },
          "notifyFavorite": {
            "type": "boolean"
          },
          "notifyOwner": {
            "type": "boolean"
          },
          "aiEnabled": {
            "type": "boolean"
          },
          "openAIAccepted": {
            "type": "boolean"
          },
          "openAIAcceptedDate": {
            "type": "string",
            "format": "date-time"
          },
          "g2ReviewLink": {
            "type": "string"
          },
          "redirectToNext": {
            "type": "boolean"
          },
          "phoneNumber": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 50.0
          },
          "profileImage": {
            "type": "string"
          },
          "profilePhoto": {
            "type": "string"
          },
          "requireSso": {
            "type": "boolean"
          },
          "requireTwoFactor": {
            "type": "boolean"
          },
          "serviceAccount": {
            "type": "boolean"
          },
          "resetPassword": {
            "type": "boolean"
          },
          "showPortal": {
            "type": "boolean"
          },
          "supervisorId": {
            "type": "integer"
          },
          "timezoneId": {
            "type": "string"
          },
          "title": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 250.0
          },
          "userTypeId": {
            "type": "integer",
            "enum": [
              1.0,
              2.0,
              3.0,
              4.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0
            ]
          },
          "companyName": {
            "type": "string",
            "readOnly": true
          },
          "companySignupUnix": {
            "type": "integer",
            "readOnly": true
          },
          "disableFlash": {
            "type": "boolean",
            "readOnly": true
          },
          "districtId": {
            "type": "integer",
            "readOnly": true
          },
          "emailStatus": {
            "type": "string",
            "readOnly": true
          },
          "eulaAcceptedDate": {
            "type": "string",
            "readOnly": true
          },
          "everAfterPortal": {
            "type": "string",
            "readOnly": true
          },
          "fullName": {
            "type": "string",
            "readOnly": true
          },
          "gravatarHash": {
            "type": "string",
            "readOnly": true
          },
          "instance": {
            "type": "string",
            "readOnly": true
          },
          "isManager": {
            "type": "boolean",
            "readOnly": true
          },
          "lastLoginIp": {
            "type": "string",
            "readOnly": true
          },
          "lastLoginDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "licensedEdition": {
            "type": "string",
            "readOnly": true
          },
          "licensedUntilUnix": {
            "type": "integer",
            "readOnly": true
          },
          "locked": {
            "type": "boolean",
            "readOnly": true
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "premiumSupport": {
            "type": "boolean",
            "readOnly": true
          },
          "supportUser": {
            "type": "boolean",
            "readOnly": true
          },
          "tfaKey": {
            "type": "string",
            "readOnly": true
          },
          "tfaUrl": {
            "type": "string",
            "readOnly": true
          },
          "timezoneOffset": {
            "type": [
              "number",
              "null"
            ],
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "userSignupUnix": {
            "type": "integer",
            "readOnly": true
          },
          "userType": {
            "type": "string",
            "readOnly": true
          },
          "utcOffset": {
            "type": "string",
            "readOnly": true
          },
          "isResource": {
            "type": "boolean"
          },
          "capacity": {
            "type": "number"
          },
          "costPerHour": {
            "type": "number"
          },
          "calendarId": {
            "type": "integer"
          },
          "skills": {
            "type": "string"
          },
          "aiPreferences": {
            "type": "object",
            "properties": {
              "preferences": {
                "type": "string"
              },
              "recommendationType": {
                "type": "string"
              },
              "responseLength": {
                "type": "string"
              },
              "toneOfVoice": {
                "type": "string"
              }
            }
          },
          "preferences": {
            "type": "object",
            "properties": {
              "enableNewUI": {
                "type": "boolean"
              },
              "landingPage": {
                "$ref": "#/components/schemas/_landingPagePreferences"
              },
              "notifications": {
                "type": "object",
                "properties": {
                  "soundEnabled": {
                    "type": "boolean"
                  }
                }
              }
            },
            "additionalProperties": true
          },
          "groups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "active": {
                  "type": "boolean",
                  "readOnly": true
                },
                "selected": {
                  "type": "boolean"
                },
                "groupId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "group": {
                  "type": "string"
                }
              },
              "required": [
                "groupId",
                "name",
                "group"
              ]
            }
          },
          "apiKeys": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "apiKeyId": {
                  "type": "integer",
                  "readOnly": true
                },
                "userId": {
                  "type": "integer",
                  "readOnly": true
                },
                "secretKey": {
                  "type": "string",
                  "readOnly": true
                },
                "expires": {
                  "type": "string",
                  "format": "date-time",
                  "readOnly": true
                },
                "deleteDate": {
                  "type": "string",
                  "format": "date-time",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                },
                "active": {
                  "type": "boolean",
                  "readOnly": true
                },
                "apiKey": {
                  "type": "string",
                  "readOnly": true
                },
                "lastEdited": {
                  "type": "string",
                  "format": "date-time",
                  "readOnly": true
                },
                "lastEditedBy": {
                  "type": "integer",
                  "readOnly": true
                }
              },
              "required": [
                "apiKeyId",
                "userId"
              ]
            }
          },
          "scorecards": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "userTypeId": {
                  "type": "integer",
                  "enum": [
                    1.0,
                    2.0,
                    3.0,
                    4.0,
                    7.0,
                    8.0,
                    9.0,
                    10.0,
                    11.0
                  ]
                },
                "scorecardUserTypeId": {
                  "type": "integer",
                  "enum": [
                    1.0,
                    2.0,
                    3.0,
                    4.0,
                    7.0,
                    8.0,
                    9.0,
                    10.0,
                    11.0
                  ]
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                },
                "scorecard": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "name",
                "scorecard"
              ]
            }
          },
          "trustedDevices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "deviceName": {
                  "type": "string"
                },
                "ipAddress": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                },
                "loginTime": {
                  "type": "string"
                },
                "expiration": {
                  "type": "string"
                }
              },
              "required": [
                "ipAddress",
                "loginTime",
                "expiration"
              ]
            }
          },
          "alert": {
            "type": "object",
            "properties": {
              "activeAlerts": {
                "type": "integer",
                "readOnly": true
              },
              "totalAlerts": {
                "type": "integer",
                "readOnly": true
              },
              "activity": {
                "type": "string",
                "readOnly": true
              }
            },
            "required": [
              "activeAlerts",
              "totalAlerts",
              "activity"
            ]
          }
        },
        "required": [
          "userId",
          "email",
          "firstName",
          "lastName",
          "userTypeId",
          "object",
          "objectId"
        ]
      },
      "PulseCheck": {
        "type": "object",
        "properties": {
          "pulseCheckId": {
            "type": "integer",
            "readOnly": true
          },
          "employeeId": {
            "type": "integer",
            "readOnly": true
          },
          "pulseDate": {
            "type": "string",
            "format": "date-time"
          },
          "oneOnOneId": {
            "type": [
              "integer",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "responses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "pulseQuestionId": {
                  "type": "integer"
                },
                "label": {
                  "type": "string"
                },
                "sublabel": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "leftAnchor": {
                  "type": "string"
                },
                "rightAnchor": {
                  "type": "string"
                },
                "score": {
                  "type": "integer",
                  "minimum": 1.0,
                  "maximum": 10.0
                },
                "note": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          }
        }
      },
      "PulseCheckInput": {
        "type": "object",
        "properties": {
          "pulseDate": {
            "type": "string",
            "format": "date-time",
            "description": "Defaults to now if omitted"
          },
          "oneOnOneId": {
            "type": "integer",
            "description": "Optional 1:1 to attach. Server rejects with 409 if already attached."
          },
          "note": {
            "type": "string",
            "maxLength": 4000.0
          },
          "responses": {
            "type": "array",
            "minItems": 1.0,
            "description": "One entry per pulse question",
            "items": {
              "type": "object",
              "properties": {
                "pulseQuestionId": {
                  "type": "integer"
                },
                "score": {
                  "type": "integer",
                  "minimum": 1.0,
                  "maximum": 10.0
                },
                "note": {
                  "type": "string",
                  "maxLength": 4000.0
                }
              },
              "required": [
                "pulseQuestionId",
                "score"
              ]
            }
          }
        },
        "required": [
          "responses"
        ]
      },
      "PulseQuestion": {
        "type": "object",
        "properties": {
          "pulseQuestionId": {
            "type": "integer",
            "readOnly": true
          },
          "label": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 100.0
          },
          "sublabel": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 250.0
          },
          "leftAnchor": {
            "type": "string",
            "maxLength": 50.0
          },
          "rightAnchor": {
            "type": "string",
            "maxLength": 50.0
          },
          "sortOrder": {
            "type": "integer"
          }
        }
      },
      "PulseQuestionsInput": {
        "type": "array",
        "description": "Full desired pulse-question set for the district. Items with a pulseQuestionId update; items without one insert; existing rows whose IDs are absent are soft-deleted.",
        "items": {
          "type": "object",
          "properties": {
            "pulseQuestionId": {
              "type": "integer",
              "description": "Omit for new questions"
            },
            "label": {
              "type": "string",
              "minLength": 1.0,
              "maxLength": 100.0
            },
            "sublabel": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 250.0
            },
            "leftAnchor": {
              "type": "string",
              "minLength": 1.0,
              "maxLength": 50.0
            },
            "rightAnchor": {
              "type": "string",
              "minLength": 1.0,
              "maxLength": 50.0
            },
            "sortOrder": {
              "type": "integer"
            }
          },
          "required": [
            "label",
            "leftAnchor",
            "rightAnchor",
            "sortOrder"
          ]
        }
      },
      "Reminders": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Reminder"
        }
      },
      "ReminderInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "subject": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "ccAddress": {
            "type": "string",
            "format": "email"
          },
          "sendOwners": {
            "type": "boolean"
          },
          "sendCollaborators": {
            "type": "boolean"
          },
          "sendCustom": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "daysSinceUpdate": {
            "type": "integer"
          },
          "sendDate": {
            "type": "string",
            "format": "date"
          },
          "userId": {
            "type": "integer"
          },
          "scheduled": {
            "type": "boolean"
          },
          "owners": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "userId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string",
                  "minLength": 1.0,
                  "maxLength": 50.0
                }
              },
              "required": [
                "userId",
                "selected"
              ]
            }
          },
          "objects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                }
              },
              "required": [
                "object",
                "selected"
              ]
            }
          },
          "status": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "statusId": {
                  "type": "integer"
                }
              },
              "required": [
                "statusId",
                "selected"
              ]
            }
          }
        },
        "required": [
          "name",
          "subject",
          "message",
          "objects"
        ]
      },
      "Reminder": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "subject": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "ccAddress": {
            "type": [
              "string",
              "null"
            ]
          },
          "sendOwners": {
            "type": "boolean"
          },
          "sendCollaborators": {
            "type": "boolean"
          },
          "sendCustom": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "daysSinceUpdate": {
            "type": "integer"
          },
          "sendDate": {
            "type": "string",
            "format": "date"
          },
          "reminderId": {
            "type": "integer",
            "readOnly": true
          },
          "userId": {
            "type": "integer"
          },
          "scheduled": {
            "type": "boolean"
          },
          "owners": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "userId": {
                  "type": "integer",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "minLength": 1.0,
                  "maxLength": 50.0,
                  "readOnly": true
                }
              },
              "required": [
                "userId",
                "name"
              ]
            }
          },
          "objects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "status": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "statusId": {
                  "type": "integer",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "statusId",
                "name"
              ]
            }
          },
          "scorecards": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "scorecardId",
                "name"
              ]
            }
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "reminderId"
        ]
      },
      "ReportStyles": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/ReportStyle"
        }
      },
      "ReportStyleInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "type": {
            "type": "string"
          },
          "defaultStyle": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "reportStyleId",
          "type"
        ]
      },
      "ReportStyle": {
        "type": "object",
        "properties": {
          "reportStyleId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "type": {
            "type": "string"
          },
          "defaultStyle": {
            "type": "boolean"
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "reportStyleId",
          "type"
        ]
      },
      "Reports": {
        "type": "object",
        "properties": {
          "fileCount": {
            "type": "integer"
          },
          "files": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "userId": {
                  "type": "integer"
                },
                "periodId": {
                  "type": "integer"
                },
                "generatedDate": {
                  "type": "string",
                  "format": "date-time"
                },
                "filename": {
                  "type": "string"
                },
                "complete": {
                  "type": "boolean"
                },
                "zipOnly": {
                  "type": "boolean"
                },
                "reportId": {
                  "type": "integer"
                },
                "pageExportId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "link": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    }
                  }
                },
                "period": {
                  "type": "string"
                },
                "districtId": {
                  "type": "integer"
                },
                "templateId": {
                  "type": "integer"
                },
                "template": {
                  "type": "string"
                },
                "enableAccessibility": {
                  "type": "boolean"
                }
              },
              "required": [
                "filename"
              ]
            }
          }
        }
      },
      "ReportInput": {
        "type": "object",
        "properties": {
          "portrait": {
            "type": "boolean"
          },
          "bottomMargin": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "templateId": {
            "type": "integer"
          },
          "watermark": {
            "type": "string"
          },
          "hideFooter": {
            "type": "boolean"
          },
          "hidePdfNav": {
            "type": "boolean"
          },
          "confidentialityStatement": {
            "type": "string"
          },
          "zoom": {
            "type": "integer"
          },
          "coverTemplateLink": {
            "type": "string"
          },
          "coverTemplate": {
            "type": "string"
          },
          "htmlHeader": {
            "type": "string"
          },
          "topMargin": {
            "type": "integer"
          },
          "pageSize": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "footerStyleId": {
            "type": "integer"
          },
          "headerStyleId": {
            "type": "integer"
          },
          "pageSortOrder": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "htmlFooter": {
            "type": "string"
          },
          "contents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "scorecardId": {
                  "type": "integer"
                },
                "pages": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "layoutId": {
                        "type": "integer"
                      },
                      "periodId": {
                        "type": "integer"
                      },
                      "scorecardId": {
                        "type": "integer"
                      },
                      "objectId": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "reportType": {
                        "type": "string"
                      },
                      "objectType": {
                        "type": "string"
                      },
                      "sortOrder": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "layoutId",
                      "sortOrder"
                    ]
                  }
                }
              },
              "required": [
                "scorecardId",
                "pages"
              ]
            }
          }
        },
        "required": [
          "name",
          "contents"
        ]
      },
      "Report": {
        "type": "object",
        "properties": {
          "portrait": {
            "type": "boolean"
          },
          "bottomMargin": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "templateId": {
            "type": "integer"
          },
          "watermark": {
            "type": "string"
          },
          "hideFooter": {
            "type": "boolean"
          },
          "hidePdfNav": {
            "type": "boolean"
          },
          "confidentialityStatement": {
            "type": "string"
          },
          "reportId": {
            "type": "integer"
          },
          "zoom": {
            "type": "integer"
          },
          "coverTemplateLink": {
            "type": "string"
          },
          "coverTemplate": {
            "type": "string"
          },
          "htmlHeader": {
            "type": "string"
          },
          "topMargin": {
            "type": "integer"
          },
          "pageSize": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "footerStyleId": {
            "type": "integer"
          },
          "headerStyleId": {
            "type": "integer"
          },
          "pageSortOrder": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "links": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "readOnly": true
              }
            }
          },
          "htmlFooter": {
            "type": "string"
          },
          "contents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "pages": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "layoutId": {
                        "type": "integer"
                      },
                      "periodId": {
                        "type": "integer"
                      },
                      "scorecardId": {
                        "type": "integer"
                      },
                      "objectId": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "reportType": {
                        "type": "string",
                        "enum": [
                          "grid",
                          "dashboard",
                          "matrix",
                          "detail",
                          "gantt"
                        ]
                      },
                      "object": {
                        "type": "string",
                        "enum": [
                          "scorecard",
                          "objective",
                          "measure",
                          "initiative",
                          "milestone",
                          "actionItem",
                          "risk"
                        ]
                      }
                    },
                    "required": [
                      "object",
                      "name"
                    ]
                  }
                },
                "name": {
                  "type": "string"
                },
                "titlePage": {
                  "type": "boolean"
                }
              }
            }
          },
          "period": {
            "type": "string"
          },
          "viewportWidth": {
            "type": "integer"
          },
          "format": {
            "type": "string"
          },
          "toc": {
            "type": "boolean"
          },
          "autosize": {
            "type": "boolean"
          },
          "tocListFlag": {
            "type": "boolean"
          },
          "districtId": {
            "type": "integer"
          },
          "zipOnly": {
            "type": "boolean"
          },
          "enableAccessibility": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "reportId",
          "contents"
        ]
      },
      "PasswordRules": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "statusCode": {
            "type": "integer"
          },
          "error": {
            "type": "string"
          },
          "passwordRegex": {
            "type": "string"
          },
          "passwordRules": {
            "type": "string"
          }
        },
        "required": [
          "success",
          "statusCode"
        ]
      },
      "ResetPassword": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "format": "email",
            "minLength": 3.0,
            "maxLength": 50.0
          },
          "password": {
            "type": "string",
            "minLength": 6.0,
            "maxLength": 50.0
          },
          "confirmPassword": {
            "type": "string",
            "minLength": 6.0,
            "maxLength": 50.0
          }
        },
        "required": [
          "username",
          "password",
          "confirmPassword"
        ]
      },
      "RiskInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "completed": {
            "type": "boolean"
          },
          "completedDate": {
            "type": "string",
            "format": "date"
          },
          "periodGroupId": {
            "type": "integer"
          },
          "hiddenPeriods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "ownerId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "scorecardId"
        ]
      },
      "ScheduleInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "enabled": {
            "type": "boolean"
          },
          "type": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0
            ]
          },
          "scheduleType": {
            "type": "string",
            "enum": [
              "recalc",
              "briefingBook",
              "copyForward",
              "workflowEmail",
              "dataLoader",
              "integration",
              "reminder",
              "script",
              "html"
            ]
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "linkedElement": {
            "type": "string"
          },
          "reminderId": {
            "type": "integer"
          },
          "templateId": {
            "type": "integer"
          },
          "machineId": {
            "type": "string"
          },
          "packageId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "periodOffset": {
            "type": "integer"
          },
          "scheduleOptions": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "recurrenceEnabled": {
            "type": "boolean"
          },
          "recurrence": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "startDate",
          "type",
          "scheduleType",
          "object"
        ]
      },
      "Schedule": {
        "type": "object",
        "properties": {
          "scheduleId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "enabled": {
            "type": "boolean"
          },
          "type": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0
            ]
          },
          "scheduleType": {
            "type": "string",
            "enum": [
              "recalc",
              "briefingBook",
              "copyForward",
              "workflowEmail",
              "dataLoader",
              "integration",
              "reminder",
              "script",
              "html"
            ]
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "linkedElement": {
            "type": "string"
          },
          "reminderId": {
            "type": "integer"
          },
          "templateId": {
            "type": "integer"
          },
          "machineId": {
            "type": "string"
          },
          "packageId": {
            "type": "integer"
          },
          "periodId": {
            "type": "integer"
          },
          "periodOffset": {
            "type": "integer"
          },
          "scheduleOptions": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "recurrenceEnabled": {
            "type": "boolean"
          },
          "recurrence": {
            "type": "string"
          },
          "lastRun": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "nextRun": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "attempts": {
            "type": "integer",
            "readOnly": true
          },
          "state": {
            "type": "string",
            "readOnly": true
          },
          "logState": {
            "type": "string",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "fullUserName": {
            "type": "string",
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "history": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "properties": {
                "scheduleHistoryId": {
                  "type": "integer"
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "scheduled",
                    "running",
                    "completed",
                    "failed"
                  ]
                },
                "serverId": {
                  "type": "string"
                },
                "startedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "completedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "durationMs": {
                  "type": "integer"
                },
                "errorMessage": {
                  "type": "string"
                },
                "requestId": {
                  "type": "string",
                  "format": "uuid"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            }
          }
        },
        "required": [
          "name",
          "startDate",
          "type",
          "scheduleType",
          "scheduleId"
        ]
      },
      "Scorecards": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Scorecard"
        }
      },
      "ScorecardInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "locked": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "parentId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "hideCompletedInitiatives": {
            "type": "boolean"
          },
          "hideCompletedInitiativesDate": {
            "type": "string",
            "format": "date"
          },
          "hideCompletedMilestones": {
            "type": "boolean"
          },
          "hideCompletedMilestonesDate": {
            "type": "string",
            "format": "date"
          },
          "hideCompletedActionItems": {
            "type": "boolean"
          },
          "hideCompletedActionItemsDate": {
            "type": "string",
            "format": "date"
          },
          "layoutId": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name"
        ]
      },
      "Scorecard": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "locked": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          },
          "parentId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          },
          "hideCompletedInitiatives": {
            "type": "boolean"
          },
          "hideCompletedInitiativesDate": {
            "type": "string",
            "format": "date"
          },
          "hideCompletedMilestones": {
            "type": "boolean"
          },
          "hideCompletedMilestonesDate": {
            "type": "string",
            "format": "date"
          },
          "hideCompletedActionItems": {
            "type": "boolean"
          },
          "hideCompletedActionItemsDate": {
            "type": "string",
            "format": "date"
          },
          "ownerId": {
            "type": "integer"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "owner": {
            "type": "string",
            "readOnly": true
          },
          "collaboratorNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "requireApprovals": {
            "type": "boolean"
          },
          "approvalOptions": {
            "type": "object",
            "properties": {
              "updates": {
                "type": "boolean"
              },
              "edits": {
                "type": "boolean"
              },
              "adds": {
                "type": "boolean"
              },
              "deletes": {
                "type": "boolean"
              },
              "allowCollaboratorApprovals": {
                "type": "boolean"
              },
              "allowCollaboratorChanges": {
                "type": "boolean"
              }
            }
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "layoutId": {
            "type": "integer",
            "readOnly": true
          },
          "level": {
            "type": "integer",
            "readOnly": true
          },
          "referenceLayoutId": {
            "type": "integer",
            "readOnly": true
          },
          "createdBy": {
            "type": "integer",
            "readOnly": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "access": {
            "$ref": "#/components/schemas/_access",
            "readOnly": true
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Category"
            }
          },
          "filterOptions": {
            "type": "object",
            "properties": {
              "risk": {
                "$ref": "#/components/schemas/_filterOption"
              },
              "actionItem": {
                "$ref": "#/components/schemas/_filterOption"
              },
              "objective": {
                "$ref": "#/components/schemas/_filterOption"
              },
              "initiative": {
                "$ref": "#/components/schemas/_filterOption"
              },
              "measure": {
                "$ref": "#/components/schemas/_filterOption"
              },
              "milestone": {
                "$ref": "#/components/schemas/_filterOption"
              }
            }
          },
          "users": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "userId": {
                  "type": "integer"
                },
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "fullName": {
                  "type": "string"
                },
                "selected": {
                  "type": "boolean"
                },
                "userTypeId": {
                  "type": "integer",
                  "enum": [
                    1.0,
                    2.0,
                    3.0,
                    4.0,
                    7.0,
                    8.0,
                    9.0,
                    10.0,
                    11.0
                  ]
                }
              },
              "required": [
                "userId",
                "scorecardId",
                "fullName",
                "selected",
                "userTypeId"
              ]
            }
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "map",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "hidden": {
                  "type": "boolean"
                },
                "sortOrder": {
                  "type": "integer"
                }
              },
              "required": [
                "object",
                "hidden",
                "sortOrder"
              ]
            }
          },
          "home": {
            "$ref": "#/components/schemas/_home",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "scorecardId",
          "object",
          "objectId",
          "active",
          "access",
          "locked",
          "level"
        ]
      },
      "Categories": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/Category"
        }
      },
      "ScorecardCharts": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "hiddenPeriods": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "collaborators": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "evaluated": {
              "type": "boolean"
            },
            "periodGroupId": {
              "type": "integer"
            },
            "measure": {
              "type": "string"
            },
            "ownerId": {
              "type": "integer"
            },
            "chartObjectId": {
              "type": "integer"
            },
            "chartObject": {
              "type": "string"
            },
            "objectId": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "chartId": {
              "type": "integer"
            },
            "sortOrder": {
              "type": "integer"
            },
            "measureId": {
              "type": "integer"
            },
            "access": {
              "$ref": "#/components/schemas/_elementAccess"
            },
            "scorecardId": {
              "type": "integer",
              "readOnly": true
            },
            "object": {
              "type": "string",
              "enum": [
                "chart"
              ],
              "readOnly": true
            },
            "scorecard": {
              "type": "string",
              "readOnly": true
            },
            "deleteDate": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "lastEdited": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "lastEditedBy": {
              "type": "integer",
              "readOnly": true
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            }
          },
          "required": [
            "object",
            "objectId",
            "scorecardId",
            "chartId",
            "name"
          ]
        }
      },
      "Diagrams": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "diagramId": {
              "type": "integer"
            },
            "object": {
              "type": "string",
              "enum": [
                "diagram"
              ]
            },
            "layoutId": {
              "type": "integer"
            },
            "userId": {
              "type": "integer"
            },
            "name": {
              "type": "string",
              "minLength": 1.0,
              "maxLength": 250.0
            },
            "scorecardId": {
              "type": "integer"
            },
            "lastEdited": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "lastEditedBy": {
              "type": "integer",
              "readOnly": true
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "deleteDate": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "access": {
              "$ref": "#/components/schemas/_elementAccess",
              "readOnly": true
            }
          }
        }
      },
      "DiagramInput": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "rectangle",
                    "text",
                    "arrow",
                    "ellipse",
                    "diamond",
                    "line",
                    "freedraw",
                    "image",
                    "frame",
                    "magicframe",
                    "selection"
                  ]
                },
                "x": {
                  "type": "number"
                },
                "y": {
                  "type": "number"
                },
                "width": {
                  "type": "number"
                },
                "height": {
                  "type": "number"
                },
                "angle": {
                  "type": "number"
                },
                "strokeColor": {
                  "type": "string",
                  "pattern": "^#[0-9a-fA-F]{6}$"
                },
                "backgroundColor": {
                  "type": "string"
                },
                "fillStyle": {
                  "type": "string",
                  "enum": [
                    "solid",
                    "hachure",
                    "cross-hatch"
                  ]
                },
                "strokeWidth": {
                  "type": "number",
                  "minimum": 0.0
                },
                "strokeStyle": {
                  "type": "string",
                  "enum": [
                    "solid",
                    "dashed",
                    "dotted"
                  ]
                },
                "strokeSharpness": {
                  "type": "string",
                  "enum": [
                    "round",
                    "sharp"
                  ]
                },
                "roughness": {
                  "type": "number",
                  "minimum": 0.0
                },
                "opacity": {
                  "type": "number",
                  "minimum": 0.0,
                  "maximum": 100.0
                },
                "groupIds": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "frameId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "index": {
                  "type": "string"
                },
                "roundness": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "type": {
                      "type": "integer"
                    }
                  }
                },
                "seed": {
                  "type": "integer"
                },
                "version": {
                  "type": "integer"
                },
                "versionNonce": {
                  "type": "integer"
                },
                "isDeleted": {
                  "type": "boolean"
                },
                "customData": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string"
                    },
                    "objectId": {
                      "type": "integer"
                    },
                    "scorecardId": {
                      "type": "integer"
                    }
                  },
                  "additionalProperties": true
                },
                "boundElements": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "text",
                          "arrow"
                        ]
                      },
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ]
                  }
                },
                "updated": {
                  "type": "integer"
                },
                "link": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "locked": {
                  "type": "boolean"
                },
                "text": {
                  "type": "string"
                },
                "fontSize": {
                  "type": "number"
                },
                "fontFamily": {
                  "type": "integer"
                },
                "textAlign": {
                  "type": "string",
                  "enum": [
                    "left",
                    "center",
                    "right"
                  ]
                },
                "verticalAlign": {
                  "type": "string",
                  "enum": [
                    "top",
                    "middle",
                    "bottom"
                  ]
                },
                "containerId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "originalText": {
                  "type": "string"
                },
                "autoResize": {
                  "type": "boolean"
                },
                "lineHeight": {
                  "type": "number"
                },
                "points": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "minItems": 2.0,
                    "maxItems": 2.0
                  }
                },
                "pressures": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  },
                  "description": "Pen pressure data for freedraw elements"
                },
                "lastCommittedPoint": {
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "startBinding": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "elementId": {
                      "type": "string"
                    },
                    "focus": {
                      "type": "number"
                    },
                    "gap": {
                      "type": "number"
                    }
                  }
                },
                "endBinding": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "elementId": {
                      "type": "string"
                    },
                    "focus": {
                      "type": "number"
                    },
                    "gap": {
                      "type": "number"
                    }
                  }
                },
                "startArrowhead": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "arrow",
                    "dot",
                    "triangle",
                    null
                  ]
                },
                "endArrowhead": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "arrow",
                    "dot",
                    "triangle",
                    null
                  ]
                },
                "midArrowhead": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "arrow",
                    "dot",
                    "triangle",
                    null
                  ]
                },
                "elbowed": {
                  "type": "boolean"
                },
                "label": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string"
                    },
                    "fontSize": {
                      "type": "number"
                    },
                    "fontFamily": {
                      "type": "integer"
                    },
                    "textAlign": {
                      "type": "string",
                      "enum": [
                        "left",
                        "center",
                        "right"
                      ]
                    },
                    "verticalAlign": {
                      "type": "string",
                      "enum": [
                        "top",
                        "middle",
                        "bottom"
                      ]
                    }
                  },
                  "description": "Label for arrows"
                },
                "fileId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "File ID for image elements"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "saved",
                    "error"
                  ],
                  "description": "Status for image elements"
                },
                "scale": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  },
                  "minItems": 2.0,
                  "maxItems": 2.0,
                  "description": "X and Y scale factors for image elements"
                },
                "crop": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "x": {
                      "type": "number"
                    },
                    "y": {
                      "type": "number"
                    },
                    "width": {
                      "type": "number"
                    },
                    "height": {
                      "type": "number"
                    },
                    "naturalWidth": {
                      "type": "number"
                    },
                    "naturalHeight": {
                      "type": "number"
                    }
                  },
                  "description": "Crop information for image elements"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Name for frame elements"
                },
                "children": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "Array of element IDs contained in frame"
                }
              },
              "required": [
                "id",
                "type",
                "x",
                "y",
                "angle",
                "strokeColor",
                "backgroundColor",
                "fillStyle",
                "strokeWidth",
                "strokeStyle",
                "roughness",
                "opacity",
                "groupIds",
                "frameId",
                "index",
                "seed",
                "version",
                "versionNonce",
                "isDeleted",
                "updated",
                "link",
                "locked"
              ],
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "type": {
                        "const": "text"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "text",
                      "fontSize",
                      "fontFamily",
                      "textAlign",
                      "verticalAlign",
                      "originalText",
                      "autoResize",
                      "lineHeight"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "enum": [
                          "arrow",
                          "line"
                        ]
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "points",
                      "elbowed"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "const": "freedraw"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "points"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "enum": [
                          "rectangle",
                          "ellipse",
                          "diamond"
                        ]
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "width",
                      "height"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "const": "image"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "width",
                      "height",
                      "fileId",
                      "status",
                      "scale"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "enum": [
                          "frame",
                          "magicframe"
                        ]
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "width",
                      "height",
                      "name"
                    ]
                  }
                }
              ]
            }
          }
        },
        "required": [
          "diagramId",
          "object",
          "layoutId",
          "name",
          "scorecardId",
          "elements"
        ]
      },
      "Diagram": {
        "type": "object",
        "properties": {
          "diagramId": {
            "type": "integer"
          },
          "object": {
            "type": "string",
            "enum": [
              "diagram"
            ]
          },
          "layoutId": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "scorecardId": {
            "type": "integer"
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess",
            "readOnly": true
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "rectangle",
                    "text",
                    "arrow",
                    "ellipse",
                    "diamond",
                    "line",
                    "freedraw",
                    "image",
                    "frame",
                    "magicframe",
                    "selection"
                  ]
                },
                "x": {
                  "type": "number"
                },
                "y": {
                  "type": "number"
                },
                "width": {
                  "type": "number"
                },
                "height": {
                  "type": "number"
                },
                "angle": {
                  "type": "number"
                },
                "strokeColor": {
                  "type": "string",
                  "pattern": "^#[0-9a-fA-F]{6}$"
                },
                "backgroundColor": {
                  "type": "string"
                },
                "fillStyle": {
                  "type": "string",
                  "enum": [
                    "solid",
                    "hachure",
                    "cross-hatch"
                  ]
                },
                "strokeWidth": {
                  "type": "number",
                  "minimum": 0.0
                },
                "strokeStyle": {
                  "type": "string",
                  "enum": [
                    "solid",
                    "dashed",
                    "dotted"
                  ]
                },
                "strokeSharpness": {
                  "type": "string",
                  "enum": [
                    "round",
                    "sharp"
                  ]
                },
                "roughness": {
                  "type": "number",
                  "minimum": 0.0
                },
                "opacity": {
                  "type": "number",
                  "minimum": 0.0,
                  "maximum": 100.0
                },
                "groupIds": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "frameId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "index": {
                  "type": "string"
                },
                "roundness": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "type": {
                      "type": "integer"
                    }
                  }
                },
                "seed": {
                  "type": "integer"
                },
                "version": {
                  "type": "integer"
                },
                "versionNonce": {
                  "type": "integer"
                },
                "isDeleted": {
                  "type": "boolean"
                },
                "customData": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string"
                    },
                    "objectId": {
                      "type": "integer"
                    },
                    "scorecardId": {
                      "type": "integer"
                    }
                  },
                  "additionalProperties": true
                },
                "boundElements": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "text",
                          "arrow"
                        ]
                      },
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ]
                  }
                },
                "updated": {
                  "type": "integer"
                },
                "link": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "locked": {
                  "type": "boolean"
                },
                "text": {
                  "type": "string"
                },
                "fontSize": {
                  "type": "number"
                },
                "fontFamily": {
                  "type": "integer"
                },
                "textAlign": {
                  "type": "string",
                  "enum": [
                    "left",
                    "center",
                    "right"
                  ]
                },
                "verticalAlign": {
                  "type": "string",
                  "enum": [
                    "top",
                    "middle",
                    "bottom"
                  ]
                },
                "containerId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "originalText": {
                  "type": "string"
                },
                "autoResize": {
                  "type": "boolean"
                },
                "lineHeight": {
                  "type": "number"
                },
                "points": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "minItems": 2.0,
                    "maxItems": 2.0
                  }
                },
                "pressures": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  },
                  "description": "Pen pressure data for freedraw elements"
                },
                "lastCommittedPoint": {
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "startBinding": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "elementId": {
                      "type": "string"
                    },
                    "focus": {
                      "type": "number"
                    },
                    "gap": {
                      "type": "number"
                    }
                  }
                },
                "endBinding": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "elementId": {
                      "type": "string"
                    },
                    "focus": {
                      "type": "number"
                    },
                    "gap": {
                      "type": "number"
                    }
                  }
                },
                "startArrowhead": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "arrow",
                    "dot",
                    "triangle",
                    null
                  ]
                },
                "endArrowhead": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "arrow",
                    "dot",
                    "triangle",
                    null
                  ]
                },
                "midArrowhead": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "arrow",
                    "dot",
                    "triangle",
                    null
                  ]
                },
                "elbowed": {
                  "type": "boolean"
                },
                "label": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string"
                    },
                    "fontSize": {
                      "type": "number"
                    },
                    "fontFamily": {
                      "type": "integer"
                    },
                    "textAlign": {
                      "type": "string",
                      "enum": [
                        "left",
                        "center",
                        "right"
                      ]
                    },
                    "verticalAlign": {
                      "type": "string",
                      "enum": [
                        "top",
                        "middle",
                        "bottom"
                      ]
                    }
                  },
                  "description": "Label for arrows"
                },
                "fileId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "File ID for image elements"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "saved",
                    "error"
                  ],
                  "description": "Status for image elements"
                },
                "scale": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  },
                  "minItems": 2.0,
                  "maxItems": 2.0,
                  "description": "X and Y scale factors for image elements"
                },
                "crop": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "x": {
                      "type": "number"
                    },
                    "y": {
                      "type": "number"
                    },
                    "width": {
                      "type": "number"
                    },
                    "height": {
                      "type": "number"
                    },
                    "naturalWidth": {
                      "type": "number"
                    },
                    "naturalHeight": {
                      "type": "number"
                    }
                  },
                  "description": "Crop information for image elements"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Name for frame elements"
                },
                "children": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "Array of element IDs contained in frame"
                }
              },
              "required": [
                "id",
                "type",
                "x",
                "y",
                "angle",
                "strokeColor",
                "backgroundColor",
                "fillStyle",
                "strokeWidth",
                "strokeStyle",
                "roughness",
                "opacity",
                "groupIds",
                "frameId",
                "index",
                "seed",
                "version",
                "versionNonce",
                "isDeleted",
                "updated",
                "link",
                "locked"
              ],
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "type": {
                        "const": "text"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "text",
                      "fontSize",
                      "fontFamily",
                      "textAlign",
                      "verticalAlign",
                      "originalText",
                      "autoResize",
                      "lineHeight"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "enum": [
                          "arrow",
                          "line"
                        ]
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "points",
                      "elbowed"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "const": "freedraw"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "points"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "enum": [
                          "rectangle",
                          "ellipse",
                          "diamond"
                        ]
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "width",
                      "height"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "const": "image"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "width",
                      "height",
                      "fileId",
                      "status",
                      "scale"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "type": {
                        "enum": [
                          "frame",
                          "magicframe"
                        ]
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "width",
                      "height",
                      "name"
                    ]
                  }
                }
              ]
            }
          }
        },
        "required": [
          "diagramId",
          "object",
          "layoutId",
          "name",
          "scorecardId",
          "elements"
        ]
      },
      "ScorecardLanguages": {
        "type": "object",
        "patternProperties": {
          "^.*$": {
            "type": "string"
          }
        }
      },
      "ScorecardLinks": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "objectId",
            "links"
          ],
          "properties": {
            "objectId": {
              "type": "number"
            },
            "links": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Element"
              }
            }
          }
        },
        "readOnly": true
      },
      "ScorecardMaps": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "access": {
              "$ref": "#/components/schemas/_access"
            },
            "active": {
              "type": "boolean"
            },
            "deleteDate": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "displayPeriodId": {
              "type": "integer"
            },
            "favorite": {
              "type": "boolean"
            },
            "hidden": {
              "type": "boolean"
            },
            "lastEdited": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "lastEditedBy": {
              "type": [
                "integer",
                "null"
              ]
            },
            "lastUpdated": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "lastUpdatedBy": {
              "type": [
                "integer",
                "null"
              ]
            },
            "name": {
              "type": "string"
            },
            "object": {
              "type": "string",
              "enum": [
                "map"
              ]
            },
            "objectId": {
              "type": "integer"
            },
            "mapId": {
              "type": "integer"
            },
            "period": {
              "type": [
                "string",
                "null"
              ]
            },
            "periodDate": {
              "type": "string",
              "format": "date"
            },
            "periodGroupId": {
              "type": [
                "integer",
                "null"
              ]
            },
            "periodId": {
              "type": "integer"
            },
            "periodLocked": {
              "type": "boolean"
            },
            "scorecardId": {
              "type": "integer"
            },
            "evaluated": {
              "type": "boolean"
            },
            "scorecard": {
              "type": "string"
            },
            "sortOrder": {
              "type": [
                "integer",
                "null"
              ]
            },
            "statusId": {
              "type": [
                "integer",
                "null"
              ]
            }
          }
        }
      },
      "ScorecardData": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string",
              "enum": [
                "measureSeries"
              ]
            },
            "objectId": {
              "type": "integer"
            },
            "measureId": {
              "type": "integer"
            },
            "seriesType": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "measure": {
              "type": "string"
            },
            "calculatedSeries": {
              "type": "string"
            },
            "sortOrder": {
              "type": "integer"
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "seriesDataTypeId": {
              "type": "integer"
            },
            "active": {
              "type": "boolean"
            },
            "seriesDataType": {
              "type": "string"
            },
            "currency": {
              "type": "string"
            },
            "textSeries": {
              "type": "boolean"
            },
            "readOnly": {
              "type": "boolean"
            },
            "numberFormat": {
              "$ref": "#/components/schemas/_numberFormat"
            },
            "periodData": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "periodId": {
                    "type": "integer"
                  },
                  "measureSeriesId": {
                    "type": "integer"
                  },
                  "alias": {
                    "type": "string"
                  },
                  "value": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "textValue": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "readOnly": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "periodId"
                ]
              }
            }
          },
          "required": [
            "object",
            "objectId",
            "name",
            "measureId",
            "periodData"
          ]
        }
      },
      "ScorecardMeasureSeries": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "collaborators": {
              "type": "array",
              "items": {
                "type": "integer"
              },
              "readOnly": true
            },
            "access": {
              "$ref": "#/components/schemas/_elementAccess"
            },
            "measureSeriesId": {
              "type": "integer",
              "readOnly": true
            },
            "scorecardId": {
              "type": "integer",
              "readOnly": true
            },
            "evaluated": {
              "type": "boolean"
            },
            "periodGroupId": {
              "type": "integer"
            },
            "measure": {
              "type": "string"
            },
            "ownerId": {
              "type": "integer"
            },
            "objectId": {
              "type": "integer",
              "readOnly": true
            },
            "name": {
              "type": "string",
              "minLength": 1.0,
              "maxLength": 50.0
            },
            "object": {
              "type": "string",
              "enum": [
                "meaureSeries"
              ]
            },
            "sortOrder": {
              "type": "integer"
            },
            "scorecard": {
              "type": "string",
              "readOnly": true
            },
            "measureId": {
              "type": "integer",
              "readOnly": true
            },
            "deleteDate": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "lastEdited": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "lastEditedBy": {
              "type": "integer",
              "readOnly": true
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            }
          },
          "required": [
            "object",
            "objectId",
            "measureSeriesId",
            "scorecardId",
            "name"
          ]
        }
      },
      "ScorecardMenus": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "access": {
              "$ref": "#/components/schemas/_elementAccess"
            },
            "name": {
              "type": "string"
            },
            "object": {
              "type": "string",
              "enum": [
                "scorecard",
                "map",
                "diagram",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "objects": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "layoutId": {
                    "type": "integer"
                  },
                  "level": {
                    "type": "integer"
                  },
                  "scorecardId": {
                    "type": "integer"
                  },
                  "homeScorecardId": {
                    "type": "integer"
                  },
                  "favorite": {
                    "type": "boolean"
                  },
                  "objectId": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "object": {
                    "type": "string",
                    "enum": [
                      "scorecard",
                      "map",
                      "diagram",
                      "objective",
                      "measure",
                      "initiative",
                      "milestone",
                      "actionItem",
                      "risk"
                    ]
                  },
                  "statusId": {
                    "type": "integer"
                  },
                  "parentId": {
                    "type": "integer"
                  },
                  "hasMilestones": {
                    "type": "boolean"
                  },
                  "descendants": {
                    "type": "object",
                    "properties": {
                      "scorecardId": {
                        "type": "array"
                      },
                      "name": {
                        "type": "array"
                      }
                    }
                  },
                  "active": {
                    "type": "boolean"
                  },
                  "access": {
                    "$ref": "#/components/schemas/_elementAccess",
                    "readOnly": true
                  }
                },
                "required": [
                  "object",
                  "objectId",
                  "name"
                ]
              }
            },
            "layouts": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "view": {
                    "type": "string"
                  },
                  "layoutId": {
                    "type": "integer"
                  },
                  "objectId": {
                    "type": "integer"
                  },
                  "hidden": {
                    "type": "boolean"
                  },
                  "scorecardId": {
                    "type": "integer"
                  },
                  "homeScorecardId": {
                    "type": "integer"
                  },
                  "favorite": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "string"
                  },
                  "object": {
                    "type": "string",
                    "enum": [
                      "scorecard",
                      "map",
                      "diagram",
                      "objective",
                      "measure",
                      "initiative",
                      "milestone",
                      "actionItem",
                      "risk"
                    ]
                  },
                  "access": {
                    "$ref": "#/components/schemas/_elementAccess",
                    "readOnly": true
                  }
                },
                "required": [
                  "object",
                  "name",
                  "scorecardId"
                ]
              }
            }
          },
          "required": [
            "object",
            "name",
            "access"
          ]
        }
      },
      "Resources": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "resourceId": {
              "type": "integer"
            },
            "scorecardId": {
              "type": "integer"
            },
            "linkedUserId": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "type": {
              "type": "string"
            },
            "capacity": {
              "type": "number"
            },
            "costPerHour": {
              "type": [
                "number",
                "null"
              ]
            },
            "calendarId": {
              "type": [
                "integer",
                "null"
              ]
            },
            "active": {
              "type": "boolean"
            },
            "created": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "createdBy": {
              "type": [
                "integer",
                "null"
              ]
            },
            "updated": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "updatedBy": {
              "type": [
                "integer",
                "null"
              ]
            },
            "deleteDate": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            }
          },
          "required": [
            "resourceId",
            "name",
            "type",
            "active",
            "scorecardId"
          ]
        }
      },
      "ResourceInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "type": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 20.0
          },
          "capacity": {
            "type": "number",
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99,
            "default": 100.0
          },
          "costPerHour": {
            "type": "number",
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          },
          "calendarId": {
            "type": "integer",
            "minimum": 1.0
          },
          "active": {
            "type": "boolean",
            "default": true
          }
        },
        "required": [
          "name",
          "type"
        ]
      },
      "Resource": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "description": {
            "type": "string"
          },
          "scorecardId": {
            "type": "integer"
          },
          "linkedUserId": {
            "type": "integer"
          },
          "type": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 20.0
          },
          "capacity": {
            "type": "number",
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99,
            "default": 100.0
          },
          "costPerHour": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 99999999.99
          },
          "calendarId": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 1.0
          },
          "active": {
            "type": "boolean",
            "default": true
          },
          "resourceId": {
            "type": "integer",
            "readOnly": true
          },
          "created": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "readOnly": true
          },
          "createdBy": {
            "type": [
              "integer",
              "null"
            ],
            "readOnly": true
          },
          "updated": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "readOnly": true
          },
          "updatedBy": {
            "type": [
              "integer",
              "null"
            ],
            "readOnly": true
          },
          "deleteDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "type",
          "active",
          "scorecardId",
          "resourceId"
        ]
      },
      "ScorecardStatus": {
        "type": "object",
        "properties": {
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "periodId": {
            "type": "integer",
            "readOnly": true
          },
          "statusId": {
            "type": "integer"
          },
          "analysis": {
            "type": "string"
          },
          "recommendations": {
            "type": "string"
          },
          "ownerId": {
            "type": "integer",
            "readOnly": true
          },
          "access": {
            "$ref": "#/components/schemas/_elementAccess"
          },
          "scorecardLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "reportPeriodId": {
            "type": "integer",
            "readOnly": true
          },
          "previousPeriodId": {
            "type": "integer",
            "readOnly": true
          },
          "periodDate": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "period": {
            "type": "string",
            "readOnly": true
          },
          "periodLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "lastUpdatedBy": {
            "type": "integer",
            "readOnly": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "periodicity": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "scorecardId",
          "periodId"
        ]
      },
      "ScorecardStatusInput": {
        "type": "object",
        "properties": {
          "statusId": {
            "type": "integer"
          },
          "analysis": {
            "type": "string"
          },
          "recommendations": {
            "type": "string"
          }
        },
        "required": [
          "statusId"
        ]
      },
      "Scripts": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Script"
        }
      },
      "ScriptInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "bulkEdit": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "script": {
            "type": "object",
            "properties": {
              "parameters": {
                "type": "object",
                "additionalProperties": true
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "endPoint": {
                      "type": "string"
                    },
                    "method": {
                      "type": "string"
                    },
                    "result": {
                      "type": "string"
                    },
                    "repeat": {
                      "type": "string"
                    },
                    "index": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "endPoint",
                    "method"
                  ]
                }
              }
            },
            "required": [
              "steps"
            ]
          }
        },
        "required": [
          "name"
        ]
      },
      "Script": {
        "type": "object",
        "properties": {
          "createdBy": {
            "type": "integer",
            "readOnly": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "integer"
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "state": {
            "type": "string"
          },
          "lastRun": {
            "type": "string",
            "format": "date-time"
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "bulkEdit": {
            "type": "boolean"
          },
          "scriptId": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "script": {
            "type": "object",
            "properties": {
              "parameters": {
                "type": "object",
                "additionalProperties": true
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "endPoint": {
                      "type": "string"
                    },
                    "method": {
                      "type": "string"
                    },
                    "result": {
                      "type": "string"
                    },
                    "repeat": {
                      "type": "string"
                    },
                    "index": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "endPoint",
                    "method"
                  ]
                }
              }
            },
            "required": [
              "steps"
            ]
          },
          "previewStatus": {
            "type": "string",
            "enum": [
              "generating",
              "complete",
              "error"
            ]
          },
          "previewGenerated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "previewParams": {
            "type": "object",
            "readOnly": true,
            "additionalProperties": true
          },
          "preview": {
            "type": "object",
            "readOnly": true,
            "properties": {
              "error": {
                "type": "string"
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "valid": {
                      "type": "boolean"
                    },
                    "subStepCount": {
                      "type": "integer"
                    },
                    "subSteps": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "endPoint": {
                            "type": "string"
                          },
                          "method": {
                            "type": "string"
                          },
                          "payload": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "valid": {
                            "type": "boolean"
                          },
                          "result": {}
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "history": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "properties": {
                "scriptHistoryId": {
                  "type": "integer"
                },
                "mode": {
                  "type": "string",
                  "enum": [
                    "run",
                    "preview"
                  ]
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "scheduled",
                    "running",
                    "done",
                    "failed"
                  ]
                },
                "userId": {
                  "type": "integer"
                },
                "userName": {
                  "type": "string"
                },
                "startTime": {
                  "type": "string",
                  "format": "date-time"
                },
                "endTime": {
                  "type": "string",
                  "format": "date-time"
                },
                "durationMs": {
                  "type": "integer"
                },
                "stepCount": {
                  "type": "integer"
                },
                "errorMessage": {
                  "type": "string"
                },
                "requestId": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        },
        "required": [
          "name",
          "scriptId"
        ]
      },
      "SearchInput": {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string"
          }
        },
        "required": [
          "keyword"
        ]
      },
      "SeriesDataTypes": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/SeriesDataType"
        }
      },
      "SeriesDataType": {
        "type": "object",
        "properties": {
          "dataType": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "seriesDataTypeId": {
            "type": "integer"
          },
          "sortOrder": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "seriesDataTypeId"
        ]
      },
      "StytchMigration": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "readOnly": true
          },
          "districtId": {
            "type": "integer",
            "readOnly": true
          },
          "organizationId": {
            "type": "string",
            "readOnly": true
          },
          "candidateCount": {
            "type": "integer",
            "readOnly": true
          },
          "migratedCount": {
            "type": "integer",
            "readOnly": true
          },
          "failedCount": {
            "type": "integer",
            "readOnly": true
          },
          "skippedCount": {
            "type": "integer",
            "readOnly": true
          },
          "districtEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "stytchAuthEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "stytchOrganizationId": {
            "type": "string",
            "readOnly": true
          },
          "stytchMigrationStatus": {
            "type": "string",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "readOnly": true
          },
          "error": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true
          },
          "failures": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "properties": {
                "userId": {
                  "type": "integer",
                  "readOnly": true
                },
                "email": {
                  "type": "string",
                  "readOnly": true
                },
                "error": {
                  "type": "string",
                  "readOnly": true
                }
              }
            }
          }
        }
      },
      "SortOrderInput": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string"
            },
            "objectId": {
              "type": "integer"
            },
            "sortOrder": {
              "type": "integer"
            }
          },
          "required": [
            "object",
            "objectId",
            "sortOrder"
          ]
        }
      },
      "Statuses": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/Status"
        }
      },
      "StatusInput": {
        "type": "object",
        "properties": {
          "customStatus": {
            "type": "boolean"
          },
          "filename": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "statusColor": {
            "type": "string"
          },
          "progressColor": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "score": {
            "type": "integer"
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "name",
          "statusColor"
        ]
      },
      "Status": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "defaultStatusId": {
            "type": "integer"
          },
          "customStatus": {
            "type": "boolean"
          },
          "filename": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "statusColor": {
            "type": "string"
          },
          "statusColorName": {
            "type": "string"
          },
          "progressColor": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "score": {
            "type": "integer"
          },
          "elements": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "statusId": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "statusColor",
          "statusId",
          "active"
        ]
      },
      "Subscriptions": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/Subscription"
        }
      },
      "SubscriptionInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "targetUrl": {
            "type": "string"
          },
          "event": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "targetUrl",
          "event"
        ]
      },
      "Subscription": {
        "type": "object",
        "properties": {
          "districtId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "targetUrl": {
            "type": "string"
          },
          "event": {
            "type": "string"
          },
          "environment": {
            "type": "string",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "targetUrl",
          "event"
        ]
      },
      "TableStyles": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/TableStyle"
        }
      },
      "TableStyleInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "cellCss": {
            "type": "string"
          },
          "headerCss": {
            "type": "string"
          },
          "defaultStyle": {
            "type": "boolean"
          },
          "altColor": {
            "type": "string"
          },
          "tableCss": {
            "type": "string"
          },
          "gridLayouts": {
            "type": "array",
            "readOnly": true
          }
        },
        "required": [
          "name"
        ]
      },
      "TableStyle": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "cellCss": {
            "type": "string"
          },
          "headerCss": {
            "type": "string"
          },
          "defaultStyle": {
            "type": "boolean"
          },
          "altColor": {
            "type": "string"
          },
          "tableCss": {
            "type": "string"
          },
          "gridLayouts": {
            "type": "array",
            "readOnly": true
          },
          "tableStyleId": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "tableStyleId"
        ]
      },
      "Tags": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Tag"
        }
      },
      "TagInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "color": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "color"
        ]
      },
      "Tag": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "tag"
            ]
          },
          "objectId": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "color": {
            "type": "string"
          },
          "tagId": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "color",
          "tagId",
          "object",
          "objectId"
        ]
      },
      "Templates": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "templateId": {
              "type": "integer"
            },
            "userId": {
              "type": "integer"
            },
            "restrictAccess": {
              "type": "boolean"
            },
            "deleteDate": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "fullName": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "zipOnly": {
              "type": "boolean"
            },
            "private": {
              "type": "boolean"
            },
            "format": {
              "type": "string"
            },
            "reportCount": {
              "type": "integer"
            },
            "recipients": {
              "type": "string"
            },
            "scheduled": {
              "type": "boolean"
            },
            "reports": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "reportId": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "reportId",
                  "name"
                ]
              }
            },
            "createdBy": {
              "type": "integer",
              "readOnly": true
            },
            "createdByName": {
              "type": "string"
            }
          },
          "required": [
            "name",
            "templateId"
          ]
        }
      },
      "TemplateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "format": {
            "type": "string",
            "enum": [
              "pdf",
              "html",
              "dash"
            ]
          },
          "private": {
            "type": "boolean"
          },
          "toc": {
            "type": "boolean"
          },
          "autosize": {
            "type": "boolean"
          },
          "tocListFlag": {
            "type": "boolean"
          },
          "scorecardId": {
            "type": "integer"
          },
          "scorecardList": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "recipients": {
            "type": "string"
          },
          "pageSize": {
            "type": "string",
            "enum": [
              "letter",
              "legal",
              "a4",
              "tabloid"
            ]
          },
          "zoom": {
            "type": "integer",
            "default": 100.0
          },
          "coverTemplate": {
            "type": "string"
          },
          "portrait": {
            "type": "boolean"
          },
          "htmlHeader": {
            "type": "string"
          },
          "htmlFooter": {
            "type": "string"
          },
          "includeHeader": {
            "type": "boolean"
          },
          "useCustomHeader": {
            "type": "boolean"
          },
          "includeFooter": {
            "type": "boolean"
          },
          "useCustomFooter": {
            "type": "boolean"
          },
          "hideFooter": {
            "type": "boolean"
          },
          "watermark": {
            "type": "string"
          },
          "topMargin": {
            "type": "integer"
          },
          "bottomMargin": {
            "type": "integer"
          },
          "password": {
            "type": "string"
          },
          "hidePdfNav": {
            "type": "boolean"
          },
          "viewportWidth": {
            "type": "integer"
          },
          "zipOnly": {
            "type": "boolean"
          },
          "link": {
            "type": "string"
          },
          "enableAccessibility": {
            "type": "boolean"
          },
          "options": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "detailPages": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    }
                  }
                },
                "layouts": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "pageSortOrder": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "content": {
            "type": "object",
            "properties": {
              "design": {
                "type": "object",
                "properties": {
                  "font": {
                    "type": "string"
                  },
                  "palettes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "mainBackgroundColor": {
                          "type": "string"
                        },
                        "logoBackgroundColor": {
                          "type": "string"
                        },
                        "iconBackgroundColor": {
                          "type": "string"
                        },
                        "iconColor": {
                          "type": "string"
                        },
                        "headingColor": {
                          "type": "string"
                        },
                        "textColor": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "mainBackgroundColor",
                        "logoBackgroundColor",
                        "iconBackgroundColor",
                        "iconColor",
                        "headingColor",
                        "textColor"
                      ]
                    }
                  }
                },
                "required": [
                  "font",
                  "palettes"
                ]
              },
              "sharedFields": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "fieldId": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "sortOrder": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "fieldId",
                    "label",
                    "sortOrder"
                  ]
                }
              },
              "scorecards": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "scorecardId": {
                      "type": "integer"
                    },
                    "label": {
                      "type": "string"
                    },
                    "icon": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "measures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "measureId": {
                            "type": "integer"
                          },
                          "label": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "sortOrder": {
                            "type": "integer"
                          },
                          "charts": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "chartId": {
                                  "type": "integer"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "description": {
                                  "type": "string"
                                },
                                "sortOrder": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "chartId",
                                "sortOrder"
                              ]
                            }
                          }
                        },
                        "required": [
                          "measureId",
                          "sortOrder"
                        ]
                      }
                    }
                  },
                  "required": [
                    "scorecardId"
                  ]
                }
              }
            },
            "required": [
              "design",
              "sharedFields",
              "scorecards"
            ]
          }
        },
        "required": [
          "name",
          "format",
          "scorecardList"
        ]
      },
      "Template": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "format": {
            "type": "string",
            "enum": [
              "pdf",
              "html",
              "dash"
            ]
          },
          "private": {
            "type": "boolean"
          },
          "active": {
            "type": "boolean"
          },
          "toc": {
            "type": "boolean"
          },
          "autosize": {
            "type": "boolean"
          },
          "tocListFlag": {
            "type": "boolean"
          },
          "scorecardId": {
            "type": "integer"
          },
          "scorecardList": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "recipients": {
            "type": "string"
          },
          "pageSize": {
            "type": "string",
            "enum": [
              "letter",
              "legal",
              "a4",
              "tabloid"
            ]
          },
          "zoom": {
            "type": "integer",
            "default": 100.0
          },
          "coverTemplate": {
            "type": "string"
          },
          "portrait": {
            "type": "boolean"
          },
          "htmlHeader": {
            "type": "string"
          },
          "htmlFooter": {
            "type": "string"
          },
          "hideFooter": {
            "type": "boolean"
          },
          "includeFooter": {
            "type": "boolean"
          },
          "includeHeader": {
            "type": "boolean"
          },
          "useCustomHeader": {
            "type": "boolean"
          },
          "useCustomFooter": {
            "type": "boolean"
          },
          "watermark": {
            "type": "string"
          },
          "topMargin": {
            "type": "integer"
          },
          "bottomMargin": {
            "type": "integer"
          },
          "password": {
            "type": "string"
          },
          "hidePdfNav": {
            "type": "boolean"
          },
          "viewportWidth": {
            "type": "integer"
          },
          "zipOnly": {
            "type": "boolean"
          },
          "link": {
            "type": "string"
          },
          "enableAccessibility": {
            "type": "boolean"
          },
          "templateId": {
            "type": "integer",
            "readOnly": true
          },
          "access": {
            "type": "string"
          },
          "options": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "layouts": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "pageSortOrder": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "content": {
            "type": "object",
            "properties": {
              "design": {
                "type": "object",
                "properties": {
                  "font": {
                    "type": "string"
                  },
                  "palettes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "mainBackgroundColor": {
                          "type": "string"
                        },
                        "logoBackgroundColor": {
                          "type": "string"
                        },
                        "iconBackgroundColor": {
                          "type": "string"
                        },
                        "iconColor": {
                          "type": "string"
                        },
                        "headingColor": {
                          "type": "string"
                        },
                        "textColor": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "mainBackgroundColor",
                        "logoBackgroundColor",
                        "iconBackgroundColor",
                        "iconColor",
                        "headingColor",
                        "textColor"
                      ]
                    }
                  }
                },
                "required": [
                  "font",
                  "palettes"
                ]
              },
              "sharedFields": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "fieldId": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "sortOrder": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "fieldId",
                    "label",
                    "sortOrder"
                  ]
                }
              },
              "scorecards": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "scorecardId": {
                      "type": "integer"
                    },
                    "label": {
                      "type": "string"
                    },
                    "icon": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "measures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "measureId": {
                            "type": "integer"
                          },
                          "label": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "sortOrder": {
                            "type": "integer"
                          },
                          "charts": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "chartId": {
                                  "type": "integer"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "description": {
                                  "type": "string"
                                },
                                "sortOrder": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "chartId",
                                "sortOrder"
                              ]
                            }
                          }
                        },
                        "required": [
                          "measureId",
                          "sortOrder"
                        ]
                      }
                    }
                  },
                  "required": [
                    "scorecardId"
                  ]
                }
              }
            },
            "required": [
              "design",
              "sharedFields",
              "scorecards"
            ]
          }
        },
        "required": [
          "name",
          "format",
          "scorecardList",
          "scorecardId"
        ]
      },
      "Threads": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string"
            },
            "objectId": {
              "type": "integer"
            },
            "threadId": {
              "type": "string"
            },
            "userId": {
              "type": "integer"
            },
            "title": {
              "type": "string"
            },
            "playbookKey": {
              "type": [
                "string",
                "null"
              ]
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "lastLocation": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "url",
                "title"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "threadId",
            "title",
            "createdAt",
            "updatedAt",
            "objectId",
            "object"
          ],
          "additionalProperties": false
        }
      },
      "Thread": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string"
          },
          "objectId": {
            "type": "integer"
          },
          "threadId": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "metadata": {
            "$ref": "#/components/schemas/_threadMetadata"
          },
          "messages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_threadMessage"
            }
          },
          "playbookKey": {
            "type": [
              "string",
              "null"
            ],
            "description": "Key of published playbook (null for test runs)"
          },
          "playbookDefinition": {
            "type": [
              "object",
              "null"
            ],
            "description": "Full playbook JSON snapshot"
          },
          "lastLocation": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "url",
              "title"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "threadId"
        ],
        "additionalProperties": false
      },
      "ThreadInput": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "metadata": {
            "$ref": "#/components/schemas/_threadMetadata"
          },
          "messages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_threadMessage"
            }
          },
          "playbookKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "playbookDefinition": {
            "type": [
              "object",
              "null"
            ]
          },
          "testMode": {
            "type": "boolean"
          },
          "currentStepKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "completedSteps": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "Timezone": {
        "type": "object",
        "properties": {
          "ianaName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "offset": {
            "type": "number"
          },
          "utcOffset": {
            "type": "string"
          },
          "timeZoneId": {
            "type": "string"
          }
        },
        "required": [
          "ianaName",
          "name",
          "offset",
          "utcOffset",
          "timeZoneId"
        ]
      },
      "Timezones": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Timezone"
        }
      },
      "Update": {
        "type": "object",
        "properties": {
          "updates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_change"
            }
          },
          "edits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_change"
            }
          }
        }
      },
      "UserArchives": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "districtId": {
              "type": "integer"
            },
            "userId": {
              "type": "integer"
            },
            "userTypeId": {
              "type": "integer"
            },
            "district": {
              "type": "string"
            },
            "archivedAccount": {
              "type": "integer"
            },
            "licensedUntil": {
              "type": "string"
            },
            "userLocked": {
              "type": "boolean"
            },
            "districtLocked": {
              "type": "boolean"
            },
            "lockedMessage": {
              "type": "string"
            },
            "requireTwoFactor": {
              "type": "integer"
            },
            "resetPassword": {
              "type": "integer"
            },
            "archiveDate": {
              "type": "string"
            }
          },
          "required": [
            "districtId",
            "userId",
            "userTypeId",
            "district",
            "archivedAccount"
          ]
        }
      },
      "Users": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string"
            },
            "objectId": {
              "type": "integer"
            },
            "phoneNumber": {
              "type": "string"
            },
            "userId": {
              "type": "integer"
            },
            "supportUser": {
              "type": "boolean"
            },
            "serviceAccount": {
              "type": "boolean"
            },
            "lastName": {
              "type": "string"
            },
            "profilePhoto": {
              "type": "string"
            },
            "department": {
              "type": "string"
            },
            "premiumSupport": {
              "type": "boolean"
            },
            "gravatarHash": {
              "type": "string"
            },
            "fullName": {
              "type": "string"
            },
            "userTypeId": {
              "type": "integer",
              "enum": [
                1.0,
                2.0,
                3.0,
                4.0,
                7.0,
                8.0,
                9.0,
                10.0,
                11.0
              ]
            },
            "firstName": {
              "type": "string"
            },
            "userType": {
              "type": "string"
            },
            "notificationEmail": {
              "type": "string"
            },
            "profileImage": {
              "type": "string"
            },
            "lastLoginDate": {
              "type": "string",
              "format": "date-time"
            },
            "email": {
              "type": "string"
            },
            "districtId": {
              "type": "integer"
            },
            "lastEdited": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "lastEditedBy": {
              "type": "integer",
              "readOnly": true
            }
          },
          "required": [
            "userId",
            "firstName",
            "lastName",
            "email",
            "userTypeId",
            "object",
            "objectId"
          ]
        }
      },
      "UserInput": {
        "type": "object",
        "properties": {
          "department": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 250.0
          },
          "digestEmails": {
            "type": "boolean"
          },
          "email": {
            "type": "string",
            "minLength": 1.0,
            "format": "email",
            "maxLength": 50.0
          },
          "emailOption": {
            "type": "integer",
            "enum": [
              0.0,
              1.0,
              2.0
            ],
            "default": 2.0
          },
          "teamsOption": {
            "type": "integer",
            "enum": [
              0.0,
              1.0
            ],
            "default": 0.0
          },
          "slackOption": {
            "type": "integer",
            "enum": [
              0.0,
              1.0
            ],
            "default": 0.0
          },
          "firstName": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "generateTwoFactor": {
            "type": "boolean"
          },
          "eulaAccepted": {
            "type": "boolean"
          },
          "hideSplash": {
            "type": "boolean"
          },
          "home": {
            "$ref": "#/components/schemas/_home"
          },
          "lastName": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          },
          "localeId": {
            "type": "string",
            "enum": [
              "en_us",
              "es_mx",
              "fr_ca",
              "pt_br",
              "en_gb"
            ],
            "default": "en_us"
          },
          "notificationEmail": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 50.0
          },
          "notifyFavorite": {
            "type": "boolean"
          },
          "notifyOwner": {
            "type": "boolean"
          },
          "openAIAccepted": {
            "type": "boolean"
          },
          "openAIAcceptedDate": {
            "type": "string",
            "format": "date-time"
          },
          "aiPreferences": {
            "type": "object",
            "properties": {
              "preferences": {
                "type": "string"
              },
              "recommendationType": {
                "type": "string"
              },
              "responseLength": {
                "type": "string"
              },
              "toneOfVoice": {
                "type": "string"
              }
            }
          },
          "redirectToNext": {
            "type": "boolean"
          },
          "phoneNumber": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 50.0
          },
          "profileImage": {
            "type": "string"
          },
          "profilePhoto": {
            "type": "string"
          },
          "requireSso": {
            "type": "boolean"
          },
          "requireTwoFactor": {
            "type": "boolean"
          },
          "serviceAccount": {
            "type": "boolean"
          },
          "resetPassword": {
            "type": "boolean"
          },
          "showPortal": {
            "type": "boolean"
          },
          "supervisorId": {
            "type": "integer"
          },
          "timezoneId": {
            "type": "string"
          },
          "title": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 250.0
          },
          "userTypeId": {
            "type": "integer",
            "enum": [
              1.0,
              2.0,
              3.0,
              4.0,
              7.0,
              8.0,
              9.0,
              10.0,
              11.0
            ]
          },
          "emailStatus": {
            "type": "string",
            "readOnly": true
          },
          "locked": {
            "type": "boolean",
            "readOnly": true
          },
          "isResource": {
            "type": "boolean"
          },
          "capacity": {
            "type": "number"
          },
          "costPerHour": {
            "type": "number"
          },
          "calendarId": {
            "type": "integer"
          },
          "skills": {
            "type": "string"
          },
          "preferences": {
            "type": "object",
            "properties": {
              "enableNewUI": {
                "type": "boolean"
              },
              "landingPage": {
                "$ref": "#/components/schemas/_landingPagePreferences"
              },
              "notifications": {
                "type": "object",
                "properties": {
                  "soundEnabled": {
                    "type": "boolean"
                  }
                }
              }
            },
            "additionalProperties": true
          },
          "trustedDevices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "deviceName": {
                  "type": "string"
                },
                "ipAddress": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                },
                "loginTime": {
                  "type": "string"
                },
                "expiration": {
                  "type": "string"
                }
              },
              "required": [
                "ipAddress",
                "loginTime",
                "expiration"
              ]
            }
          }
        },
        "required": [
          "email",
          "firstName",
          "lastName",
          "userTypeId"
        ]
      },
      "MyFavorites": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "scorecardId": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "sortOrder": {
              "type": "integer"
            },
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Element"
              }
            }
          },
          "required": [
            "scorecardId",
            "name"
          ]
        }
      },
      "MyScorecard": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "scorecardId": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Element"
              }
            }
          },
          "required": [
            "scorecardId",
            "name"
          ]
        }
      },
      "MyUpdates": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "workflowId": {
              "type": "integer"
            },
            "instructions": {
              "type": "string"
            },
            "fields": {
              "type": "object",
              "description": "Workflow update fields to include by element type. If omitted or empty, all fields are included.",
              "additionalProperties": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "name": {
              "type": "string"
            },
            "periodId": {
              "type": "integer"
            },
            "enabled": {
              "type": "boolean"
            },
            "startDate": {
              "type": "string",
              "format": "date"
            },
            "endDate": {
              "type": "string",
              "format": "date"
            },
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/_workflowElement"
              }
            }
          },
          "required": [
            "workflowId",
            "name",
            "periodId",
            "enabled",
            "startDate",
            "endDate"
          ]
        }
      },
      "Recents": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "object": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "objectId": {
              "type": "integer"
            },
            "scorecard": {
              "type": "string"
            },
            "scorecardId": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "periodId": {
              "type": "integer"
            },
            "displayPeriodId": {
              "type": "integer"
            },
            "period": {
              "type": "string"
            },
            "periodLocked": {
              "type": "boolean"
            },
            "statusId": {
              "type": "integer"
            },
            "access": {
              "$ref": "#/components/schemas/_elementAccess"
            },
            "lastUpdate": {
              "type": "string"
            }
          },
          "required": [
            "object",
            "objectId",
            "scorecardId",
            "name",
            "periodId",
            "period"
          ]
        }
      },
      "UserTwoFactor": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "readOnly": true
          },
          "key": {
            "type": "string"
          }
        },
        "required": [
          "url",
          "key"
        ]
      },
      "ValidateIPList": {
        "type": "object",
        "properties": {
          "rule": {
            "type": "string"
          },
          "trigger": {
            "type": "string"
          },
          "ipAddress": {
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "rule",
          "trigger",
          "ipAddress",
          "valid"
        ]
      },
      "Views": {
        "type": "array",
        "readOnly": true,
        "items": {
          "$ref": "#/components/schemas/View"
        }
      },
      "ViewInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "type": {
            "type": "string",
            "enum": [
              "list",
              "seriesData",
              "explorer",
              "kanban",
              "dashboard"
            ]
          },
          "global": {
            "type": "boolean"
          },
          "showDeleted": {
            "type": "boolean"
          },
          "seriesData": {
            "type": "boolean"
          },
          "kanbanFieldId": {
            "type": "integer"
          },
          "hideCalculatedSeries": {
            "type": "boolean"
          },
          "rowHeight": {
            "type": "integer"
          },
          "sort": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "columnKey": {
                  "type": "string"
                },
                "direction": {
                  "type": "string"
                }
              },
              "required": [
                "columnKey",
                "direction"
              ]
            }
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                }
              },
              "required": [
                "key"
              ]
            }
          },
          "seriesColumns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                }
              },
              "required": [
                "key"
              ]
            }
          },
          "dashboardColumns": {
            "type": "integer"
          },
          "columnWidths": {
            "type": "object",
            "patternProperties": {
              "^.*$": {
                "type": "number"
              }
            }
          },
          "periods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "filters": {
                  "$ref": "#/components/schemas/_filters"
                }
              },
              "required": [
                "id",
                "filters"
              ]
            }
          },
          "ganttOptions": {
            "type": "object",
            "properties": {
              "zoom": {
                "type": "string"
              },
              "columns": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "options": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "columnWidths": {
                "type": "object",
                "patternProperties": {
                  "^.*$": {
                    "type": "number"
                  }
                }
              }
            },
            "required": [
              "zoom",
              "columns",
              "options",
              "columnWidths"
            ]
          }
        },
        "required": [
          "name",
          "type"
        ]
      },
      "View": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "type": {
            "type": "string",
            "enum": [
              "list",
              "seriesData",
              "explorer",
              "kanban",
              "dashboard",
              "gantt"
            ]
          },
          "global": {
            "type": "boolean"
          },
          "template": {
            "type": "boolean"
          },
          "userId": {
            "type": "integer"
          },
          "showDeleted": {
            "type": "boolean"
          },
          "showArchived": {
            "type": "boolean"
          },
          "showNoAccess": {
            "type": "boolean"
          },
          "seriesData": {
            "type": "boolean"
          },
          "kanbanFieldId": {
            "type": "integer"
          },
          "hideCalculatedSeries": {
            "type": "boolean"
          },
          "showStatusColors": {
            "type": "boolean"
          },
          "hideRepeatedValues": {
            "type": "boolean"
          },
          "rowHeight": {
            "type": "integer"
          },
          "scorecardId": {
            "type": "integer",
            "readOnly": true
          },
          "viewId": {
            "type": "integer",
            "readOnly": true
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "readOnly": true
          },
          "sort": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "columnKey": {
                  "type": "string"
                },
                "direction": {
                  "type": "string"
                }
              },
              "required": [
                "columnKey",
                "direction"
              ]
            }
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                }
              },
              "required": [
                "key"
              ]
            }
          },
          "seriesColumns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                }
              },
              "required": [
                "key"
              ]
            }
          },
          "ganttOptions": {
            "type": "object",
            "properties": {
              "zoom": {
                "type": "string"
              },
              "columns": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "options": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "columnWidths": {
                "type": "object",
                "patternProperties": {
                  "^.*$": {
                    "type": "number"
                  }
                }
              },
              "gridWidth": {
                "type": "number"
              }
            },
            "required": [
              "zoom",
              "columns",
              "options",
              "columnWidths",
              "gridWidth"
            ]
          },
          "dashboardColumns": {
            "type": "integer"
          },
          "columnWidths": {
            "type": "object",
            "patternProperties": {
              "^.*$": {
                "type": "number"
              }
            }
          },
          "periods": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "filters": {
                  "$ref": "#/components/schemas/_filters"
                }
              },
              "required": [
                "id",
                "filters"
              ]
            }
          }
        },
        "required": [
          "name",
          "type",
          "object",
          "viewId",
          "scorecardId",
          "userId"
        ]
      },
      "Webhooks": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Webhook"
        }
      },
      "WebhookInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "url": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "notificationId": {
            "type": "integer"
          },
          "scorecardIds": {
            "type": "string"
          },
          "events": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "url"
        ]
      },
      "Webhook": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "districtId": {
            "type": "integer",
            "readOnly": true
          },
          "webhookId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 150.0
          },
          "url": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 500.0
          },
          "notificationId": {
            "type": "integer"
          },
          "scorecardIds": {
            "type": "string"
          },
          "scorecardList": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "events": {
            "type": "object",
            "properties": {
              "all": {
                "type": "boolean"
              },
              "added": {
                "type": "boolean"
              },
              "updated": {
                "type": "boolean"
              },
              "edited": {
                "type": "boolean"
              },
              "deleted": {
                "type": "boolean"
              }
            }
          },
          "environment": {
            "type": "string",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "object",
          "objectId",
          "name",
          "url",
          "webhookId"
        ]
      },
      "WidgetStyles": {
        "type": "object",
        "properties": {
          "css": {
            "type": "string"
          }
        }
      },
      "WidgetStyleInput": {
        "type": "object",
        "properties": {
          "css": {
            "type": "string"
          }
        }
      },
      "Widgets": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "widgetId": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "markup": {
              "type": "string"
            },
            "created": {
              "type": "string",
              "format": "date-time"
            },
            "updated": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            }
          },
          "required": [
            "name",
            "markup",
            "widgetId"
          ]
        }
      },
      "Widget": {
        "type": "object",
        "properties": {
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "widgetId": {
            "type": "integer"
          },
          "markup": {
            "type": "string"
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          }
        },
        "required": [
          "name",
          "markup",
          "widgetId"
        ]
      },
      "WidgetInput": {
        "type": "object",
        "properties": {
          "markup": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 50.0
          }
        },
        "required": [
          "name",
          "markup"
        ]
      },
      "WorkflowEmail": {
        "type": "object",
        "properties": {
          "workflowEmailId": {
            "type": "integer",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "ccAddress": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 100.0
          },
          "subject": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "body": {
            "type": "string",
            "minLength": 1.0
          },
          "includeComplete": {
            "type": "boolean"
          },
          "sent": {
            "type": "boolean",
            "readOnly": true
          },
          "sentDate": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "scheduled": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "createdBy": {
            "type": "integer",
            "readOnly": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "readOnly": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "schedules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Schedule"
            }
          }
        },
        "required": [
          "name",
          "subject",
          "body",
          "workflowEmailId"
        ]
      },
      "WorkflowEmailInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "ccAddress": {
            "type": "string",
            "minLength": 0.0,
            "maxLength": 100.0
          },
          "subject": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "body": {
            "type": "string",
            "minLength": 1.0
          },
          "includeComplete": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "subject",
          "body"
        ]
      },
      "Workflows": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Workflow"
        }
      },
      "WorkflowInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "instructions": {
            "type": "string"
          },
          "periodId": {
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "elements": {
            "type": "string"
          },
          "fields": {
            "type": "object",
            "description": "Workflow update fields to include by element type. If omitted or empty, all fields are included.",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "showLinked": {
            "type": "boolean"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "scorecardIdList": {
            "type": "string"
          },
          "updaterIdList": {
            "type": "string"
          },
          "status": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "statusId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string",
                  "minLength": 1.0,
                  "maxLength": 50.0
                }
              },
              "required": [
                "selected",
                "statusId",
                "name"
              ]
            }
          },
          "ownerId": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "instructions",
          "periodId",
          "workflowId"
        ]
      },
      "Workflow": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "instructions": {
            "type": "string"
          },
          "periodId": {
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "elements": {
            "type": "string"
          },
          "fields": {
            "type": "object",
            "description": "Workflow update fields to include by element type. If omitted or empty, all fields are included.",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "showLinked": {
            "type": "boolean"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "scorecardIdList": {
            "type": "string"
          },
          "updaterIdList": {
            "type": "string"
          },
          "status": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "selected": {
                  "type": "boolean"
                },
                "statusId": {
                  "type": "integer"
                },
                "name": {
                  "type": "string",
                  "minLength": 1.0,
                  "maxLength": 50.0
                }
              },
              "required": [
                "selected",
                "statusId",
                "name"
              ]
            }
          },
          "period": {
            "type": "string",
            "readOnly": true
          },
          "completedTasks": {
            "type": "integer",
            "readOnly": true
          },
          "totalTasks": {
            "type": "integer",
            "readOnly": true
          },
          "workflowId": {
            "type": "integer",
            "readOnly": true
          },
          "ownerId": {
            "type": "integer"
          },
          "fullname": {
            "type": "string",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "createdBy": {
            "type": "integer",
            "readOnly": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedBy": {
            "type": "integer",
            "readOnly": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "instructions",
          "periodId",
          "workflowId"
        ]
      },
      "WorkflowEmails": {
        "type": "array",
        "readOnly": true,
        "items": {
          "type": "object",
          "properties": {
            "workflowEmailId": {
              "type": "integer"
            },
            "includeComplete": {
              "type": "boolean"
            },
            "name": {
              "type": "string"
            },
            "subject": {
              "type": "string"
            },
            "body": {
              "type": "string"
            },
            "sent": {
              "type": "boolean"
            },
            "sentDate": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            },
            "ccAddress": {
              "type": "string"
            },
            "active": {
              "type": "boolean",
              "readOnly": true
            },
            "scheduled": {
              "type": "boolean"
            },
            "deleteDate": {
              "type": "string",
              "format": "date-time",
              "readOnly": true
            }
          },
          "required": [
            "name",
            "subject",
            "body",
            "workflowEmailId"
          ]
        }
      },
      "WorkflowStatus": {
        "type": "object",
        "properties": {
          "workflowId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "periodId": {
            "type": "integer"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "enabled": {
            "type": "boolean"
          },
          "completedTasks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "completeDate": {
                  "type": "string",
                  "format": "date"
                },
                "completedTasks": {
                  "type": "integer"
                }
              },
              "required": [
                "completeDate",
                "completedTasks"
              ],
              "additionalProperties": false
            }
          },
          "emails": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "workflowEmailId": {
                  "type": "integer"
                },
                "includeComplete": {
                  "type": "boolean"
                },
                "name": {
                  "type": "string"
                },
                "subject": {
                  "type": "string"
                },
                "body": {
                  "type": "string"
                },
                "sent": {
                  "type": "boolean"
                },
                "active": {
                  "type": "boolean"
                },
                "schedules": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Schedule"
                  }
                }
              },
              "required": [
                "workflowEmailId",
                "includeComplete",
                "name",
                "subject",
                "body",
                "sent",
                "active"
              ],
              "additionalProperties": false
            }
          },
          "updaters": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "userId": {
                  "type": "integer"
                },
                "fullname": {
                  "type": "string"
                },
                "email": {
                  "type": "string",
                  "format": "email"
                },
                "scorecardName": {
                  "type": "string"
                },
                "elements": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "scorecardId": {
                        "type": "integer"
                      },
                      "accessScorecardId": {
                        "type": "integer"
                      },
                      "object": {
                        "type": "string"
                      },
                      "objectId": {
                        "type": "integer"
                      },
                      "updaterType": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "objectName": {
                        "type": "string"
                      },
                      "scorecard": {
                        "type": "string"
                      },
                      "periodId": {
                        "type": "integer"
                      },
                      "periodGroup": {
                        "type": "string"
                      },
                      "period": {
                        "type": "string"
                      },
                      "completedBy": {
                        "type": "integer"
                      },
                      "completed": {
                        "type": "boolean"
                      },
                      "completeDate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "statusId": {
                        "type": "integer"
                      },
                      "lastUpdated": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "lastUpdatedBy": {
                        "type": "integer"
                      },
                      "access": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "scorecardId",
                      "accessScorecardId",
                      "object",
                      "objectId",
                      "updaterType",
                      "name",
                      "objectName",
                      "scorecard",
                      "periodId",
                      "periodGroup",
                      "period",
                      "completed",
                      "statusId",
                      "lastUpdated",
                      "lastUpdatedBy",
                      "access"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "userId",
                "fullname",
                "email",
                "scorecardName",
                "elements"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "workflowId",
          "name",
          "periodId",
          "startDate",
          "endDate",
          "enabled",
          "completedTasks",
          "emails",
          "updaters"
        ],
        "additionalProperties": false
      },
      "UpdateWorkflow": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ],
            "readOnly": true
          },
          "objectId": {
            "type": "integer",
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "readOnly": true
          },
          "completed": {
            "type": "boolean"
          }
        },
        "required": [
          "object",
          "objectId",
          "userId"
        ]
      },
      "Workspaces": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Workspace"
        }
      },
      "WorkspaceInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "layout": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/_cardLayout"
            }
          },
          "visibility": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "isTemplate": {
            "type": "boolean"
          },
          "template": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          }
        }
      },
      "Workspace": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1.0,
            "maxLength": 250.0
          },
          "userId": {
            "type": "integer"
          },
          "layout": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "isLocked": {
                  "type": "boolean"
                },
                "coordinates": {
                  "$ref": "#/components/schemas/_cardCoordinates"
                },
                "visualSettings": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/_cardVisualSetting"
                  }
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "chart",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "objectId": {
                  "type": "integer"
                },
                "pod": {
                  "type": "string"
                }
              },
              "required": [
                "coordinates"
              ]
            }
          },
          "visibility": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "isTemplate": {
            "type": "boolean"
          },
          "template": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "workspaceId": {
            "type": "integer",
            "readOnly": true
          },
          "templateId": {
            "type": "integer",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "readOnly": true
          },
          "deleteDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEdited": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "lastEditedBy": {
            "type": "integer",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "userId",
          "visibility",
          "workspaceId"
        ]
      },
      "ZapierAppConnections": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "connections": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "integer",
                  "readOnly": true
                },
                "authenticationId": {
                  "type": "string",
                  "readOnly": true
                },
                "service": {
                  "type": "string",
                  "readOnly": true
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "readOnly": true
                },
                "created": {
                  "type": "string",
                  "readOnly": true
                }
              }
            }
          }
        },
        "required": [
          "connections"
        ]
      },
      "ZapierAppConnectionInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "authenticationId": {
            "type": "string",
            "minLength": 1.0,
            "description": "Zapier authentication id returned by White Label Connect completion."
          },
          "service": {
            "type": "string",
            "minLength": 1.0,
            "description": "Zapier app key the connection is for (e.g. SalesforceCLIAPI)."
          },
          "title": {
            "type": "string",
            "description": "Display label for the connection."
          }
        },
        "required": [
          "authenticationId",
          "service"
        ]
      },
      "ZapierOAuthTokens": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "access_token": {
            "type": "string",
            "readOnly": true
          },
          "refresh_token": {
            "type": "string",
            "readOnly": true
          },
          "expires_in": {
            "type": "integer",
            "readOnly": true
          },
          "token_type": {
            "type": "string",
            "readOnly": true
          },
          "clientId": {
            "type": "string",
            "readOnly": true
          }
        },
        "required": [
          "access_token",
          "refresh_token",
          "expires_in",
          "token_type"
        ]
      },
      "Feature": {
        "type": "object",
        "required": [
          "featureId",
          "name",
          "enabled"
        ],
        "additionalProperties": false,
        "properties": {
          "featureId": {
            "type": "string",
            "enum": [
              "accessibility",
              "advancedAi",
              "advancedCharting",
              "advancedProject",
              "aggregateSeries",
              "ai",
              "aiEmail",
              "aiLandingPages",
              "apiKeys",
              "approvals",
              "accountTransfer",
              "archives",
              "automations",
              "briefingBookLimit",
              "calculatedFields",
              "cloudDataLoader",
              "connectedApps",
              "customCharts",
              "customFieldLimit",
              "customScriptSchedules",
              "customStyles",
              "dashboards",
              "dataHTML",
              "dataLoader",
              "dataLoaderAgent",
              "dataLoaderWebDb",
              "elementLimit",
              "embedCodes",
              "enterpriseAi",
              "essentialAi",
              "fieldLabels",
              "gantt",
              "hierarchyLimit",
              "htmlExportLimit",
              "initiativeEvaluation",
              "ipRestrictions",
              "kanban",
              "kbSync",
              "mcpConnections",
              "mcpServer",
              "measureLibrary",
              "menuCustomization",
              "notifications",
              "numberFormats",
              "objectiveEvaluation",
              "okrs",
              "periodLimit",
              "publishing",
              "referenceSeries",
              "reportFilters",
              "reusableCards",
              "scheduling",
              "scorecardLimit",
              "scripting",
              "sites",
              "snowflake",
              "sso",
              "statusSeries",
              "tags",
              "userGroups",
              "webhooks",
              "workflows",
              "workspaces"
            ]
          },
          "name": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true
          },
          "enabled": {
            "type": "boolean"
          },
          "deprecated": {
            "type": "boolean",
            "readOnly": true
          },
          "limit": {
            "type": "integer",
            "minimum": 0.0
          },
          "used": {
            "type": "integer",
            "minimum": 0.0,
            "readOnly": true
          },
          "environments": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "localdev",
                "dev",
                "stage",
                "prod"
              ]
            }
          },
          "releaseEnvironment": {
            "type": "string",
            "enum": [
              "localdev",
              "dev",
              "stage",
              "prod"
            ]
          },
          "environment": {
            "type": "string",
            "enum": [
              "localdev",
              "dev",
              "stage",
              "prod"
            ]
          },
          "availableInEnvironment": {
            "type": "boolean"
          },
          "planEnabled": {
            "type": "boolean"
          },
          "legacyGrant": {
            "type": "boolean"
          },
          "hasOverride": {
            "type": "boolean"
          },
          "overrideEnabled": {
            "type": "boolean"
          },
          "source": {
            "type": "string",
            "enum": [
              "plan",
              "legacy_grant",
              "override",
              "override_disabled",
              "none",
              "license"
            ]
          },
          "minimumPlanId": {
            "type": "string"
          },
          "minimumPlanName": {
            "type": "string"
          }
        }
      },
      "Image": {
        "type": "object",
        "properties": {
          "filetype": {
            "type": "string"
          },
          "uploadDate": {
            "type": "string",
            "format": "date-time"
          },
          "imageId": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "thumb": {
            "type": "string"
          },
          "objectId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "fileExists": {
            "type": "boolean"
          },
          "link": {
            "type": "object",
            "properties": {
              "validUntil": {
                "type": "string",
                "format": "date-time"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "validUntil",
              "url"
            ]
          }
        },
        "required": [
          "filetype",
          "uploadDate",
          "imageId",
          "url",
          "thumb",
          "objectId",
          "name",
          "fileExists",
          "link"
        ]
      },
      "ResourceAssignment": {
        "type": "object",
        "properties": {
          "resourceId": {
            "type": "integer",
            "minimum": 1.0
          },
          "name": {
            "type": "string",
            "maxLength": 50.0
          },
          "linkedUserId": {
            "type": "integer",
            "minimum": 1.0
          },
          "costPerHour": {
            "type": "number",
            "multipleOf": 0.01,
            "minimum": 0.0
          },
          "capacity": {
            "type": "number",
            "multipleOf": 0.01,
            "minimum": 0.0
          },
          "object": {
            "type": "string",
            "enum": [
              "initiative",
              "milestone"
            ],
            "maxLength": 20.0
          },
          "objectId": {
            "type": "integer",
            "minimum": 1.0
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "allocation": {
            "type": [
              "number",
              "null"
            ],
            "multipleOf": 0.01,
            "minimum": 0.0,
            "maximum": 100.0
          }
        },
        "required": [
          "resourceId",
          "object",
          "objectId",
          "startDate",
          "endDate",
          "active"
        ]
      },
      "Menu": {
        "type": "object",
        "properties": {
          "menuLabel": {
            "type": "string"
          },
          "hidden": {
            "type": "boolean"
          },
          "defaultPlural": {
            "type": "string"
          },
          "menuId": {
            "type": "integer",
            "readOnly": true
          },
          "plural": {
            "type": "string"
          },
          "defaultName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "object": {
            "type": "string",
            "enum": [
              "scorecard",
              "map",
              "objective",
              "measure",
              "initiative",
              "milestone",
              "actionItem",
              "risk"
            ]
          },
          "defaultMenu": {
            "type": "string"
          },
          "sortOrder": {
            "type": "integer"
          },
          "customizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "menuLabel": {
                  "type": "string"
                },
                "hidden": {
                  "type": "boolean"
                },
                "scorecardId": {
                  "type": "integer",
                  "readOnly": true
                },
                "homeScorecardId": {
                  "type": "integer"
                },
                "menuId": {
                  "type": "integer"
                },
                "plural": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "object": {
                  "type": "string",
                  "enum": [
                    "scorecard",
                    "map",
                    "objective",
                    "measure",
                    "initiative",
                    "milestone",
                    "actionItem",
                    "risk"
                  ]
                },
                "scorecard": {
                  "type": "string",
                  "readOnly": true
                }
              },
              "required": [
                "menuId",
                "object",
                "scorecardId"
              ]
            }
          }
        },
        "required": [
          "menuId",
          "object"
        ]
      },
      "PeerMeasureSeries": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "measureSeriesId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "seriesDataTypeId": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "numberFormat": {
            "$ref": "#/components/schemas/_numberFormat"
          }
        },
        "required": [
          "measureSeriesId",
          "name",
          "seriesDataTypeId"
        ]
      }
    },
    "securitySchemes": {
      "secretKey": {
        "in": "header",
        "name": "SecretKey",
        "type": "apiKey",
        "description": "ClearPoint API secret key. Send together with the AccessKey header."
      },
      "oAuth2": {
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://app.clearpointstrategy.com/oauth2/auth",
            "tokenUrl": "https://app.clearpointstrategy.com/oauth2/token",
            "scopes": {}
          }
        },
        "type": "oauth2"
      },
      "accessKey": {
        "in": "header",
        "name": "AccessKey",
        "type": "apiKey",
        "description": "ClearPoint API access key. Send together with the SecretKey header."
      }
    }
  },
  "paths": {
    "/accountTransfer/export": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "granularity": {
                    "type": "string",
                    "enum": [
                      "scorecard",
                      "scorecards",
                      "account"
                    ],
                    "description": "Export granularity. Defaults to the shape of scorecardIds."
                  },
                  "scorecardIds": {
                    "type": "array",
                    "description": "Scorecard IDs in archive selection order. Required unless granularity is account."
                  },
                  "periodIds": {
                    "type": "array",
                    "description": "Reporting period IDs to include."
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "operationId": "exportAccountTransfer",
        "summary": "Queue a ClearPoint Portable Archive export of one scorecard, several, or the whole account.",
        "parameters": [],
        "tags": [
          "Account Transfer"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems": {
      "get": {
        "operationId": "listActionItems",
        "summary": "List action items",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionItemInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createActionItem",
        "summary": "Create action item",
        "parameters": [],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}": {
      "delete": {
        "operationId": "deleteActionItem",
        "summary": "Delete action item",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          },
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          }
        }
      },
      "get": {
        "operationId": "getActionItem",
        "summary": "Get action item",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Element"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionItemInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editActionItem",
        "summary": "Edit action item",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/charts": {
      "get": {
        "operationId": "listChartsByActionItem",
        "summary": "List charts",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Charts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChartInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createActionItemChart",
        "summary": "Create chart",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/customFields": {
      "get": {
        "operationId": "listActionItemCustomFields",
        "summary": "Get action item custom fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/fields": {
      "get": {
        "operationId": "getActionItemFields",
        "summary": "Get actionItem fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action Item ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "ActionItem Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/links": {
      "get": {
        "operationId": "listActionItemLinks",
        "summary": "Get action item links",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Links"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/referenceSeries": {
      "get": {
        "operationId": "listActionItemReferenceSeries",
        "summary": "Get action item reference series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferenceSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/seriesData": {
      "get": {
        "operationId": "getActionItemSeriesData",
        "summary": "Get series data with period data for specified periods",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action Item ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodList",
            "schema": {
              "type": "string"
            },
            "description": "Comma-delimited period IDs"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeriesData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/status": {
      "get": {
        "operationId": "getActionItemStatus",
        "summary": "Get action item status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Action Item Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStatus"
              }
            }
          },
          "required": true
        },
        "operationId": "updateActionItemStatus",
        "summary": "Update action item status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Action Item Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/aiArtifacts": {
      "get": {
        "operationId": "listPageExports",
        "summary": "List AI-generated artifacts",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "threadId",
            "schema": {
              "type": "string"
            },
            "description": "Filter to a specific thread ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "start",
            "schema": {
              "type": "integer"
            },
            "description": "Start index"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Number to return"
          },
          {
            "required": false,
            "in": "query",
            "name": "presign",
            "schema": {
              "type": "boolean"
            },
            "description": "Presign download links"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageExports"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "postAiArtifacts",
        "summary": "Upload a completed AI-generated artifact",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "threadId",
            "schema": {
              "type": "string"
            },
            "description": "AI thread ID that produced the artifact"
          },
          {
            "required": false,
            "in": "query",
            "name": "name",
            "schema": {
              "type": "string"
            },
            "description": "Human-readable artifact name"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/aiArtifacts/{pageExportId}": {
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "editReceipt",
        "summary": "Upload a completed AI-generated artifact",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "failed",
            "schema": {
              "type": "boolean"
            },
            "description": "Mark as failed"
          },
          {
            "required": true,
            "in": "path",
            "name": "pageExportId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/aiBriefings": {
      "get": {
        "operationId": "getAiBriefing",
        "summary": "Get the cached AI landing-page briefing for a cacheKey",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "cacheKey",
            "schema": {
              "type": "string"
            },
            "description": "App-level briefing variant id."
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AiBriefing"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AiBriefingInput"
              }
            }
          },
          "required": true
        },
        "operationId": "saveAiBriefing",
        "summary": "Save a generated AI landing-page briefing",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AiBriefingReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/alerts": {
      "get": {
        "operationId": "listAlerts",
        "summary": "List alerts",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "start",
            "schema": {
              "type": "integer"
            },
            "description": "Start index"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Number to return"
          },
          {
            "required": false,
            "in": "query",
            "name": "refreshCounts",
            "schema": {
              "type": "string"
            },
            "description": "Get alert counts"
          },
          {
            "required": false,
            "in": "query",
            "name": "recents",
            "schema": {
              "type": "string"
            },
            "description": "Get recent alerts"
          },
          {
            "required": false,
            "in": "query",
            "name": "presign",
            "schema": {
              "type": "boolean"
            },
            "description": ""
          }
        ],
        "tags": [
          "Alerts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Alerts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/alerts/{alertId}": {
      "delete": {
        "operationId": "deleteAlert",
        "summary": "Delete alert",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "alertId",
            "schema": {
              "type": "number"
            },
            "description": "Alert ID"
          }
        ],
        "tags": [
          "Alerts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getAlert",
        "summary": "Get alert",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "alertId",
            "schema": {
              "type": "number"
            },
            "description": "Alert ID"
          }
        ],
        "tags": [
          "Alerts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Alert"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AlertInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editAlert",
        "summary": "Edit alert",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "alertId",
            "schema": {
              "type": "number"
            },
            "description": "Alert ID"
          }
        ],
        "tags": [
          "Alerts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/announcements": {
      "get": {
        "operationId": "listAnnouncements",
        "summary": "List announcements",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "activeOnly",
            "schema": {
              "type": "boolean"
            },
            "description": "Return only announcements visible today."
          },
          {
            "required": false,
            "in": "query",
            "name": "showDeleted",
            "schema": {
              "type": "boolean"
            },
            "description": "Include soft-deleted announcements."
          }
        ],
        "tags": [
          "Announcements"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Announcements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnnouncementInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createAnnouncement",
        "summary": "Create announcement",
        "parameters": [],
        "tags": [
          "Announcements"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/announcements/{announcementId}": {
      "delete": {
        "operationId": "deleteAnnouncement",
        "summary": "Delete announcement",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "announcementId",
            "schema": {
              "type": "number"
            },
            "description": "Announcement ID."
          }
        ],
        "tags": [
          "Announcements"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getAnnouncement",
        "summary": "Get announcement",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "announcementId",
            "schema": {
              "type": "number"
            },
            "description": "Announcement ID."
          }
        ],
        "tags": [
          "Announcements"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Announcement"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnnouncementInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editAnnouncement",
        "summary": "Edit announcement",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "announcementId",
            "schema": {
              "type": "number"
            },
            "description": "Announcement ID."
          }
        ],
        "tags": [
          "Announcements"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/apiKeys": {
      "get": {
        "operationId": "listApiKeys",
        "summary": "List API Keys",
        "parameters": [],
        "tags": [
          "API Keys"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeys"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApiKeyInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createApiKey",
        "summary": "Create API Key",
        "parameters": [],
        "tags": [
          "API Keys"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/apiKeys/{apiKeyId}": {
      "delete": {
        "operationId": "deleteApiKey",
        "summary": "Delete API Key",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "apiKeyId",
            "schema": {
              "type": "number"
            },
            "description": "API Key ID"
          }
        ],
        "tags": [
          "API Keys"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getApiKey",
        "summary": "Get API Key",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "apiKeyId",
            "schema": {
              "type": "number"
            },
            "description": "API Key ID"
          }
        ],
        "tags": [
          "API Keys"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKey"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApiKeyInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editApiKey",
        "summary": "Edit API Key",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "apiKeyId",
            "schema": {
              "type": "number"
            },
            "description": "API Key ID"
          }
        ],
        "tags": [
          "API Keys"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/approvals": {
      "get": {
        "operationId": "listApprovals",
        "summary": "List My Approvals",
        "parameters": [],
        "tags": [
          "Approvals"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Approvals"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/approvals/{approvalId}": {
      "get": {
        "operationId": "getApproval",
        "summary": "Get approval",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "approvalId",
            "schema": {
              "type": "number"
            },
            "description": "Approval ID"
          }
        ],
        "tags": [
          "Approvals"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Approval"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editApproval",
        "summary": "Edit approval",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "approvalId",
            "schema": {
              "type": "number"
            },
            "description": "Approval ID"
          }
        ],
        "tags": [
          "Approvals"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/archives": {
      "get": {
        "operationId": "listArchives",
        "summary": "List snapshots",
        "parameters": [],
        "tags": [
          "Snapshots"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Archives"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ArchiveInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createArchive",
        "summary": "Create snapshot",
        "parameters": [],
        "tags": [
          "Snapshots"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/archives/{archiveId}": {
      "delete": {
        "operationId": "deleteArchive",
        "summary": "Delete snapshot",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "archiveId",
            "schema": {
              "type": "number"
            },
            "description": "Archive ID"
          }
        ],
        "tags": [
          "Snapshots"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getArchive",
        "summary": "Get snapshot",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "archiveId",
            "schema": {
              "type": "number"
            },
            "description": "Archive ID"
          }
        ],
        "tags": [
          "Snapshots"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Archive"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ArchiveInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editArchive",
        "summary": "Edit snapshot",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "archiveId",
            "schema": {
              "type": "number"
            },
            "description": "Archive ID"
          }
        ],
        "tags": [
          "Snapshots"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/assets/{chatId}": {
      "get": {
        "operationId": "getAssets",
        "summary": "Get assets",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "chatId",
            "schema": {
              "type": "string"
            },
            "description": "Chat ID"
          }
        ],
        "tags": [
          "Assets"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Assets"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Assets"
              }
            }
          },
          "required": true
        },
        "operationId": "upsertAssets",
        "summary": "Create or update assets",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "chatId",
            "schema": {
              "type": "string"
            },
            "description": "Chat ID"
          }
        ],
        "tags": [
          "Assets"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/attachments": {
      "get": {
        "operationId": "listAttachments",
        "summary": "List attachments",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "integer"
            },
            "description": "Element ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "start",
            "schema": {
              "type": "integer"
            },
            "description": "Start index"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Number to return"
          },
          {
            "required": false,
            "in": "query",
            "name": "search",
            "schema": {
              "type": "string"
            },
            "description": "Filter by keyword"
          },
          {
            "required": false,
            "in": "query",
            "name": "presign",
            "schema": {
              "type": "boolean"
            },
            "description": "Presign download links"
          }
        ],
        "tags": [
          "Attachments"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Attachments"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachmentInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createAttachment",
        "summary": "Create attachment",
        "parameters": [],
        "tags": [
          "Attachments"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/attachments/{attachmentId}": {
      "delete": {
        "operationId": "deleteAttachment",
        "summary": "Delete attachment",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "attachmentId",
            "schema": {
              "type": "number"
            },
            "description": "Attachment ID"
          }
        ],
        "tags": [
          "Attachments"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getAttachment",
        "summary": "Get attachment",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "attachmentId",
            "schema": {
              "type": "number"
            },
            "description": "Attachment ID"
          }
        ],
        "tags": [
          "Attachments"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Attachment"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachmentInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editAttachment",
        "summary": "Edit attachment",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "attachmentId",
            "schema": {
              "type": "number"
            },
            "description": "Attachment ID"
          }
        ],
        "tags": [
          "Attachments"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/authenticate": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticateInput"
              }
            }
          },
          "required": true
        },
        "operationId": "authenticate",
        "summary": "Login",
        "parameters": [],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/_session"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bridge/config": {
      "get": {
        "operationId": "getBridgeConfig",
        "summary": "Config snapshot for this agent — data sources, watched folders, mapping profiles (metadata only, never secrets)",
        "parameters": [],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderBridgeConfig"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bridge/credentials": {
      "get": {
        "operationId": "getBridgeCredentials",
        "summary": "Credential envelopes pending delivery to this agent (sealed boxes; deleted on ack)",
        "parameters": [],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderBridgeCredentials"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bridge/credentials/{envelopeId}/ack": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "ackBridgeCredential",
        "summary": "Acknowledge envelope delivery — the row is deleted; ciphertext never persists past delivery",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "envelopeId",
            "schema": {
              "type": "number"
            },
            "description": "Envelope ID from GET /bridge/credentials"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bridge/heartbeat": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderBridgeHeartbeatInput"
              }
            }
          },
          "required": true
        },
        "operationId": "bridgeHeartbeat",
        "summary": "Record agent health and claim due tasks — the heartbeat IS the task claim",
        "parameters": [],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderBridgeHeartbeat"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bridge/register": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderBridgeRegisterInput"
              }
            }
          },
          "required": true
        },
        "operationId": "registerBridgeAgent",
        "summary": "Exchange a one-use pairing token for a long-lived Bridge Agent token",
        "parameters": [],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderBridgeRegister"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bridge/tasks/{taskId}/status": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderBridgeTaskStatusInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateBridgeTaskStatus",
        "summary": "Agent-reported task state (running|succeeded|failed) mapped to the server run lifecycle",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "taskId",
            "schema": {
              "type": "string"
            },
            "description": "Task UUID from the heartbeat claim"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bridge/token/rotate": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderBridgeRegister"
              }
            }
          },
          "required": true
        },
        "operationId": "rotateBridgeToken",
        "summary": "Issue a replacement agent token; the old token stops working immediately",
        "parameters": [],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderBridgeRegister"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bridge/uploads": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderBridgeUploadInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createBridgeUpload",
        "summary": "Register an upload and receive a presigned S3 PUT grant",
        "parameters": [],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderBridgeUpload"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bridge/uploads/{uploadId}/complete": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "completeBridgeUpload",
        "summary": "Mark an upload complete after the presigned PUT succeeds",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "uploadId",
            "schema": {
              "type": "number"
            },
            "description": "Upload ID from POST /bridge/uploads"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/bulk/{action}": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "runBulk",
        "summary": "Run Bulk Opeeration",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "action",
            "schema": {
              "type": "string"
            },
            "description": "Attachment ID"
          }
        ],
        "tags": [
          "Admin"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/calculatedFields": {
      "get": {
        "operationId": "listCalculatedFields",
        "summary": "List calculated fields",
        "parameters": [],
        "tags": [
          "Calculated Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalculatedFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CalculatedFieldInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createCalculatedField",
        "summary": "Create calculated field",
        "parameters": [],
        "tags": [
          "Calculated Fields"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/calculatedFields/{calculatedFieldId}": {
      "delete": {
        "operationId": "deleteCalculatedField",
        "summary": "Delete calculated field",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "calculatedFieldId",
            "schema": {
              "type": "number"
            },
            "description": "Calculated field ID"
          }
        ],
        "tags": [
          "Calculated Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getCalculatedField",
        "summary": "Get calculated field",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "calculatedFieldId",
            "schema": {
              "type": "number"
            },
            "description": "Calculated field ID"
          }
        ],
        "tags": [
          "Calculated Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalculatedField"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CalculatedFieldInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editCalculatedField",
        "summary": "Edit calculated field",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "calculatedFieldId",
            "schema": {
              "type": "number"
            },
            "description": "Calculated field ID"
          }
        ],
        "tags": [
          "Calculated Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/categories/{categoryId}": {
      "delete": {
        "operationId": "deleteCategory",
        "summary": "Delete category",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "categoryId",
            "schema": {
              "type": "number"
            },
            "description": "Category ID"
          }
        ],
        "tags": [
          "Categories"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getCategory",
        "summary": "Get category",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "categoryId",
            "schema": {
              "type": "number"
            },
            "description": "Category ID"
          }
        ],
        "tags": [
          "Categories"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Category"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editCategory",
        "summary": "Edit category",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "categoryId",
            "schema": {
              "type": "number"
            },
            "description": "Category ID"
          }
        ],
        "tags": [
          "Categories"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/categories/{categoryId}/links": {
      "get": {
        "operationId": "listCategoryLinks",
        "summary": "List category links",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "categoryId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          }
        ],
        "tags": [
          "Categories"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Links"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/chartJson": {
      "get": {
        "operationId": "listChartJson",
        "summary": "List chart JSON formats",
        "parameters": [],
        "tags": [
          "Chart Formats"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChartJson"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/chartTypes": {
      "get": {
        "operationId": "listChartTypes",
        "summary": "List chart types",
        "parameters": [],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChartTypes"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/chartTypes/{chartTypeId}": {
      "get": {
        "operationId": "getChartType",
        "summary": "Get chart type",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "chartTypeId",
            "schema": {
              "type": "number"
            },
            "description": "Chart type ID"
          }
        ],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChartType"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/charts/{chartId}": {
      "delete": {
        "operationId": "deleteChart",
        "summary": "Delete chart",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "chartId",
            "schema": {
              "type": "number"
            },
            "description": "Chart ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getChart",
        "summary": "Get chart",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "chartId",
            "schema": {
              "type": "number"
            },
            "description": "Chart ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "render",
            "schema": {
              "type": "boolean"
            },
            "description": "Render Chart"
          },
          {
            "required": false,
            "in": "query",
            "name": "wrap",
            "schema": {
              "type": "boolean"
            },
            "description": "Provide Chart Context"
          },
          {
            "required": false,
            "in": "query",
            "name": "styled",
            "schema": {
              "type": "boolean"
            },
            "description": "CSS Styled Chart"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Chart"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChartInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editChart",
        "summary": "Edit chart",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "chartId",
            "schema": {
              "type": "number"
            },
            "description": "Chart ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/columns": {
      "get": {
        "operationId": "listColumns",
        "summary": "Get report columns",
        "parameters": [],
        "tags": [
          "Summary Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Columns"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/comment": {
      "get": {
        "operationId": "listComments",
        "summary": "List comments",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "integer"
            },
            "description": "Element ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "layoutId",
            "schema": {
              "type": "integer"
            },
            "description": "Report layout ID"
          }
        ],
        "tags": [
          "Comments and Mentions"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Comments"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createComment",
        "summary": "Add comment",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "integer"
            },
            "description": "Element object ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "layoutId",
            "schema": {
              "type": "integer"
            },
            "description": "Report layout ID"
          }
        ],
        "tags": [
          "Comments and Mentions"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/comment/{commentId}": {
      "delete": {
        "operationId": "deleteComment",
        "summary": "Delete comment",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "commentId",
            "schema": {
              "type": "number"
            },
            "description": "Comment ID"
          }
        ],
        "tags": [
          "Comments and Mentions"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getComment",
        "summary": "Get comment",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "commentId",
            "schema": {
              "type": "number"
            },
            "description": "Comment ID"
          }
        ],
        "tags": [
          "Comments and Mentions"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Comment"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editComment",
        "summary": "Edit comment",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "commentId",
            "schema": {
              "type": "number"
            },
            "description": "Comment ID"
          }
        ],
        "tags": [
          "Comments and Mentions"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/contextDocuments": {
      "get": {
        "operationId": "listContextDocuments",
        "summary": "List context documents",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "scope",
            "schema": {
              "type": "string"
            },
            "description": "Filter by scope: org, personal, expertise"
          },
          {
            "required": false,
            "in": "query",
            "name": "indexStatus",
            "schema": {
              "type": "string"
            },
            "description": "Filter by indexStatus"
          },
          {
            "required": false,
            "in": "query",
            "name": "pageSize",
            "schema": {
              "type": "integer"
            },
            "description": "Page size (default 100)"
          },
          {
            "required": false,
            "in": "query",
            "name": "pageNumber",
            "schema": {
              "type": "integer"
            },
            "description": "Page number (default 1)"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContextDocuments"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "postContextDocuments",
        "summary": "Upload a document for AI context parsing",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "mode",
            "schema": {
              "type": "string"
            },
            "description": "Processing mode: 'embed' for vector embedding (default), 'structured' for AI-powered structured data extraction, 'chat' for embed + structured in one call"
          },
          {
            "required": false,
            "in": "query",
            "name": "scope",
            "schema": {
              "type": "string"
            },
            "description": "Document scope: 'org' (default) or 'personal'"
          },
          {
            "required": false,
            "in": "query",
            "name": "extractionType",
            "schema": {
              "type": "string"
            },
            "description": "For structured mode: extraction focus type"
          },
          {
            "required": false,
            "in": "query",
            "name": "instructions",
            "schema": {
              "type": "string"
            },
            "description": "For structured mode: additional AI instructions"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/contextDocuments/{contextDocumentId}": {
      "delete": {
        "operationId": "deleteReceipt",
        "summary": "Delete a context document (soft delete)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "contextDocumentId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getContextDocument",
        "summary": "Get document detail, query content, or download file",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "contextDocumentId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          },
          {
            "required": false,
            "in": "query",
            "name": "query",
            "schema": {
              "type": "string"
            },
            "description": "Search query to find relevant chunks"
          },
          {
            "required": false,
            "in": "query",
            "name": "download",
            "schema": {
              "type": "boolean"
            },
            "description": "If true, download the file from S3"
          },
          {
            "required": false,
            "in": "query",
            "name": "structured",
            "schema": {
              "type": "boolean"
            },
            "description": "If true, return structured output"
          },
          {
            "required": false,
            "in": "query",
            "name": "topK",
            "schema": {
              "type": "integer"
            },
            "description": "Number of query results (default 10)"
          },
          {
            "required": false,
            "in": "query",
            "name": "scope",
            "schema": {
              "type": "string"
            },
            "description": "Document scope: org, personal, expertise"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContextDocument"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchResults"
              }
            }
          },
          "required": true
        },
        "operationId": "createSearchResults",
        "summary": "Query a document's content via POST",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "contextDocumentId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResults"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/contextDocuments/{contextDocumentId}/extract": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "postContextDocumentsByContextDocumentIdExtract",
        "summary": "Extract structured data from a knowledge base document using a specific schema",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "contextDocumentId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          },
          {
            "required": false,
            "in": "query",
            "name": "schema",
            "schema": {
              "type": "string"
            },
            "description": "Extraction schema: strategic_plan, scorecard, objectives, measures, initiatives, action_items, risks, measure_data, users, mixed"
          },
          {
            "required": false,
            "in": "query",
            "name": "instructions",
            "schema": {
              "type": "string"
            },
            "description": "Optional additional AI instructions to guide extraction"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/contextDocuments/search": {
      "get": {
        "operationId": "listSearchResults",
        "summary": "Semantic search across knowledge base documents",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "query",
            "schema": {
              "type": "string"
            },
            "description": "Search query"
          },
          {
            "required": false,
            "in": "query",
            "name": "scope",
            "schema": {
              "type": "string"
            },
            "description": "Optional scope: org, personal, expertise"
          },
          {
            "required": false,
            "in": "query",
            "name": "topK",
            "schema": {
              "type": "number"
            },
            "description": "Number of results to return"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResults"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/conversations": {
      "get": {
        "operationId": "listConversations",
        "summary": "List conversations",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Conversations"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConversationInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createConversation",
        "summary": "Create conversation",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/conversations/{conversationId}": {
      "delete": {
        "operationId": "deleteConversation",
        "summary": "Delete Conversation",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "conversationId",
            "schema": {
              "type": "number"
            },
            "description": "Conversation ID"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getConversation",
        "summary": "Get conversation",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "conversationId",
            "schema": {
              "type": "number"
            },
            "description": "Conversation ID"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Conversation"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConversationInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editConversation",
        "summary": "Edit Conversation",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "conversationId",
            "schema": {
              "type": "number"
            },
            "description": "Conversation ID"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/currencies": {
      "get": {
        "operationId": "listCurrencies",
        "summary": "List currencies",
        "parameters": [],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Currencies"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/customChartTypes": {
      "get": {
        "operationId": "listCustomChartTypes",
        "summary": "List custom chart types",
        "parameters": [],
        "tags": [
          "Chart Formats"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomChartTypes"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomChartTypeInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createCustomChartType",
        "summary": "Create custom chart type",
        "parameters": [],
        "tags": [
          "Chart Formats"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/customChartTypes/{customChartTypeId}": {
      "delete": {
        "operationId": "deleteCustomChartType",
        "summary": "Delete custom chart type",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "customChartTypeId",
            "schema": {
              "type": "number"
            },
            "description": "Custom chart type ID"
          }
        ],
        "tags": [
          "Chart Formats"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getCustomChartType",
        "summary": "Get custom chart type",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "customChartTypeId",
            "schema": {
              "type": "number"
            },
            "description": "Custom chart type ID"
          }
        ],
        "tags": [
          "Chart Formats"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomChartType"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomChartTypeInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editCustomChartType",
        "summary": "Edit custom chart type",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "customChartTypeId",
            "schema": {
              "type": "number"
            },
            "description": "Custom chart type ID"
          }
        ],
        "tags": [
          "Chart Formats"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/customFields": {
      "get": {
        "operationId": "listCustomFields",
        "summary": "List custom fields",
        "parameters": [],
        "tags": [
          "Custom Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomFieldInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createCustomField",
        "summary": "Create custom field",
        "parameters": [],
        "tags": [
          "Custom Fields"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/customFields/{customFieldId}": {
      "delete": {
        "operationId": "deleteCustomField",
        "summary": "Delete custom field",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "customFieldId",
            "schema": {
              "type": "number"
            },
            "description": "API Key ID"
          }
        ],
        "tags": [
          "Custom Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getCustomField",
        "summary": "Get custom field",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "customFieldId",
            "schema": {
              "type": "number"
            },
            "description": "Custom field ID"
          }
        ],
        "tags": [
          "Custom Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomField"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomFieldInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editCustomField",
        "summary": "Edit custom field",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "customFieldId",
            "schema": {
              "type": "number"
            },
            "description": "Custom field ID"
          }
        ],
        "tags": [
          "Custom Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dashboardLayouts": {
      "get": {
        "operationId": "listDashboardLayouts",
        "summary": "List scorecard reports",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Omit to display templates"
          }
        ],
        "tags": [
          "Scorecard Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardLayouts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DashboardLayoutInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createScorecardReport",
        "summary": "Create scorecard report",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "duplicate",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard report ID to duplicate"
          }
        ],
        "tags": [
          "Scorecard Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dashboardLayouts/{dashboardLayoutId}": {
      "delete": {
        "operationId": "deleteDashboardLayout",
        "summary": "Delete scorecard report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "dashboardLayoutId",
            "schema": {
              "type": "number"
            },
            "description": "Dashboard (scorecard) layout ID"
          }
        ],
        "tags": [
          "Scorecard Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDashboardLayout",
        "summary": "Get scorecard report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "dashboardLayoutId",
            "schema": {
              "type": "number"
            },
            "description": "Dashboard (scorecard) layout ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Scorecard Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/_layout"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DashboardLayoutInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editDashboardLayout",
        "summary": "Edit scorecard report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "dashboardLayoutId",
            "schema": {
              "type": "number"
            },
            "description": "Dashboard (scorecard) layout ID"
          }
        ],
        "tags": [
          "Scorecard Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dashboardLayouts/{dashboardLayoutId}/elements": {
      "get": {
        "operationId": "getDashboardLayoutElements",
        "summary": "Get scorecard report elements",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "dashboardLayoutId",
            "schema": {
              "type": "number"
            },
            "description": "Dashboard (scorecard) layout ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Scorecard Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridLayoutElements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dashboardLayouts/templates": {
      "get": {
        "operationId": "getDashboardLayoutsTemplates",
        "summary": "List scorecard reports",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Omit to display templates"
          }
        ],
        "tags": [
          "Scorecard Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardLayouts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/agents": {
      "get": {
        "operationId": "getDataLoaderAgents",
        "summary": "List Data Loader agents",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderAgents"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/agents/{agentId}": {
      "delete": {
        "operationId": "revokeDataLoaderAgent",
        "summary": "Revoke a Data Loader agent",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "agentId",
            "schema": {
              "type": "number"
            },
            "description": "Agent ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDataLoaderAgent",
        "summary": "Get a Data Loader agent",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "agentId",
            "schema": {
              "type": "number"
            },
            "description": "Agent ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderAgent"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderAgentInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editDataLoaderAgent",
        "summary": "Edit a Data Loader agent",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "agentId",
            "schema": {
              "type": "number"
            },
            "description": "Agent ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderAgent"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/agents/pairing-code": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderPairingCode"
              }
            }
          },
          "required": true
        },
        "operationId": "createDataLoaderPairingCode",
        "summary": "Create a one-use Data Loader agent pairing code",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderPairingCode"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/connections": {
      "get": {
        "operationId": "getDataLoaderConnections",
        "summary": "List Data Loader connections",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderConnections"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderConnectionInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createDataLoaderConnection",
        "summary": "Create a Data Loader connection",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderConnection"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/connections/{connectionId}": {
      "delete": {
        "operationId": "deleteDataLoaderConnection",
        "summary": "Delete a Data Loader connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "connectionId",
            "schema": {
              "type": "number"
            },
            "description": "Connection ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDataLoaderConnection",
        "summary": "Get a Data Loader connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "connectionId",
            "schema": {
              "type": "number"
            },
            "description": "Connection ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderConnection"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderConnectionInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateDataLoaderConnection",
        "summary": "Update a Data Loader connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "connectionId",
            "schema": {
              "type": "number"
            },
            "description": "Connection ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderConnection"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/connections/{connectionId}/envelopes": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderEnvelopeInput"
              }
            }
          },
          "required": true
        },
        "operationId": "queueDataLoaderEnvelope",
        "summary": "Queue a sealed credential envelope for a Data Loader connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "connectionId",
            "schema": {
              "type": "number"
            },
            "description": "Connection ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/folders": {
      "get": {
        "operationId": "getDataLoaderFolders",
        "summary": "List Data Loader watched folders",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderFolders"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderFolderInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createDataLoaderFolder",
        "summary": "Create a Data Loader watched folder",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderFolder"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/folders/{folderId}": {
      "delete": {
        "operationId": "deleteDataLoaderFolder",
        "summary": "Delete a Data Loader watched folder",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "folderId",
            "schema": {
              "type": "number"
            },
            "description": "Folder ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDataLoaderFolder",
        "summary": "Get a Data Loader watched folder",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "folderId",
            "schema": {
              "type": "number"
            },
            "description": "Folder ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderFolder"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderFolderInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateDataLoaderFolder",
        "summary": "Update a Data Loader watched folder",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "folderId",
            "schema": {
              "type": "number"
            },
            "description": "Folder ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderFolder"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/legacy-import": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderLegacyImportInput"
              }
            }
          },
          "required": true
        },
        "operationId": "importLegacyDataLoader",
        "summary": "Import a legacy Data Loader sidecar mapping file as a draft source — credentials are rejected, never stored",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderLegacyImportResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/runs/{runId}": {
      "get": {
        "operationId": "getDataLoaderRun",
        "summary": "Get a Data Loader run",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "runId",
            "schema": {
              "type": "number"
            },
            "description": "Run ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderRun"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/runs/{runId}/parse": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderRunAccepted"
              }
            }
          },
          "required": true
        },
        "operationId": "previewDataLoaderSource",
        "summary": "Queue a Data Loader preview",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          },
          {
            "required": true,
            "in": "path",
            "name": "runId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDataLoaderRunParse",
        "summary": "Get a completed Data Loader parse inventory",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "runId",
            "schema": {
              "type": "number"
            },
            "description": "Pipeline run ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderParseResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/runs/{runId}/preview": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderRunAccepted"
              }
            }
          },
          "required": true
        },
        "operationId": "postDataLoaderRunsByRunIdPreview",
        "summary": "Queue a Data Loader preview",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          },
          {
            "required": true,
            "in": "path",
            "name": "runId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDataLoaderRunPreview",
        "summary": "Get a completed Data Loader preview artifact",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "runId",
            "schema": {
              "type": "number"
            },
            "description": "Pipeline run ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderPreviewResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/runs/{runId}/status": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderRunStatusInput"
              }
            }
          },
          "required": true
        },
        "operationId": "completeDataLoaderRun",
        "summary": "Persist a terminal Data Loader pipeline callback",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "runId",
            "schema": {
              "type": "number"
            },
            "description": "Run ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/schedules": {
      "get": {
        "operationId": "getDataLoaderSchedules",
        "summary": "List Data Loader schedules",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderSchedules"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderScheduleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createDataLoaderSchedule",
        "summary": "Create a Data Loader schedule",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderSchedule"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/schedules/{scheduleId}": {
      "delete": {
        "operationId": "deleteDataLoaderSchedule",
        "summary": "Delete a Data Loader schedule",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scheduleId",
            "schema": {
              "type": "number"
            },
            "description": "Schedule ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDataLoaderSchedule",
        "summary": "Get a Data Loader schedule",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scheduleId",
            "schema": {
              "type": "number"
            },
            "description": "Schedule ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderSchedule"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderScheduleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateDataLoaderSchedule",
        "summary": "Update a Data Loader schedule",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scheduleId",
            "schema": {
              "type": "number"
            },
            "description": "Schedule ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderSchedule"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/sources": {
      "get": {
        "operationId": "getDataLoaderSources",
        "summary": "List Data Loader sources",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderSources"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderSourceInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createDataLoaderSource",
        "summary": "Create a Data Loader source",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderSource"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/sources/{sourceId}": {
      "delete": {
        "operationId": "deleteDataLoaderSource",
        "summary": "Delete a Data Loader source",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDataLoaderSource",
        "summary": "Get a Data Loader source",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderSource"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderSourceInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateDataLoaderSource",
        "summary": "Update a Data Loader source",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderSource"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/sources/{sourceId}/mappings": {
      "get": {
        "operationId": "getDataLoaderMappings",
        "summary": "List Data Loader mapping versions",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          },
          {
            "required": false,
            "in": "query",
            "name": "version",
            "schema": {
              "type": "number"
            },
            "description": "Optional mapping version"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderMappings"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderMappingInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createDataLoaderMapping",
        "summary": "Create a Data Loader mapping version",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderMapping"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/sources/{sourceId}/parse": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderParseAccepted"
              }
            }
          },
          "required": true
        },
        "operationId": "parseDataLoaderSource",
        "summary": "Queue a Data Loader parse",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/sources/{sourceId}/preview": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderRunAccepted"
              }
            }
          },
          "required": true
        },
        "operationId": "postDataLoaderSourcesBySourceIdPreview",
        "summary": "Queue a Data Loader preview",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/sources/{sourceId}/run-now": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataLoaderRunAccepted"
              }
            }
          },
          "required": true
        },
        "operationId": "runDataLoaderSourceNow",
        "summary": "Queue a Data Loader import",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/dataLoader/sources/{sourceId}/runs": {
      "get": {
        "operationId": "getDataLoaderSourceRuns",
        "summary": "List Data Loader runs for a source",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "sourceId",
            "schema": {
              "type": "number"
            },
            "description": "Source ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiDistrictId",
            "schema": {
              "type": "number"
            },
            "description": "Tenant ID (injected)"
          },
          {
            "required": true,
            "in": "query",
            "name": "apiUserId",
            "schema": {
              "type": "number"
            },
            "description": "User ID (injected)"
          },
          {
            "required": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "type": "number"
            },
            "description": "Optional maximum rows"
          }
        ],
        "tags": [
          "DataLoader"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataLoaderRuns"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/defaultFieldLabels": {
      "get": {
        "operationId": "listDefaultFields",
        "summary": "List default field labels",
        "parameters": [],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefaultFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/defaultSeries": {
      "get": {
        "operationId": "listDefaultSerieses",
        "summary": "List default series",
        "parameters": [],
        "tags": [
          "Default Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefaultSerieses"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DefaultSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createDefaultSeries",
        "summary": "Create default series",
        "parameters": [],
        "tags": [
          "Default Series"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/defaultSeries/{defaultSeriesId}": {
      "delete": {
        "operationId": "deleteDefaultSeries",
        "summary": "Delete default series type",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "defaultSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Default Series ID"
          }
        ],
        "tags": [
          "Default Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDefaultSeries",
        "summary": "Get default series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "defaultSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Default Series ID"
          }
        ],
        "tags": [
          "Default Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefaultSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DefaultSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editDefaultSeries",
        "summary": "Edit default series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "defaultSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Default Series ID"
          }
        ],
        "tags": [
          "Default Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/delete": {
      "post": {
        "operationId": "emptyRecycleBin",
        "summary": "Empty recycle bin",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "undelete",
            "schema": {
              "type": "boolean"
            },
            "description": "Undelete elemetns"
          }
        ],
        "tags": [
          "Utilities"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/delete/{object}/{objectId}": {
      "delete": {
        "operationId": "hardDeleteElement",
        "summary": "Hard delete element",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          }
        ],
        "tags": [
          "Utilities"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/detailLayouts": {
      "get": {
        "operationId": "listDetailLayout",
        "summary": "Get detail layout",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": true,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          }
        ],
        "tags": [
          "Detail Pages"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DetailLayout"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DetailLayoutInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editDetailLayout",
        "summary": "Edit detail layout",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": true,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          }
        ],
        "tags": [
          "Detail Pages"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "operationId": "getPrintDetailLayout",
        "summary": "Get print detail layout",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element Type"
          },
          {
            "required": true,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string",
              "enum": [
                "pdf",
                "xls"
              ]
            },
            "description": "Output format"
          },
          {
            "required": false,
            "in": "query",
            "name": "pageSize",
            "schema": {
              "type": "string"
            },
            "description": "Page size"
          },
          {
            "required": false,
            "in": "query",
            "name": "orientation",
            "schema": {
              "type": "string",
              "enum": [
                "portrait",
                "landscape"
              ]
            },
            "description": "Page orientation"
          },
          {
            "required": false,
            "in": "query",
            "name": "excelType",
            "schema": {
              "type": "string"
            },
            "description": "Excel output options"
          }
        ],
        "tags": [
          "Detail Pages"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DetailLayout"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/districtExpertise": {
      "get": {
        "operationId": "getDistrictExpertise",
        "summary": "List enabled expertise categories with assigned user IDs",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DetailLayout"
              }
            }
          },
          "required": true
        },
        "operationId": "createDetailLayout",
        "summary": "Update assigned users for an expertise category",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/documentConnections": {
      "get": {
        "operationId": "listDocumentConnections",
        "summary": "List document connections",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "scope",
            "schema": {
              "type": "string"
            },
            "description": "Filter by scope: org, personal"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentConnections"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "postDocumentConnections",
        "summary": "Create a document connection",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/documentConnections/{documentConnectionId}": {
      "delete": {
        "operationId": "deleteDocumentConnectionsByDocumentConnectionId",
        "summary": "Delete a document connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "documentConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDocumentConnection",
        "summary": "Get document connection detail",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "documentConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentConnection"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/edit": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Changes"
              }
            }
          },
          "required": true
        },
        "operationId": "postChanges",
        "summary": "Bulk edit elements",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/elements/payloads": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ElementPayloadsInput"
              }
            }
          },
          "required": true
        },
        "operationId": "listElementPayloads",
        "summary": "List card payloads for multiple elements",
        "parameters": [],
        "tags": [
          "Elements"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementPayloads"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/email/digest": {
      "get": {
        "operationId": "getDigestQueueStatus",
        "summary": "Get count of queued digest messages",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "debug",
            "schema": {
              "type": "boolean"
            },
            "description": ""
          }
        ],
        "tags": [
          "Email"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ElementPayloads"
              }
            }
          },
          "required": true
        },
        "operationId": "deliverDigestEmails",
        "summary": "Process and send all queued digest emails",
        "parameters": [],
        "tags": [
          "Email"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/embeds": {
      "get": {
        "operationId": "listEmbeds",
        "summary": "List embedded charts",
        "parameters": [],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Charts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/entitlements": {
      "get": {
        "operationId": "getEntitlements",
        "summary": "Get account entitlements",
        "parameters": [],
        "tags": [
          "Account"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Entitlements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/export": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExportInput"
              }
            }
          },
          "required": true
        },
        "operationId": "exportData",
        "summary": "ClearPoint Document Export",
        "parameters": [],
        "tags": [
          "Exports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/external/{object}/{externalApplication}/{externalObject}/{externalObjectId}": {
      "get": {
        "operationId": "listLinkedElements",
        "summary": "List linked elements",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "ClearPoint element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "externalApplication",
            "schema": {
              "type": "string"
            },
            "description": "External application ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "externalObject",
            "schema": {
              "type": "string"
            },
            "description": "External element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "externalObjectId",
            "schema": {
              "type": "string"
            },
            "description": "External application element ID"
          }
        ],
        "tags": [
          "REST Hooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkedElements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/favorites": {
      "get": {
        "operationId": "checkFavorite",
        "summary": "Check favorite",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "layoutId",
            "schema": {
              "type": "number"
            },
            "description": "Layout ID"
          }
        ],
        "tags": [
          "Favorites"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Favorites"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FavoriteInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createFavoriteInput",
        "summary": "Toggle favorite",
        "parameters": [],
        "tags": [
          "Favorites"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Favorites"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/fields": {
      "get": {
        "operationId": "listFields",
        "summary": "List fields",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Fields and Element Names"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Fields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/fields/{object}": {
      "get": {
        "operationId": "getFieldsByObject",
        "summary": "Get fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Optional scorecard ID"
          }
        ],
        "tags": [
          "Fields and Element Names"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Fields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/fields/{object}/{objectId}": {
      "get": {
        "operationId": "getElementFields",
        "summary": "Get element",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Reporting Period ID"
          }
        ],
        "tags": [
          "Elements"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/fields/{object}/{objectId}/{fieldId}": {
      "get": {
        "operationId": "getFieldHistory",
        "summary": "Get field history",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "fieldId",
            "schema": {
              "type": "number"
            },
            "description": "Field ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Optional Reporting Period ID"
          }
        ],
        "tags": [
          "Field History"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FieldHistory"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/fields/bulk": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FieldHistory"
              }
            }
          },
          "required": true
        },
        "operationId": "getBulkElementFields",
        "summary": "Get fields for multiple elements in a single request",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Element Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/files": {
      "get": {
        "operationId": "listFiles",
        "summary": "List files",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "start",
            "schema": {
              "type": "number"
            },
            "description": "Start index"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "number"
            },
            "description": "Number to return"
          },
          {
            "required": false,
            "in": "query",
            "name": "search",
            "schema": {
              "type": "string"
            },
            "description": "Filter by Keyword"
          },
          {
            "required": false,
            "in": "query",
            "name": "presign",
            "schema": {
              "type": "boolean"
            },
            "description": ""
          }
        ],
        "tags": [
          "Files"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Files"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FileInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createFile",
        "summary": "Create file",
        "parameters": [],
        "tags": [
          "Files"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/files/{fileId}": {
      "delete": {
        "operationId": "deleteFile",
        "summary": "Delete file",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "fileId",
            "schema": {
              "type": "number"
            },
            "description": "File ID"
          }
        ],
        "tags": [
          "Files"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getFile",
        "summary": "Get file",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "fileId",
            "schema": {
              "type": "number"
            },
            "description": "File ID"
          }
        ],
        "tags": [
          "Files"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/filterFields": {
      "get": {
        "operationId": "listFilterFields",
        "summary": "List filter fields",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID (requires object)"
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type (requires scorecard ID)"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilterFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/fiscalYears": {
      "get": {
        "operationId": "listFiscalYears",
        "summary": "List fiscal years",
        "parameters": [],
        "tags": [
          "Fiscal Years"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiscalYears"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FiscalYearInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createFiscalYear",
        "summary": "Create fiscal year",
        "parameters": [],
        "tags": [
          "Fiscal Years"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/fiscalYears/{fiscalYearId}": {
      "delete": {
        "operationId": "deleteFiscalYear",
        "summary": "Delete fiscal year",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "fiscalYearId",
            "schema": {
              "type": "number"
            },
            "description": "Fiscal year ID"
          }
        ],
        "tags": [
          "Fiscal Years"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getFiscalYear",
        "summary": "Get fiscal year",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "fiscalYearId",
            "schema": {
              "type": "number"
            },
            "description": "Fiscal year ID"
          }
        ],
        "tags": [
          "Fiscal Years"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FiscalYear"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FiscalYearInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editFiscalYear",
        "summary": "Edit fiscal year",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "fiscalYearId",
            "schema": {
              "type": "number"
            },
            "description": "Fscal year ID"
          }
        ],
        "tags": [
          "Fiscal Years"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/goals": {
      "get": {
        "operationId": "listGoals",
        "summary": "List goals",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Goals"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Goals"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GoalInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createGoal",
        "summary": "Create goal",
        "parameters": [],
        "tags": [
          "Goals"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/goals/{goalId}": {
      "delete": {
        "operationId": "deleteGoal",
        "summary": "Delete goal",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          }
        ],
        "tags": [
          "Goals"
        ],
        "responses": {
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          },
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          }
        }
      },
      "get": {
        "operationId": "getGoal",
        "summary": "Get goal",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          }
        ],
        "tags": [
          "Goals"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Goal"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GoalInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editGoal",
        "summary": "Edit goal",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          }
        ],
        "tags": [
          "Goals"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/goals/{goalId}/customFields": {
      "get": {
        "operationId": "listGoalCustomFields",
        "summary": "Get goal custom fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Goals"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/goals/{goalId}/keyResults": {
      "get": {
        "operationId": "listKeyResults",
        "summary": "List key results",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          }
        ],
        "tags": [
          "Key Results"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyResults"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyResultInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createKeyResult",
        "summary": "Create key result",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          }
        ],
        "tags": [
          "Key Results"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/goals/{goalId}/links": {
      "get": {
        "operationId": "listGoalLinks",
        "summary": "Get goal links",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          }
        ],
        "tags": [
          "Goals"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Links"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/gridColumns": {
      "get": {
        "operationId": "listGridColumns",
        "summary": "Get summary report columns",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          }
        ],
        "tags": [
          "Summary Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridColumns"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/gridLayouts": {
      "get": {
        "operationId": "listGridLayouts",
        "summary": "List summary reports",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Summary Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridLayouts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LayoutInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createSummaryReport",
        "summary": "Create summary report",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "duplicate",
            "schema": {
              "type": "number"
            },
            "description": "Summary report ID to duplicate"
          }
        ],
        "tags": [
          "Summary Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/gridLayouts/{gridLayoutId}": {
      "delete": {
        "operationId": "deleteGridLayout",
        "summary": "Delete summary report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "gridLayoutId",
            "schema": {
              "type": "number"
            },
            "description": "Grid layout ID"
          }
        ],
        "tags": [
          "Summary Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getGridLayout",
        "summary": "Get summary report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "gridLayoutId",
            "schema": {
              "type": "number"
            },
            "description": "Grid layout ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Reporting Period ID"
          }
        ],
        "tags": [
          "Summary Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/_layout"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LayoutInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editGridLayout",
        "summary": "Edit summary report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "gridLayoutId",
            "schema": {
              "type": "number"
            },
            "description": "Grid layout ID"
          }
        ],
        "tags": [
          "Summary Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/gridLayouts/{gridLayoutId}/elements": {
      "get": {
        "operationId": "getGridLayoutElements",
        "summary": "Get summary report elements",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "gridLayoutId",
            "schema": {
              "type": "number"
            },
            "description": "Grid layout ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Reporting Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "number"
            },
            "description": "The starting page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "rowCount",
            "schema": {
              "type": "number"
            },
            "description": "Number of rows to return"
          },
          {
            "required": false,
            "in": "query",
            "name": "composed",
            "schema": {
              "type": "boolean"
            },
            "description": "Compose return array"
          },
          {
            "required": false,
            "in": "query",
            "name": "start",
            "schema": {
              "type": "number"
            },
            "description": "First row to render"
          },
          {
            "required": false,
            "in": "query",
            "name": "end",
            "schema": {
              "type": "number"
            },
            "description": "Last row to render"
          }
        ],
        "tags": [
          "Summary Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridLayoutElements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/gridLayouts/{gridLayoutId}/filter": {
      "get": {
        "operationId": "filterGridElements",
        "summary": "Get matching elements",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "gridLayoutId",
            "schema": {
              "type": "number"
            },
            "description": "Grid layout ID"
          }
        ],
        "tags": [
          "Summary Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/_layout"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/groups": {
      "get": {
        "operationId": "listGroups",
        "summary": "List groups",
        "parameters": [],
        "tags": [
          "User Groups"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Groups"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GroupInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createGroup",
        "summary": "Create group",
        "parameters": [],
        "tags": [
          "User Groups"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/groups/{groupId}": {
      "delete": {
        "operationId": "deleteGroup",
        "summary": "Delete group",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "groupId",
            "schema": {
              "type": "number"
            },
            "description": "User group ID"
          }
        ],
        "tags": [
          "User Groups"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getGroup",
        "summary": "Get group",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "groupId",
            "schema": {
              "type": "number"
            },
            "description": "User group ID"
          }
        ],
        "tags": [
          "User Groups"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Group"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GroupInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editGroup",
        "summary": "Edit group",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "groupId",
            "schema": {
              "type": "number"
            },
            "description": "User group ID"
          }
        ],
        "tags": [
          "User Groups"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/images": {
      "get": {
        "operationId": "listImages",
        "summary": "List images",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "start",
            "schema": {
              "type": "integer"
            },
            "description": "Start index"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Number to return"
          },
          {
            "required": false,
            "in": "query",
            "name": "search",
            "schema": {
              "type": "string"
            },
            "description": "Filter by keyword"
          },
          {
            "required": false,
            "in": "query",
            "name": "presign",
            "schema": {
              "type": "boolean"
            },
            "description": ""
          }
        ],
        "tags": [
          "Images"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Images"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImageInput"
              }
            }
          },
          "required": true
        },
        "operationId": "uploadImage",
        "summary": "Upload image",
        "parameters": [],
        "tags": [
          "Images"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/images/{imageId}": {
      "delete": {
        "operationId": "deleteImage",
        "summary": "Delete image",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "imageId",
            "schema": {
              "type": "number"
            },
            "description": "Image ID"
          }
        ],
        "tags": [
          "Images"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives": {
      "get": {
        "operationId": "listInitiatives",
        "summary": "List initiatives",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InitiativeInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createInitiative",
        "summary": "Create initiative",
        "parameters": [],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}": {
      "delete": {
        "operationId": "deleteInitiative",
        "summary": "Delete initiative",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getInitiative",
        "summary": "Get initiative",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Element"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InitiativeInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editInitiative",
        "summary": "Edit initiative",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/charts": {
      "get": {
        "operationId": "listChartsByInitiative",
        "summary": "List charts",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Charts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChartInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createInitiativeChart",
        "summary": "Create chart",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/customFields": {
      "get": {
        "operationId": "listInitiativeCustomFields",
        "summary": "Get initiative custom fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/fields": {
      "get": {
        "operationId": "getInitiativeFields",
        "summary": "Get initiative fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Initiative Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/ganttData": {
      "get": {
        "operationId": "getInitiativeGanttData",
        "summary": "Get initiative Gantt",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InitiativeGantt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/links": {
      "get": {
        "operationId": "listInitiativeLinks",
        "summary": "Get initiative links",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Links"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/milestones": {
      "get": {
        "operationId": "listMilestones",
        "summary": "List milestones",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MilestoneInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createMilestone",
        "summary": "Create milestone",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/referenceSeries": {
      "get": {
        "operationId": "listInitiativeReferenceSeries",
        "summary": "Get initiative reference series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferenceSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/resources": {
      "get": {
        "operationId": "listInitiativeAssignments",
        "summary": "Get initiative resource assignments",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceAssignments"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceAssignments"
              }
            }
          },
          "required": true
        },
        "operationId": "setInitiativeAssignments",
        "summary": "Set initiative resource assignments",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/seriesData": {
      "get": {
        "operationId": "getInitiativeSeriesData",
        "summary": "Get series data with period data for specified periods",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodList",
            "schema": {
              "type": "string"
            },
            "description": "Comma-delimited period IDs"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeriesData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/status": {
      "get": {
        "operationId": "getInitiativeStatus",
        "summary": "Get initiative status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Initiative Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStatus"
              }
            }
          },
          "required": true
        },
        "operationId": "updateInitiativeStatus",
        "summary": "Update initiative status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Initiative Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/insights/accountAudit": {
      "get": {
        "operationId": "getInsightAccountAudit",
        "summary": "Return deterministic account audit insight facts for a reporting period.",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Reporting period ID."
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Optional scorecard ID filter."
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Optional element type filter."
          },
          {
            "required": false,
            "in": "query",
            "name": "includeCompleted",
            "schema": {
              "type": "boolean"
            },
            "description": "Include completed elements."
          },
          {
            "required": false,
            "in": "query",
            "name": "includeHiddenCompleted",
            "schema": {
              "type": "boolean"
            },
            "description": "Include hidden completed elements."
          },
          {
            "required": false,
            "in": "query",
            "name": "includeChangeFacts",
            "schema": {
              "type": "boolean"
            },
            "description": "Include recent edit and update facts."
          },
          {
            "required": false,
            "in": "query",
            "name": "changeLookbackDays",
            "schema": {
              "type": "number"
            },
            "description": "Number of days of changes to include."
          },
          {
            "required": false,
            "in": "query",
            "name": "staleAfterDays",
            "schema": {
              "type": "number"
            },
            "description": "Number of days after which an update is stale."
          },
          {
            "required": false,
            "in": "query",
            "name": "varianceThreshold",
            "schema": {
              "type": "number"
            },
            "description": "Variance threshold for variance checks."
          },
          {
            "required": false,
            "in": "query",
            "name": "issueLimit",
            "schema": {
              "type": "number"
            },
            "description": "Maximum issue rows to return."
          },
          {
            "required": false,
            "in": "query",
            "name": "changeFactLimit",
            "schema": {
              "type": "number"
            },
            "description": "Maximum change fact rows to return."
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardLimit",
            "schema": {
              "type": "number"
            },
            "description": "Maximum scorecard summary rows to return."
          },
          {
            "required": false,
            "in": "query",
            "name": "ownerLimit",
            "schema": {
              "type": "number"
            },
            "description": "Maximum owner summary rows to return."
          },
          {
            "required": false,
            "in": "query",
            "name": "includeGlobalEdits",
            "schema": {
              "type": "boolean"
            },
            "description": "Include global edits that are not tied to a period."
          }
        ],
        "tags": [
          "Insights"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Audit"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/insights/briefing": {
      "get": {
        "operationId": "getInsightBriefing",
        "summary": "Return deterministic briefing insight facts for the current user.",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "persona",
            "schema": {
              "type": "string",
              "enum": [
                "executive",
                "administrator",
                "contributor"
              ]
            },
            "description": "Briefing persona."
          },
          {
            "required": false,
            "in": "query",
            "name": "activityLimit",
            "schema": {
              "type": "number"
            },
            "description": "Maximum log entries to inspect."
          },
          {
            "required": false,
            "in": "query",
            "name": "signalLimit",
            "schema": {
              "type": "number"
            },
            "description": "Maximum signal rows to return."
          }
        ],
        "tags": [
          "Insights"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BriefingInsight"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/insights/strategicHealth": {
      "get": {
        "operationId": "getInsightStrategicHealth",
        "summary": "Return deterministic strategic health facts for a reporting period.",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Reporting period ID."
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardLimit",
            "schema": {
              "type": "number"
            },
            "description": "Maximum scorecards to inspect."
          },
          {
            "required": false,
            "in": "query",
            "name": "elementLimit",
            "schema": {
              "type": "number"
            },
            "description": "Maximum featured elements to return."
          },
          {
            "required": false,
            "in": "query",
            "name": "signalLimit",
            "schema": {
              "type": "number"
            },
            "description": "Maximum signals per bucket."
          }
        ],
        "tags": [
          "Insights"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StrategicHealthInsight"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/integrationConnections": {
      "get": {
        "operationId": "listStrategicHealthInsight",
        "summary": "List integration connections",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "toolkit",
            "schema": {
              "type": "string"
            },
            "description": "Filter by Composio toolkit slug"
          },
          {
            "required": false,
            "in": "query",
            "name": "scope",
            "schema": {
              "type": "string"
            },
            "description": "Filter by scope: org, personal"
          },
          {
            "required": false,
            "in": "query",
            "name": "status",
            "schema": {
              "type": "string"
            },
            "description": "Filter by status: active, expired, revoked"
          },
          {
            "required": false,
            "in": "query",
            "name": "all",
            "schema": {
              "type": "boolean"
            },
            "description": "Admins only: return all connections in the account, including other users' personal connections"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StrategicHealthInsight"
              }
            }
          },
          "required": true
        },
        "operationId": "createStrategicHealthInsight",
        "summary": "Create an integration connection",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/integrationConnections/{integrationConnectionId}": {
      "delete": {
        "operationId": "deleteStrategicHealthInsight",
        "summary": "Disconnect an integration connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "integrationConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getStrategicHealthInsight",
        "summary": "Get integration connection detail",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "integrationConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StrategicHealthInsight"
              }
            }
          },
          "required": true
        },
        "operationId": "editStrategicHealthInsight",
        "summary": "Update an integration connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "integrationConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/jobs": {
      "get": {
        "operationId": "listJobs",
        "summary": "List async jobs for the district (okfExport, parse, ...). Optional 'status' and 'type' filters. The input/output blobs are omitted from the list; fetch a single job for those.",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "status",
            "schema": {
              "type": "string"
            },
            "description": "Optional status filter (queued|running|complete|failed)"
          },
          {
            "required": false,
            "in": "query",
            "name": "type",
            "schema": {
              "type": "string"
            },
            "description": "Optional jobType filter"
          }
        ],
        "tags": [
          "Jobs"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/jobs/{jobId}": {
      "get": {
        "operationId": "getJob",
        "summary": "Get a job (status, progress, output). When the artifact is ready, a presigned downloadUrl is included.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "jobId",
            "schema": {
              "type": "number"
            },
            "description": "Job ID"
          }
        ],
        "tags": [
          "Jobs"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/kbSync/{documentConnectionId}/complete": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StrategicHealthInsight"
              }
            }
          },
          "required": true
        },
        "operationId": "postKbSyncByDocumentConnectionIdComplete",
        "summary": "Complete a sync run for a document connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "documentConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/kbSync/{documentConnectionId}/documents": {
      "get": {
        "operationId": "getKbSyncByDocumentConnectionIdDocuments",
        "summary": "List synced documents for a connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "documentConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StrategicHealthInsight"
              }
            }
          },
          "required": true
        },
        "operationId": "postKbSyncByDocumentConnectionIdDocuments",
        "summary": "Ingest a new synced document",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "documentConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/kbSync/{documentConnectionId}/documents/{contextDocumentId}": {
      "delete": {
        "operationId": "deleteKbSyncByDocumentConnectionIdDocumentsByContextDocumentId",
        "summary": "Soft-delete a synced document",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "documentConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          },
          {
            "required": true,
            "in": "path",
            "name": "contextDocumentId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StrategicHealthInsight"
              }
            }
          },
          "required": true
        },
        "operationId": "putKbSyncByDocumentConnectionIdDocumentsByContextDocumentId",
        "summary": "Update a synced document's content or source metadata",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "documentConnectionId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          },
          {
            "required": true,
            "in": "path",
            "name": "contextDocumentId",
            "schema": {
              "type": "integer"
            },
            "description": ""
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/kbSync/claim": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StrategicHealthInsight"
              }
            }
          },
          "required": true
        },
        "operationId": "postKbSyncClaim",
        "summary": "Claim document connections due for sync",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/keyResults/{keyResultId}": {
      "delete": {
        "operationId": "deleteKeyResult",
        "summary": "Delete key result",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "keyResultId",
            "schema": {
              "type": "number"
            },
            "description": "Key Result ID"
          }
        ],
        "tags": [
          "Key Results"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getKeyResult",
        "summary": "Get key result",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "keyResultId",
            "schema": {
              "type": "number"
            },
            "description": "Key Result ID"
          }
        ],
        "tags": [
          "Key Results"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyResultInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editKeyResult",
        "summary": "Edit key result",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "keyResultId",
            "schema": {
              "type": "number"
            },
            "description": "Key Result ID"
          }
        ],
        "tags": [
          "Key Results"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/labels": {
      "get": {
        "operationId": "listLabels",
        "summary": "List labels",
        "parameters": [],
        "tags": [
          "Fields and Element Names"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Labels"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/layouts/{object}/reports/{layoutId}": {
      "get": {
        "operationId": "getLayoutElements",
        "summary": "Get layout elements",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          },
          {
            "required": true,
            "in": "path",
            "name": "layoutId",
            "schema": {
              "type": "number"
            },
            "description": "Layout ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Reporting Period ID"
          }
        ],
        "tags": [
          "Scorecard Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LayoutElements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/linkedGoals/{object}/{objectId}": {
      "get": {
        "operationId": "listLinkedGoals",
        "summary": "Get goals linked to an element",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          }
        ],
        "tags": [
          "Goals"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Goals"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/locales": {
      "get": {
        "operationId": "listLocales",
        "summary": "List locales",
        "parameters": [],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Locales"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/locales/{localeId}": {
      "get": {
        "operationId": "getMessages",
        "summary": "Get locale language",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "localeId",
            "schema": {
              "type": "string"
            },
            "description": "Locale ID"
          }
        ],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Messages"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/logFiles": {
      "get": {
        "operationId": "listLogFiles",
        "summary": "List log entries",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "presign",
            "schema": {
              "type": "boolean"
            },
            "description": ""
          }
        ],
        "tags": [
          "Utilities"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogFiles"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/logFiles/{logFileId}": {
      "get": {
        "operationId": "getLogFile",
        "summary": "Get log file",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "logFileId",
            "schema": {
              "type": "number"
            },
            "description": "Log file ID"
          }
        ],
        "tags": [
          "Utilities"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogFile"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/logFiles/aggregate": {
      "get": {
        "operationId": "listLogFileAggregate",
        "summary": "Aggregate log entry counts by week, user, and object type",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "lookbackDays",
            "schema": {
              "type": "number"
            },
            "description": "Days of history to aggregate (clamped 7-365)"
          }
        ],
        "tags": [
          "Utilities"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogFileAggregate"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/logout": {
      "post": {
        "operationId": "logout",
        "summary": "Logout",
        "parameters": [],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mail": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MessageInput"
              }
            }
          },
          "required": true
        },
        "operationId": "postMail",
        "summary": "Send email",
        "parameters": [],
        "tags": [
          "Utilities"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/managementReports": {
      "get": {
        "operationId": "listManagementReports",
        "summary": "List generated management reports",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "start",
            "schema": {
              "type": "integer"
            },
            "description": "Start index"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Number to return"
          },
          {
            "required": false,
            "in": "query",
            "name": "filterUserId",
            "schema": {
              "type": "integer"
            },
            "description": "Limit results to specific user ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "reportType",
            "schema": {
              "type": "string"
            },
            "description": "Filter by report type"
          },
          {
            "required": false,
            "in": "query",
            "name": "search",
            "schema": {
              "type": "string"
            },
            "description": "Filter by keyword"
          },
          {
            "required": false,
            "in": "query",
            "name": "presign",
            "schema": {
              "type": "boolean"
            },
            "description": ""
          }
        ],
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementReports"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ManagementReportInput"
              }
            }
          },
          "required": true
        },
        "operationId": "generateManagementReport",
        "summary": "Generate a management report",
        "parameters": [],
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/managementReports/{reportId}": {
      "delete": {
        "operationId": "deleteManagementReport",
        "summary": "Delete a generated management report and its file",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reportId",
            "schema": {
              "type": "number"
            },
            "description": "Management report ID"
          }
        ],
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/maps": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MapInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createMap",
        "summary": "Create map",
        "parameters": [],
        "tags": [
          "Maps"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/maps/{mapId}": {
      "delete": {
        "operationId": "deleteMap",
        "summary": "Delete map",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "mapId",
            "schema": {
              "type": "number"
            },
            "description": "Map ID"
          }
        ],
        "tags": [
          "Maps"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getMap",
        "summary": "Get map",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "mapId",
            "schema": {
              "type": "number"
            },
            "description": "Map ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Maps"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Map"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MapInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editMap",
        "summary": "Edit map",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "mapId",
            "schema": {
              "type": "number"
            },
            "description": "Map ID"
          }
        ],
        "tags": [
          "Maps"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/masterPeriods": {
      "get": {
        "operationId": "listMasterPeriods",
        "summary": "List master periods",
        "parameters": [],
        "tags": [
          "Master Periods"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MasterPeriods"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MasterPeriodsInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createMasterPeriodsInput",
        "summary": "Update master periods",
        "parameters": [],
        "tags": [
          "Master Periods"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measureSeries/{measureSeriesId}": {
      "delete": {
        "operationId": "deleteMeasureSeries",
        "summary": "Delete measure series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getMeasureSeries",
        "summary": "Get measure series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editMeasureSeries",
        "summary": "Edit measure series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measureSeries/{measureSeriesId}/map": {
      "get": {
        "operationId": "getMeasureSeriesMap",
        "summary": "Get series calculation map",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesMapInput"
              }
            }
          },
          "required": true
        },
        "operationId": "previewMeasureSeriesMap",
        "summary": "Preview series calculation map",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures": {
      "get": {
        "operationId": "listMeasures",
        "summary": "List measures",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Measures"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createMeasure",
        "summary": "Create measure",
        "parameters": [],
        "tags": [
          "Measures"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}": {
      "delete": {
        "operationId": "deleteMeasure",
        "summary": "Delete measure",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measures"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getMeasure",
        "summary": "Get measure",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measures"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Element"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editMeasure",
        "summary": "Edit measure",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measures"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/charts": {
      "get": {
        "operationId": "listChartsByMeasure",
        "summary": "List charts",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Charts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChartInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createChart",
        "summary": "Create chart",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/customFields": {
      "get": {
        "operationId": "listMeasureCustomFields",
        "summary": "Get measure custom fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Measures"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/fields": {
      "get": {
        "operationId": "getMeasureFields",
        "summary": "Get measure fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Measure Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/links": {
      "get": {
        "operationId": "listMeasureLinks",
        "summary": "Get measure links",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measures"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Links"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/measureData": {
      "get": {
        "operationId": "getMeasureData",
        "summary": "Get measure data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Data"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureDataInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateMeasureData",
        "summary": "Update measure data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Data"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/measureGrid": {
      "get": {
        "operationId": "getMeasureGrid",
        "summary": "Get grid measure data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Data"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureGrid"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/measureSeries": {
      "get": {
        "operationId": "listMeasureSeries",
        "summary": "List measure series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureSerieses"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createMeasureSeries",
        "summary": "Create measure series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/periods": {
      "get": {
        "operationId": "listMeasurePeriods",
        "summary": "Get measure periods",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Data"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasurePeriods"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/recalc": {
      "post": {
        "operationId": "recalculateMeasure",
        "summary": "Recalculate measure",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Data"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/referenceSeries": {
      "get": {
        "operationId": "listMeasureReferenceSeries",
        "summary": "Get measure reference series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferenceSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/seriesData": {
      "get": {
        "operationId": "getMeasureSeriesData",
        "summary": "Get series data with period data for specified periods",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodList",
            "schema": {
              "type": "string"
            },
            "description": "Comma-delimited period IDs"
          }
        ],
        "tags": [
          "Measure Data"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeriesData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/status": {
      "get": {
        "operationId": "getMeasureStatus",
        "summary": "Get measure status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Measure Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStatus"
              }
            }
          },
          "required": true
        },
        "operationId": "updateMeasureStatus",
        "summary": "Update measure status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Measure Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/meetingPreps": {
      "get": {
        "operationId": "getMeetingPrep",
        "summary": "Get the cached AI meeting prep brief for a calendar event",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "eventId",
            "schema": {
              "type": "string"
            },
            "description": "Provider calendar event id."
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeetingPrep"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeetingPrepInput"
              }
            }
          },
          "required": true
        },
        "operationId": "saveMeetingPrep",
        "summary": "Save a generated AI meeting prep brief",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeetingPrepReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mentions": {
      "get": {
        "operationId": "getMyMentions",
        "summary": "Get My Mentions",
        "parameters": [],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MyMentions"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mentions/{mentionId}": {
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMentionRead"
              }
            }
          },
          "required": true
        },
        "operationId": "updateMention",
        "summary": "Toggle mention status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "mentionId",
            "schema": {
              "type": "number"
            },
            "description": "Mention ID"
          }
        ],
        "tags": [
          "Comments and Mentions"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/menus": {
      "get": {
        "operationId": "listMenus",
        "summary": "List menus",
        "parameters": [],
        "tags": [
          "Fields and Element Names"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Menus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/menus/{menuId}": {
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MenuInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editMenu",
        "summary": "Edit menu",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "menuId",
            "schema": {
              "type": "number"
            },
            "description": "Menu ID"
          }
        ],
        "tags": [
          "Fields and Element Names"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}": {
      "delete": {
        "operationId": "deleteMilestoneAlt",
        "summary": "Delete milestone",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getMilestoneDirect",
        "summary": "Get milestone",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Element"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MilestoneInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editMilestoneAlt",
        "summary": "Edit milestone",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/charts": {
      "get": {
        "operationId": "listChartsByMilestone",
        "summary": "List charts",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Charts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChartInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createMilestoneChart",
        "summary": "Create chart",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/customFields": {
      "get": {
        "operationId": "getMilestoneCustomFields",
        "summary": "Get milestone custom fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/fields": {
      "get": {
        "operationId": "getMilestoneFields",
        "summary": "Get milestone fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Milestone Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/links": {
      "get": {
        "operationId": "listMilestoneLinks",
        "summary": "Get milestone links",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Links"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/referenceSeries": {
      "get": {
        "operationId": "listMilestoneReferenceSeries",
        "summary": "Get milestone reference series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferenceSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/resources": {
      "get": {
        "operationId": "listMilestoneAssignments",
        "summary": "Get milestone resource assignments",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceAssignments"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceAssignments"
              }
            }
          },
          "required": true
        },
        "operationId": "setMilestoneAssignments",
        "summary": "Set milestone resource assignments",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/seriesData": {
      "get": {
        "operationId": "getMilestoneSeriesData",
        "summary": "Get series data with period data for specified periods",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodList",
            "schema": {
              "type": "string"
            },
            "description": "Comma-delimited period IDs"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeriesData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/status": {
      "get": {
        "operationId": "getMilestoneStatusByInitiative",
        "summary": "Get milestone status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Milestone Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ElementStatus"
              }
            }
          },
          "required": true
        },
        "operationId": "updateMilestoneStatusByInitiative",
        "summary": "Update milestone status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Milestone Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/notifications": {
      "get": {
        "operationId": "getMyNotifications",
        "summary": "List notifications",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "userId",
            "schema": {
              "type": "string"
            },
            "description": "Get My Notifications"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "number"
            },
            "description": "Notification Count"
          }
        ],
        "tags": [
          "Notifications"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MyNotifications"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createNotification",
        "summary": "Create notification",
        "parameters": [],
        "tags": [
          "Notifications"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/notifications/{notificationId}": {
      "delete": {
        "operationId": "deleteNotification",
        "summary": "Delete notification",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "notificationId",
            "schema": {
              "type": "number"
            },
            "description": "Notification ID"
          }
        ],
        "tags": [
          "Notifications"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getNotification",
        "summary": "Get notification",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "notificationId",
            "schema": {
              "type": "number"
            },
            "description": "Notification ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          }
        ],
        "tags": [
          "Notifications"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notification"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editNotification",
        "summary": "Edit notification",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "notificationId",
            "schema": {
              "type": "number"
            },
            "description": "Notification ID"
          }
        ],
        "tags": [
          "Notifications"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/notifications/admin": {
      "get": {
        "operationId": "listAdminNotifications",
        "summary": "List notifications",
        "parameters": [],
        "tags": [
          "Notifications"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notifications"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/numberFormats": {
      "get": {
        "operationId": "listCustomNumberFormats",
        "summary": "List number formats",
        "parameters": [],
        "tags": [
          "Number Formats"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomNumberFormats"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomNumberFormatInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createNumberFormat",
        "summary": "Create number format",
        "parameters": [],
        "tags": [
          "Number Formats"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/numberFormats/{numberFormatId}": {
      "delete": {
        "operationId": "deleteNumberFormat",
        "summary": "Delete number format",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "numberFormatId",
            "schema": {
              "type": "number"
            },
            "description": "API Key ID"
          }
        ],
        "tags": [
          "Number Formats"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getCustomNumberFormat",
        "summary": "Get number format",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "numberFormatId",
            "schema": {
              "type": "number"
            },
            "description": "Number format ID"
          }
        ],
        "tags": [
          "Number Formats"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomNumberFormat"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomNumberFormatInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editNumberFormat",
        "summary": "Edit number format",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "numberFormatId",
            "schema": {
              "type": "number"
            },
            "description": "Number Format ID"
          }
        ],
        "tags": [
          "Number Formats"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/objectives": {
      "get": {
        "operationId": "listObjectives",
        "summary": "List objectives",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Objectives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ObjectiveInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createObjective",
        "summary": "Create objective",
        "parameters": [],
        "tags": [
          "Objectives"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/objectives/{objectiveId}": {
      "delete": {
        "operationId": "deleteObjective",
        "summary": "Delete objective",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          }
        ],
        "tags": [
          "Objectives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getObjective",
        "summary": "Get objective",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          }
        ],
        "tags": [
          "Objectives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Element"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ObjectiveInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editObjective",
        "summary": "Edit objective",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          }
        ],
        "tags": [
          "Objectives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/objectives/{objectiveId}/charts": {
      "get": {
        "operationId": "listChartsByObjective",
        "summary": "List charts",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Charts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/objectives/{objectiveId}/customFields": {
      "get": {
        "operationId": "listObjectiveCustomFields",
        "summary": "Get objective custom fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Objectives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/objectives/{objectiveId}/evaluation": {
      "get": {
        "operationId": "listObjectiveEvaluations",
        "summary": "Get objective evaluations",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          }
        ],
        "tags": [
          "Objectives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectiveEvaluation"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/objectives/{objectiveId}/fields": {
      "get": {
        "operationId": "getObjectiveFields",
        "summary": "Get objective fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Objective Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/objectives/{objectiveId}/links": {
      "get": {
        "operationId": "listObjectiveLinks",
        "summary": "Get objective links",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          }
        ],
        "tags": [
          "Objectives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Links"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/objectives/{objectiveId}/referenceSeries": {
      "get": {
        "operationId": "listObjectiveReferenceSeries",
        "summary": "Get objective reference series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          }
        ],
        "tags": [
          "Objectives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferenceSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/objectives/{objectiveId}/status": {
      "get": {
        "operationId": "getObjectiveStatus",
        "summary": "Get objective status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Objective Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStatus"
              }
            }
          },
          "required": true
        },
        "operationId": "updateObjectiveStatus",
        "summary": "Update objective status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "objectiveId",
            "schema": {
              "type": "number"
            },
            "description": "Objective ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Objective Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/okf": {
      "get": {
        "operationId": "emitOkf",
        "summary": "Emit an OKF-Strategy bundle for the district (open format). Optional filters: scorecardId, object, objectId, periodId (valid-time selector).",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Limit to one scorecard"
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Limit to one element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Limit to one element"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "As-of reporting period (omit = current per element)"
          }
        ],
        "tags": [
          "OKF"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/okf/export": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "exportOkf",
        "summary": "Queue a full OKF-Strategy bundle as an async job. Returns 201 with a jobId; poll GET /jobs/{jobId} for status and a presigned downloadUrl (zip). Same optional filters as GET /okf.",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Limit to one scorecard"
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Limit to one element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Limit to one element"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "As-of reporting period (omit = current per element)"
          }
        ],
        "tags": [
          "OKF"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/okf/validate": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "bundle"
                ],
                "properties": {
                  "bundle": {
                    "type": "object",
                    "description": "the OKF-Strategy payload to validate"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "operationId": "validateOkf",
        "summary": "Validate a presented OKF-Strategy bundle: return the plan (per-concept create/update/edit/review/reject + per-reference resolutions). Advisory pre-flight — the write endpoints re-check access; review/reject go to a human.",
        "parameters": [],
        "tags": [
          "OKF"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/okrUpdates": {
      "get": {
        "operationId": "listOkrUpdates",
        "summary": "List OKR updates",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "goalId",
            "schema": {
              "type": "integer"
            },
            "description": "Filter by goalId. Returns goal-level entries plus check-ins of any key result under that goal."
          },
          {
            "required": false,
            "in": "query",
            "name": "keyResultId",
            "schema": {
              "type": "integer"
            },
            "description": "Filter by keyResultId. Returns only KR-level entries for the given key result."
          },
          {
            "required": false,
            "in": "query",
            "name": "employeeId",
            "schema": {
              "type": "integer"
            },
            "description": "Filter by author (createdBy)."
          },
          {
            "required": false,
            "in": "query",
            "name": "since",
            "schema": {
              "type": "string"
            },
            "description": "ISO datetime lower bound on updateDate."
          },
          {
            "required": false,
            "in": "query",
            "name": "until",
            "schema": {
              "type": "string"
            },
            "description": "ISO datetime upper bound on updateDate."
          }
        ],
        "tags": [
          "OKR Updates"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OkrUpdate"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OkrUpdateInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createOkrUpdate",
        "summary": "Create OKR update",
        "parameters": [],
        "tags": [
          "OKR Updates"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/okrUpdates/{updateId}": {
      "delete": {
        "operationId": "deleteOkrUpdate",
        "summary": "Delete OKR update",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "updateId",
            "schema": {
              "type": "number"
            },
            "description": "Update ID"
          }
        ],
        "tags": [
          "OKR Updates"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getOkrUpdate",
        "summary": "Get OKR update",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "updateId",
            "schema": {
              "type": "number"
            },
            "description": "Update ID"
          }
        ],
        "tags": [
          "OKR Updates"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OkrUpdate"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/oneOnOnes": {
      "get": {
        "operationId": "listOneOnOnes",
        "summary": "List 1:1s the requesting user participates in",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "employeeId",
            "schema": {
              "type": "integer"
            },
            "description": "Filter by employee participant."
          },
          {
            "required": false,
            "in": "query",
            "name": "managerId",
            "schema": {
              "type": "integer"
            },
            "description": "Filter by manager participant."
          },
          {
            "required": false,
            "in": "query",
            "name": "status",
            "schema": {
              "type": "integer",
              "enum": [
                1.0,
                2.0,
                3.0
              ]
            },
            "description": "Filter by status code (1=scheduled, 2=completed, 3=cancelled)."
          },
          {
            "required": false,
            "in": "query",
            "name": "since",
            "schema": {
              "type": "string"
            },
            "description": "ISO datetime lower bound on scheduledDate (or created if unscheduled)."
          },
          {
            "required": false,
            "in": "query",
            "name": "until",
            "schema": {
              "type": "string"
            },
            "description": "ISO datetime upper bound on scheduledDate (or created if unscheduled)."
          }
        ],
        "tags": [
          "One-on-Ones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OneOnOne"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OneOnOneInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createOneOnOne",
        "summary": "Create 1:1",
        "parameters": [],
        "tags": [
          "One-on-Ones"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/oneOnOnes/{oneOnOneId}": {
      "delete": {
        "operationId": "deleteOneOnOne",
        "summary": "Delete 1:1",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "oneOnOneId",
            "schema": {
              "type": "number"
            },
            "description": "1:1 ID"
          }
        ],
        "tags": [
          "One-on-Ones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getOneOnOne",
        "summary": "Get 1:1 with embedded topics",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "oneOnOneId",
            "schema": {
              "type": "number"
            },
            "description": "1:1 ID"
          }
        ],
        "tags": [
          "One-on-Ones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OneOnOne"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OneOnOneEditInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editOneOnOne",
        "summary": "Edit 1:1",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "oneOnOneId",
            "schema": {
              "type": "number"
            },
            "description": "1:1 ID"
          }
        ],
        "tags": [
          "One-on-Ones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/oneOnOnes/{oneOnOneId}/topics": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OneOnOneTopicInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createOneOnOneTopic",
        "summary": "Add a topic to a 1:1",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "oneOnOneId",
            "schema": {
              "type": "number"
            },
            "description": "1:1 ID"
          }
        ],
        "tags": [
          "One-on-Ones"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/oneOnOnes/{oneOnOneId}/topics/{topicId}": {
      "delete": {
        "operationId": "deleteOneOnOneTopic",
        "summary": "Delete a 1:1 topic",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "oneOnOneId",
            "schema": {
              "type": "number"
            },
            "description": "1:1 ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "topicId",
            "schema": {
              "type": "number"
            },
            "description": "Topic ID"
          }
        ],
        "tags": [
          "One-on-Ones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OneOnOneTopicEditInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editOneOnOneTopic",
        "summary": "Edit a 1:1 topic",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "oneOnOneId",
            "schema": {
              "type": "number"
            },
            "description": "1:1 ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "topicId",
            "schema": {
              "type": "number"
            },
            "description": "Topic ID"
          }
        ],
        "tags": [
          "One-on-Ones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/options": {
      "get": {
        "operationId": "getOptions",
        "summary": "Get account options",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "sparse",
            "schema": {
              "type": "boolean"
            },
            "description": "Return sparse results"
          }
        ],
        "tags": [
          "Setup"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountOptions"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountOptionsInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editOptions",
        "summary": "Update account options",
        "parameters": [],
        "tags": [
          "Setup"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/pageExports": {
      "get": {
        "operationId": "getPageExports",
        "summary": "List exported pages",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "start",
            "schema": {
              "type": "integer"
            },
            "description": "Start index"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Number to return"
          },
          {
            "required": false,
            "in": "query",
            "name": "filterUserId",
            "schema": {
              "type": "integer"
            },
            "description": "Limit results to specific user ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "search",
            "schema": {
              "type": "string"
            },
            "description": "Filter by keyword"
          },
          {
            "required": false,
            "in": "query",
            "name": "presign",
            "schema": {
              "type": "boolean"
            },
            "description": ""
          }
        ],
        "tags": [
          "Exports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageExports"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageExportInput"
              }
            }
          },
          "required": true
        },
        "operationId": "exportPage",
        "summary": "Add or delete exported page",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "delete",
            "schema": {
              "type": "string"
            },
            "description": "Bulk Delete Flag"
          }
        ],
        "tags": [
          "Exports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/pageExports/{pageExportId}": {
      "delete": {
        "operationId": "deletePageExport",
        "summary": "Delete export",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "pageExportId",
            "schema": {
              "type": "number"
            },
            "description": "Page export ID"
          }
        ],
        "tags": [
          "Exports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getPageExport",
        "summary": "Get page export",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "pageExportId",
            "schema": {
              "type": "number"
            },
            "description": "Page export ID"
          }
        ],
        "tags": [
          "Exports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageExport"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageExportInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editPageExport",
        "summary": "Edit page export",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "pageExportId",
            "schema": {
              "type": "number"
            },
            "description": "Page export ID"
          }
        ],
        "tags": [
          "Exports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/peerGroups": {
      "get": {
        "operationId": "listPeerGroups",
        "summary": "List peer groups",
        "parameters": [],
        "tags": [
          "Peer Sharing"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeerGroups"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/peerGroups/{peerGroupId}": {
      "get": {
        "operationId": "getPeerGroup",
        "summary": "Get peer group members",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "peerGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Peer group ID"
          }
        ],
        "tags": [
          "Peer Sharing"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeerGroup"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/peerGroups/{peerGroupId}/measures": {
      "get": {
        "operationId": "listPeerGroupMeasures",
        "summary": "List peer group measures",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "peerGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Peer group ID"
          }
        ],
        "tags": [
          "Peer Sharing"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeerGroupMeasures"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/peerGroups/{peerGroupId}/measures/{measureId}": {
      "get": {
        "operationId": "getPeerGroupMeasure",
        "summary": "Get peer measure",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "peerGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Peer group ID "
          },
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Peer Sharing"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeerGroupMeasure"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PeerGroupMeasureInput"
              }
            }
          },
          "required": true
        },
        "operationId": "addPeerGroupMeasure",
        "summary": "Add peer measure",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "peerGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Peer group ID "
          },
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Peer Sharing"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/peerGroups/{peerGroupId}/measures/{measureId}/measureGrid": {
      "get": {
        "operationId": "listPeerGroupMeasureData",
        "summary": "Get peer measure data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "peerGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Peer group ID "
          },
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Peer Sharing"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureGrid"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/peerGroups/{peerGroupId}/measures/{measureId}/measureSeries": {
      "get": {
        "operationId": "listPeerGroupMeasureSeries",
        "summary": "Get peer measure series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "peerGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Peer group ID "
          },
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Peer Sharing"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeerMeasureSerieses"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/peerGroups/{peerGroupId}/measures/{measureId}/preview": {
      "get": {
        "operationId": "getPeerGroupMeasurePreview",
        "summary": "Get peer measure preview",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "peerGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Peer group ID "
          },
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          }
        ],
        "tags": [
          "Peer Sharing"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeerPreview"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/periodGroups": {
      "get": {
        "operationId": "listPeriodGroups",
        "summary": "List reporting frequencies",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "export",
            "schema": {
              "type": "boolean"
            },
            "description": "Export period groups to XLSX"
          }
        ],
        "tags": [
          "Reporting Frequencies"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeriodGroups"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PeriodGroupInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createPeriodGroup",
        "summary": "Create reporting frequency",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "import",
            "schema": {
              "type": "boolean"
            },
            "description": "Import period groups from XLSX"
          }
        ],
        "tags": [
          "Reporting Frequencies"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/periodGroups/{periodGroupId}": {
      "delete": {
        "operationId": "deletePeriodGroup",
        "summary": "Delete reporting frequency",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "periodGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Period group ID"
          }
        ],
        "tags": [
          "Reporting Frequencies"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getPeriodGroup",
        "summary": "Get reporting frequency",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "periodGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Period group ID"
          }
        ],
        "tags": [
          "Reporting Frequencies"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeriodGroup"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PeriodGroupInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editPeriodGroup",
        "summary": "Edit reporting frequency",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "periodGroupId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Reporting Frequencies"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/periods": {
      "get": {
        "operationId": "listPeriods",
        "summary": "List periods",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Reporting Periods"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Periods"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PeriodInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createPeriod",
        "summary": "Create period",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "import",
            "schema": {
              "type": "boolean"
            },
            "description": "Import periods from XLSX"
          }
        ],
        "tags": [
          "Reporting Periods"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/periods/{periodId}": {
      "delete": {
        "operationId": "deletePeriod",
        "summary": "Delete period",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Reporting Periods"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getPeriod",
        "summary": "Get period",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Reporting Periods"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Period"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PeriodInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editPeriod",
        "summary": "Edit period",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Reporting Periods"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/playbooks": {
      "get": {
        "operationId": "listPlaybooks",
        "summary": "List playbooks. Use ?package=true to get the exported playbook package.",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Playbooks"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaybookInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createPlaybook",
        "summary": "Create playbook.",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Playbook"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/playbooks/{playbookKey}": {
      "delete": {
        "operationId": "deletePlaybook",
        "summary": "Delete playbook by key",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "playbookKey",
            "schema": {
              "type": "string"
            },
            "description": "Playbook Key"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getPlaybook",
        "summary": "Get playbook",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "playbookKey",
            "schema": {
              "type": "string"
            },
            "description": "Playbook Key"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Playbook"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Playbook"
              }
            }
          },
          "required": true
        },
        "operationId": "editPlaybook",
        "summary": "Edit playbook by key",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "playbookKey",
            "schema": {
              "type": "string"
            },
            "description": "Playbook Key"
          }
        ],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/playbooks/categories": {
      "get": {
        "operationId": "listPlaybookCategories",
        "summary": "List playbook categories",
        "parameters": [],
        "tags": [
          "Playbooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaybookCategories"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaybookCategoriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "savePlaybookCategories",
        "summary": "Save all playbook categories",
        "parameters": [],
        "tags": [
          "Playbooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/podStyles": {
      "get": {
        "operationId": "listPodStyles",
        "summary": "List pod styles",
        "parameters": [],
        "tags": [
          "Pod Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PodStyles"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PodStyleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createPodStyle",
        "summary": "Create pod style",
        "parameters": [],
        "tags": [
          "Pod Styles"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/podStyles/{podStyleId}": {
      "delete": {
        "operationId": "deletePodStyle",
        "summary": "Delete pod style",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "podStyleId",
            "schema": {
              "type": "number"
            },
            "description": "Pod style ID"
          }
        ],
        "tags": [
          "Pod Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getPodStyle",
        "summary": "Get pod style",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "podStyleId",
            "schema": {
              "type": "number"
            },
            "description": "Pod style ID"
          }
        ],
        "tags": [
          "Pod Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PodStyle"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PodStyleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editPodStyle",
        "summary": "Edit pod style",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "podStyleId",
            "schema": {
              "type": "number"
            },
            "description": "Pod style ID"
          }
        ],
        "tags": [
          "Pod Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PodStyle"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/pods": {
      "get": {
        "operationId": "listPods",
        "summary": "List detail page pods",
        "parameters": [],
        "tags": [
          "Detail Pages"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Columns"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/profile": {
      "get": {
        "operationId": "getProfile",
        "summary": "Get My Profile",
        "parameters": [],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/profile/memories": {
      "get": {
        "operationId": "listProfileMemories",
        "summary": "List profile memories",
        "parameters": [],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/User"
              }
            }
          },
          "required": true
        },
        "operationId": "createProfileMemory",
        "summary": "Create profile memory",
        "parameters": [],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/profile/memories/{profileMemoryId}": {
      "delete": {
        "operationId": "deleteProfileMemory",
        "summary": "Delete profile memory",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "profileMemoryId",
            "schema": {
              "type": "number"
            },
            "description": "Profile Memory ID"
          }
        ],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getProfileMemory",
        "summary": "Get profile memory",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "profileMemoryId",
            "schema": {
              "type": "number"
            },
            "description": "Profile Memory ID"
          }
        ],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/User"
              }
            }
          },
          "required": true
        },
        "operationId": "editProfileMemory",
        "summary": "Edit profile memory",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "profileMemoryId",
            "schema": {
              "type": "number"
            },
            "description": "Profile Memory ID"
          }
        ],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/pulseChecks": {
      "get": {
        "operationId": "listPulseChecks",
        "summary": "List pulse checks",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "employeeId",
            "schema": {
              "type": "integer"
            },
            "description": "Filter by employee. Defaults to the requesting user."
          },
          {
            "required": false,
            "in": "query",
            "name": "from",
            "schema": {
              "type": "string"
            },
            "description": "ISO datetime lower bound on pulseDate."
          },
          {
            "required": false,
            "in": "query",
            "name": "to",
            "schema": {
              "type": "string"
            },
            "description": "ISO datetime upper bound on pulseDate."
          }
        ],
        "tags": [
          "Pulse Checks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PulseCheck"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PulseCheckInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createPulseCheck",
        "summary": "Create pulse check",
        "parameters": [],
        "tags": [
          "Pulse Checks"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/pulseChecks/{pulseCheckId}": {
      "delete": {
        "operationId": "deletePulseCheck",
        "summary": "Delete pulse check",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "pulseCheckId",
            "schema": {
              "type": "number"
            },
            "description": "Pulse check ID"
          }
        ],
        "tags": [
          "Pulse Checks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getPulseCheck",
        "summary": "Get pulse check",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "pulseCheckId",
            "schema": {
              "type": "number"
            },
            "description": "Pulse check ID"
          }
        ],
        "tags": [
          "Pulse Checks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PulseCheck"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/pulseQuestions": {
      "get": {
        "operationId": "listPulseQuestions",
        "summary": "List pulse questions for the requesting district",
        "parameters": [],
        "tags": [
          "Pulse Questions"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PulseQuestion"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PulseQuestionsInput"
              }
            }
          },
          "required": true
        },
        "operationId": "replacePulseQuestions",
        "summary": "Bulk replace the pulse-question set for the requesting district",
        "parameters": [],
        "tags": [
          "Pulse Questions"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PulseQuestion"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/referenceSeries": {
      "get": {
        "operationId": "listReferenceSeries",
        "summary": "List reference series",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          }
        ],
        "tags": [
          "Fields and Element Names"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferenceSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/reminders": {
      "get": {
        "operationId": "listReminders",
        "summary": "List reminders",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Reminders"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reminders"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReminderInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createReminder",
        "summary": "Create / preview reminder",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "preview",
            "schema": {
              "type": "integer"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Reminders"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/reminders/{reminderId}": {
      "delete": {
        "operationId": "deleteReminder",
        "summary": "Delete reminder",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reminderId",
            "schema": {
              "type": "number"
            },
            "description": "Reminder ID"
          }
        ],
        "tags": [
          "Reminders"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getReminder",
        "summary": "Get / send reminder",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reminderId",
            "schema": {
              "type": "number"
            },
            "description": "Reminder ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "send",
            "schema": {
              "type": "number"
            },
            "description": "Send reminder for period ID"
          }
        ],
        "tags": [
          "Reminders"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reminder"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReminderInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editReminder",
        "summary": "Edit reminder",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reminderId",
            "schema": {
              "type": "number"
            },
            "description": "Reminder ID"
          }
        ],
        "tags": [
          "Reminders"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/reportStyles": {
      "get": {
        "operationId": "listReportStyles",
        "summary": "List report styles",
        "parameters": [],
        "tags": [
          "Report Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportStyles"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportStyleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createReportStyle",
        "summary": "Create report styles",
        "parameters": [],
        "tags": [
          "Report Styles"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/reportStyles/{reportStyleId}": {
      "delete": {
        "operationId": "deleteReportStyle",
        "summary": "Delete report style",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reportStyleId",
            "schema": {
              "type": "number"
            },
            "description": "Report style ID"
          }
        ],
        "tags": [
          "Report Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getReportStyle",
        "summary": "Get report style",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reportStyleId",
            "schema": {
              "type": "number"
            },
            "description": "Report style ID"
          }
        ],
        "tags": [
          "Report Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportStyle"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportStyleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editReportStyle",
        "summary": "Edit report style",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reportStyleId",
            "schema": {
              "type": "number"
            },
            "description": "Report style ID"
          }
        ],
        "tags": [
          "Report Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/reports": {
      "get": {
        "operationId": "listReports",
        "summary": "List reports",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "presign",
            "schema": {
              "type": "boolean"
            },
            "description": ""
          }
        ],
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createReport",
        "summary": "Create report",
        "parameters": [],
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/reports/{reportId}": {
      "delete": {
        "operationId": "deleteReport",
        "summary": "Delete report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reportId",
            "schema": {
              "type": "number"
            },
            "description": "Report ID"
          }
        ],
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getReport",
        "summary": "Get report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reportId",
            "schema": {
              "type": "number"
            },
            "description": "Report ID"
          }
        ],
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Report"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "operationId": "completeReport",
        "summary": "Edit report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reportId",
            "schema": {
              "type": "number"
            },
            "description": "Report ID"
          }
        ],
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editReport",
        "summary": "Edit report",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "reportId",
            "schema": {
              "type": "number"
            },
            "description": "Report ID"
          }
        ],
        "tags": [
          "Reports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/resetPassword": {
      "get": {
        "operationId": "getPasswordRules",
        "summary": "Get password rules",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "token",
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PasswordRules"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPassword"
              }
            }
          },
          "required": true
        },
        "operationId": "resetPassword",
        "summary": "Reset Password",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "token",
            "schema": {
              "type": "string"
            },
            "description": "Token from reset email"
          }
        ],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks": {
      "get": {
        "operationId": "listRisks",
        "summary": "List risks",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createRisk",
        "summary": "Create risk",
        "parameters": [],
        "tags": [
          "Risks"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}": {
      "delete": {
        "operationId": "deleteRisk",
        "summary": "Delete risk",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getRisk",
        "summary": "Get risk",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Element"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editRisk",
        "summary": "Edit risk",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/charts": {
      "get": {
        "operationId": "listChartsByRisk",
        "summary": "List charts",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Charts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChartInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createRiskChart",
        "summary": "Create chart",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Charts"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/customFields": {
      "get": {
        "operationId": "listRiskCustomFields",
        "summary": "Get risk custom fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/fields": {
      "get": {
        "operationId": "getRiskFields",
        "summary": "Get risk fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Risk Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/links": {
      "get": {
        "operationId": "listRiskLinks",
        "summary": "Get risk links",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Links"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/referenceSeries": {
      "get": {
        "operationId": "listRiskReferenceSeries",
        "summary": "Get risk reference series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferenceSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/seriesData": {
      "get": {
        "operationId": "getRiskSeriesData",
        "summary": "Get series data with period data for specified periods",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodList",
            "schema": {
              "type": "string"
            },
            "description": "Comma-delimited period IDs"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeriesData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/status": {
      "get": {
        "operationId": "getRiskStatus",
        "summary": "Get risk status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Risk Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStatus"
              }
            }
          },
          "required": true
        },
        "operationId": "updateRiskStatus",
        "summary": "Update risk status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Element ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Risk Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/schedules": {
      "delete": {
        "operationId": "deleteScheduleAlt",
        "summary": "Delete schedule",
        "parameters": [],
        "tags": [
          "Schedules"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "listSchedules",
        "summary": "List schedules",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Schedules"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Schedules"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createSchedule",
        "summary": "Create schedule",
        "parameters": [],
        "tags": [
          "Schedules"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/schedules/{scheduleId}": {
      "delete": {
        "operationId": "deleteSchedule",
        "summary": "Delete schedule",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scheduleId",
            "schema": {
              "type": "number"
            },
            "description": "API Key ID"
          }
        ],
        "tags": [
          "Schedules"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getSchedule",
        "summary": "Get schedule",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scheduleId",
            "schema": {
              "type": "number"
            },
            "description": "Schedule ID"
          }
        ],
        "tags": [
          "Schedules"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Schedule"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "completeSchedule",
        "summary": "Create schedule",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scheduleId",
            "schema": {
              "type": "number"
            },
            "description": "Schedule ID"
          }
        ],
        "tags": [
          "Schedules"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editSchedule",
        "summary": "Edit schedule",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scheduleId",
            "schema": {
              "type": "number"
            },
            "description": "Auto-assigned schedule ID"
          }
        ],
        "tags": [
          "Schedules"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards": {
      "get": {
        "operationId": "listScorecards",
        "summary": "List scorecards",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "include",
            "schema": {
              "type": "string"
            },
            "description": "Include (all|deleted|menu)"
          },
          {
            "required": false,
            "in": "query",
            "name": "userId",
            "schema": {
              "type": "integer"
            },
            "description": "Limit to user"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "integer"
            },
            "description": "Reporting Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "fields",
            "schema": {
              "type": "string"
            },
            "description": "List of fields"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Scorecards"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScorecardInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createScorecard",
        "summary": "Create scorecard",
        "parameters": [],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}": {
      "delete": {
        "operationId": "deleteScorecard",
        "summary": "Delete scorecard",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getScorecard",
        "summary": "Get scorecard",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Scorecard"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScorecardInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editScorecard",
        "summary": "Edit scorecard",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/actionItems": {
      "get": {
        "operationId": "listScorecardActionItems",
        "summary": "List scorecard action items",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "integer"
            },
            "description": "Reporting Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          },
          {
            "required": false,
            "in": "query",
            "name": "fields",
            "schema": {
              "type": "string"
            },
            "description": "Fields to include in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "includeCalculated",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            },
            "description": "Include calculated values in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectIds",
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated element IDs; when present, only those elements are returned"
          }
        ],
        "tags": [
          "Collections"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/categories": {
      "get": {
        "operationId": "listCategories",
        "summary": "List categories",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Categories"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Categories"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createCategory",
        "summary": "Create category",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Categories"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/charts": {
      "get": {
        "operationId": "listScorecardCharts",
        "summary": "List scorecard charts",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Collections"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardCharts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/customFields": {
      "get": {
        "operationId": "listScorecardCustomFields",
        "summary": "List scorecard custom fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Collections"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/diagrams": {
      "get": {
        "operationId": "listDiagrams",
        "summary": "List diagrams",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Diagrams"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Diagrams"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiagramInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createDiagram",
        "summary": "Create diagram",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Diagrams"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/diagrams/{diagramId}": {
      "delete": {
        "operationId": "deleteDiagram",
        "summary": "Delete diagram",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "diagramId",
            "schema": {
              "type": "number"
            },
            "description": "Diagram ID"
          }
        ],
        "tags": [
          "Diagrams"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getDiagram",
        "summary": "Get diagram",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "diagramId",
            "schema": {
              "type": "number"
            },
            "description": "Diagram ID"
          }
        ],
        "tags": [
          "Diagrams"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Diagram"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiagramInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editDiagram",
        "summary": "Edit diagram",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "diagramId",
            "schema": {
              "type": "number"
            },
            "description": "Diagram ID"
          }
        ],
        "tags": [
          "Diagrams"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/fields": {
      "get": {
        "operationId": "getScorecardFields",
        "summary": "Get scorecard fields",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Scorecard Fields"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementFields"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/initiatives": {
      "get": {
        "operationId": "listScorecardInitiatives",
        "summary": "List scorecard initiatives",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "integer"
            },
            "description": "Reporting Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          },
          {
            "required": false,
            "in": "query",
            "name": "fields",
            "schema": {
              "type": "string"
            },
            "description": "Fields to include in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "includeCalculated",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            },
            "description": "Include calculated values in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectIds",
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated element IDs; when present, only those elements are returned"
          }
        ],
        "tags": [
          "Collections"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/language": {
      "get": {
        "operationId": "listScorecardLanguage",
        "summary": "Get scorecard language",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardLanguages"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/links": {
      "get": {
        "operationId": "listScorecardLinks",
        "summary": "List scorecard element links",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "initiative",
                "objective",
                "measure",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Reporting period ID"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardLinks"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/maps": {
      "get": {
        "operationId": "listScorecardMaps",
        "summary": "List scorecard maps",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Maps"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardMaps"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/measureData/{object}": {
      "get": {
        "operationId": "getScorecardMeasureData",
        "summary": "Get scorecard measure data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodList",
            "schema": {
              "type": "string"
            },
            "description": "List of Periods"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/measureSeries/{object}": {
      "get": {
        "operationId": "getScorecardsByScorecardIdMeasureSeriesByObject",
        "summary": "Get scorecard measure data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodList",
            "schema": {
              "type": "string"
            },
            "description": "List of Periods"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/measures": {
      "get": {
        "operationId": "listScorecardMeasures",
        "summary": "List scorecard measures",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "integer"
            },
            "description": "Reporting Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          },
          {
            "required": false,
            "in": "query",
            "name": "fields",
            "schema": {
              "type": "string"
            },
            "description": "Fields to include in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "includeCalculated",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            },
            "description": "Include calculated values in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectIds",
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated element IDs; when present, only those elements are returned"
          }
        ],
        "tags": [
          "Collections"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/menu": {
      "get": {
        "operationId": "getScorecardMenu",
        "summary": "Get scorecard menu",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardMenus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/milestones": {
      "get": {
        "operationId": "listScorecardMilestones",
        "summary": "List scorecard milestones",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "integer"
            },
            "description": "Reporting Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          },
          {
            "required": false,
            "in": "query",
            "name": "fields",
            "schema": {
              "type": "string"
            },
            "description": "Fields to include in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "includeCalculated",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            },
            "description": "Include calculated values in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectIds",
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated element IDs; when present, only those elements are returned"
          }
        ],
        "tags": [
          "Collections"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/objectives": {
      "get": {
        "operationId": "listScorecardObjectives",
        "summary": "List scorecard objectives",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "integer"
            },
            "description": "Reporting Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          },
          {
            "required": false,
            "in": "query",
            "name": "fields",
            "schema": {
              "type": "string"
            },
            "description": "Fields to include in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "includeCalculated",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            },
            "description": "Include calculated values in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectIds",
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated element IDs; when present, only those elements are returned"
          }
        ],
        "tags": [
          "Collections"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/resources": {
      "get": {
        "operationId": "listScorecardResources",
        "summary": "List scorecard resources",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          },
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "Resources"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Resources"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createResource",
        "summary": "Create scorecard resource",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "Resources"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/resources/{resourceId}": {
      "delete": {
        "operationId": "deleteResource",
        "summary": "Delete resource",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "resourceId",
            "schema": {
              "type": "number"
            },
            "description": "Resource ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Resources"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getResource",
        "summary": "Get resource",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "resourceId",
            "schema": {
              "type": "number"
            },
            "description": "Resource ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Resources"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Resource"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editResource",
        "summary": "Edit resource",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "resourceId",
            "schema": {
              "type": "number"
            },
            "description": "Resource ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Resources"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/resources/{resourceId}/assignments": {
      "get": {
        "operationId": "listResourceAssignments",
        "summary": "List resource assignments",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "resourceId",
            "schema": {
              "type": "number"
            },
            "description": "Resource ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "Resources"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceAssignments"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/risks": {
      "get": {
        "operationId": "listScorecardRisks",
        "summary": "List scorecard risks",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "integer"
            },
            "description": "Reporting Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          },
          {
            "required": false,
            "in": "query",
            "name": "fields",
            "schema": {
              "type": "string"
            },
            "description": "Fields to include in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "includeCalculated",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            },
            "description": "Include calculated values in results"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectIds",
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated element IDs; when present, only those elements are returned"
          }
        ],
        "tags": [
          "Collections"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/status": {
      "get": {
        "operationId": "getScorecardStatus",
        "summary": "Get scorecard status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Scorecard Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScorecardStatusInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateScorecardStatus",
        "summary": "Update scorecard status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Scorecard Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scripts": {
      "get": {
        "operationId": "listScripts",
        "summary": "List scripts",
        "parameters": [],
        "tags": [
          "Scripting"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Scripts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createScript",
        "summary": "Create script",
        "parameters": [],
        "tags": [
          "Scripting"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scripts/{scriptId}": {
      "delete": {
        "operationId": "deleteScript",
        "summary": "Delete script",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scriptId",
            "schema": {
              "type": "number"
            },
            "description": "Script ID"
          }
        ],
        "tags": [
          "Scripting"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getScript",
        "summary": "Get script",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scriptId",
            "schema": {
              "type": "number"
            },
            "description": "Script ID"
          }
        ],
        "tags": [
          "Scripting"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Script"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editScript",
        "summary": "Edit script",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scriptId",
            "schema": {
              "type": "number"
            },
            "description": "Script ID"
          }
        ],
        "tags": [
          "Scripting"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/search": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchInput"
              }
            }
          },
          "required": true
        },
        "operationId": "search",
        "summary": "List matching elements",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "type",
            "schema": {
              "type": "string",
              "enum": [
                "element",
                "external",
                "content",
                "report",
                "tag",
                "user",
                "id"
              ]
            },
            "description": "Limit results to type"
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "integer"
            },
            "description": "Limit results to scorecard ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Limit results to element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "integer"
            },
            "description": "Limit results to period ID"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResults"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/seriesDataTypes": {
      "get": {
        "operationId": "listSeriesDataTypes",
        "summary": "List series data types",
        "parameters": [],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeriesDataTypes"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/seriesDataTypes/{seriesDataTypeId}": {
      "get": {
        "operationId": "getSeriesDataType",
        "summary": "Get series data type",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "seriesDataTypeId",
            "schema": {
              "type": "number"
            },
            "description": "Series data type ID"
          }
        ],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeriesDataType"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/service/briefingWarm": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SeriesDataType"
              }
            }
          },
          "required": true
        },
        "operationId": "createSeriesDataType",
        "summary": "Claim a briefing warm run and list the admins to warm",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/service/mintToken": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SeriesDataType"
              }
            }
          },
          "required": true
        },
        "operationId": "postServiceMintToken",
        "summary": "Mint an act-as-user token + session for a userId",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/service/resolveExternalIdentity": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SeriesDataType"
              }
            }
          },
          "required": true
        },
        "operationId": "postServiceResolveExternalIdentity",
        "summary": "Resolve external identity (team+account) to a ClearPoint user",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/service/resolveExternalTeam": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SeriesDataType"
              }
            }
          },
          "required": true
        },
        "operationId": "postServiceResolveExternalTeam",
        "summary": "Resolve external workspace (team) to the org district whose bot is installed there",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/sortOrder": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SortOrderInput"
              }
            }
          },
          "required": true
        },
        "operationId": "setSortOrder",
        "summary": "Sort elements",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/status": {
      "get": {
        "operationId": "listStatus",
        "summary": "List status",
        "parameters": [],
        "tags": [
          "Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Statuses"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatusInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createStatus",
        "summary": "Create status",
        "parameters": [],
        "tags": [
          "Status"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/status/{statusId}": {
      "delete": {
        "operationId": "deleteStatus",
        "summary": "Delete status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "statusId",
            "schema": {
              "type": "number"
            },
            "description": "API Key ID"
          }
        ],
        "tags": [
          "Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getStatus",
        "summary": "Get status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "statusId",
            "schema": {
              "type": "number"
            },
            "description": "Status ID"
          }
        ],
        "tags": [
          "Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatusInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editStatus",
        "summary": "Edit status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "statusId",
            "schema": {
              "type": "number"
            },
            "description": "Status ID"
          }
        ],
        "tags": [
          "Status"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/subscriptions": {
      "delete": {
        "operationId": "deleteSubscriptionAlt",
        "summary": "Delete subscription",
        "parameters": [],
        "tags": [
          "REST Hooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "listSubscriptions",
        "summary": "List subscriptions",
        "parameters": [],
        "tags": [
          "REST Hooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Subscriptions"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createSubscription",
        "summary": "Create subscription",
        "parameters": [],
        "tags": [
          "REST Hooks"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}": {
      "delete": {
        "operationId": "deleteSubscription",
        "summary": "Delete subscription",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "subscriptionId",
            "schema": {
              "type": "number"
            },
            "description": "Subscription ID"
          }
        ],
        "tags": [
          "REST Hooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/tableStyles": {
      "get": {
        "operationId": "listTableStyles",
        "summary": "List table styles",
        "parameters": [],
        "tags": [
          "Table Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableStyles"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableStyleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createTableStyle",
        "summary": "Create table style",
        "parameters": [],
        "tags": [
          "Table Styles"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/tableStyles/{tableStyleId}": {
      "delete": {
        "operationId": "deleteTableStyle",
        "summary": "Delete table style",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "tableStyleId",
            "schema": {
              "type": "number"
            },
            "description": "Table style ID"
          }
        ],
        "tags": [
          "Table Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getTableStyle",
        "summary": "Get table style",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "tableStyleId",
            "schema": {
              "type": "number"
            },
            "description": "Table style ID"
          }
        ],
        "tags": [
          "Table Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableStyle"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableStyleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editTableStyle",
        "summary": "Edit table style",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "tableStyleId",
            "schema": {
              "type": "number"
            },
            "description": "Table style ID"
          }
        ],
        "tags": [
          "Table Styles"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/tags": {
      "get": {
        "operationId": "listTags",
        "summary": "List tags",
        "parameters": [],
        "tags": [
          "Tags"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tags"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createTag",
        "summary": "Create tag",
        "parameters": [],
        "tags": [
          "Tags"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/tags/{tagId}": {
      "delete": {
        "operationId": "deleteTag",
        "summary": "Delete tag",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "tagId",
            "schema": {
              "type": "number"
            },
            "description": "Tag ID"
          }
        ],
        "tags": [
          "Tags"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getTag",
        "summary": "Get tag",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "tagId",
            "schema": {
              "type": "number"
            },
            "description": "Tag ID"
          }
        ],
        "tags": [
          "Tags"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tag"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editTag",
        "summary": "Edit tag",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "tagId",
            "schema": {
              "type": "number"
            },
            "description": "Tag ID"
          }
        ],
        "tags": [
          "Tags"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/tags/{tagId}/elements": {
      "get": {
        "operationId": "listTagElements",
        "summary": "List tagged elements",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "tagId",
            "schema": {
              "type": "number"
            },
            "description": "Tag ID"
          }
        ],
        "tags": [
          "Tags"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tag"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/templates": {
      "get": {
        "operationId": "listTemplates",
        "summary": "List templates",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string",
              "enum": [
                "pdf",
                "html",
                "dash"
              ]
            },
            "description": "Template format"
          },
          {
            "required": false,
            "in": "query",
            "name": "recent",
            "schema": {
              "type": "boolean"
            },
            "description": "Show recently used templates"
          },
          {
            "required": false,
            "in": "query",
            "name": "all",
            "schema": {
              "type": "boolean"
            },
            "description": "Show template for all users"
          },
          {
            "required": false,
            "in": "query",
            "name": "run",
            "schema": {
              "type": "boolean"
            },
            "description": "Run template"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "integer"
            },
            "description": "Period ID "
          }
        ],
        "tags": [
          "Templates"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Templates"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createTemplate",
        "summary": "Create template",
        "parameters": [],
        "tags": [
          "Templates"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/templates/{templateId}": {
      "delete": {
        "operationId": "deleteTemplate",
        "summary": "Delete template",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "templateId",
            "schema": {
              "type": "number"
            },
            "description": "Template ID"
          }
        ],
        "tags": [
          "Templates"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getTemplate",
        "summary": "Get template",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "templateId",
            "schema": {
              "type": "number"
            },
            "description": "Template ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "recipients",
            "schema": {
              "type": "string"
            },
            "description": "Use default recipients for report"
          }
        ],
        "tags": [
          "Templates"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Template"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editTemplate",
        "summary": "Edit template",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "templateId",
            "schema": {
              "type": "number"
            },
            "description": "Template ID"
          }
        ],
        "tags": [
          "Templates"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/timezone": {
      "get": {
        "operationId": "getTimezone",
        "summary": "Get user timezone",
        "parameters": [],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Timezone"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/timezones": {
      "get": {
        "operationId": "listTimezones",
        "summary": "List timezones",
        "parameters": [],
        "tags": [
          "Defaults"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Timezones"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/update": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Update"
              }
            }
          },
          "required": true
        },
        "operationId": "update",
        "summary": "Bulk edit elements",
        "parameters": [],
        "tags": [
          "Scripting"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/upload": {
      "post": {
        "operationId": "uploadFile",
        "summary": "Upload file",
        "parameters": [],
        "tags": [
          "Files"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/userArchives": {
      "get": {
        "operationId": "listUserArchives",
        "summary": "List archived accounts",
        "parameters": [],
        "tags": [
          "snapshots"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserArchives"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/userExpertise": {
      "get": {
        "operationId": "getUserExpertise",
        "summary": "List expertise categories with assigned users and licensedUserCount",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserArchives"
              }
            }
          },
          "required": true
        },
        "operationId": "editUserArchives",
        "summary": "Replace assigned users for an expertise category",
        "parameters": [],
        "tags": [
          "AI"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/users": {
      "get": {
        "operationId": "listUsers",
        "summary": "List users",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "email",
            "schema": {
              "type": "string"
            },
            "description": "Filter by email address"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          },
          {
            "required": false,
            "in": "query",
            "name": "assignable",
            "schema": {
              "type": "boolean"
            },
            "description": "List assignable users only"
          }
        ],
        "tags": [
          "Users"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createUser",
        "summary": "Create user",
        "parameters": [],
        "tags": [
          "Users"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/users/{userId}": {
      "delete": {
        "operationId": "deleteUser",
        "summary": "Delete user",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          }
        ],
        "tags": [
          "Users"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getUser",
        "summary": "Get user",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          }
        ],
        "tags": [
          "Users"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editUser",
        "summary": "Edit user",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          }
        ],
        "tags": [
          "Users"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/users/{userId}/myFavorites": {
      "get": {
        "operationId": "getMyFavorites",
        "summary": "Get My Favorites",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          }
        ],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MyFavorites"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/users/{userId}/myScorecard": {
      "get": {
        "operationId": "getMyScorecard",
        "summary": "Get My Scorecard",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MyScorecard"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/users/{userId}/myUpdates": {
      "get": {
        "operationId": "getMyUpdates",
        "summary": "Get My Updates",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          }
        ],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MyUpdates"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/users/{userId}/recents": {
      "get": {
        "operationId": "listUserRecentChanges",
        "summary": "Get My Edits",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          }
        ],
        "tags": [
          "My ClearPoint"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Recents"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/validate": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateIPList"
              }
            }
          },
          "required": true
        },
        "operationId": "validateIpList",
        "summary": "Validate IP address",
        "parameters": [],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateIPList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/views/{scorecardId}/{object}": {
      "get": {
        "operationId": "listViews",
        "summary": "List views",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          }
        ],
        "tags": [
          "Views"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Views"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createView",
        "summary": "Create view",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          }
        ],
        "tags": [
          "Views"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/views/{scorecardId}/{object}/{viewId}": {
      "delete": {
        "operationId": "deleteView",
        "summary": "Delete view",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          },
          {
            "required": true,
            "in": "path",
            "name": "viewId",
            "schema": {
              "type": "number"
            },
            "description": "View ID"
          }
        ],
        "tags": [
          "Views"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getView",
        "summary": "Get view",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          },
          {
            "required": true,
            "in": "path",
            "name": "viewId",
            "schema": {
              "type": "number"
            },
            "description": "View ID"
          }
        ],
        "tags": [
          "Views"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/View"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "importExportView",
        "summary": "Import / export view",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          },
          {
            "required": true,
            "in": "path",
            "name": "viewId",
            "schema": {
              "type": "number"
            },
            "description": "View ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Reporting Period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "type",
            "schema": {
              "type": "string",
              "enum": [
                "list",
                "seriesData"
              ]
            },
            "description": "Kind of export to build. Defaults to the view's saved type."
          }
        ],
        "tags": [
          "Views"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editView",
        "summary": "Edit view",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Element Type"
          },
          {
            "required": true,
            "in": "path",
            "name": "viewId",
            "schema": {
              "type": "number"
            },
            "description": "View ID"
          }
        ],
        "tags": [
          "Views"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/webhooks": {
      "get": {
        "operationId": "listWebhooks",
        "summary": "List webhooks",
        "parameters": [],
        "tags": [
          "Webhooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Webhooks"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createWebhook",
        "summary": "Create webhook",
        "parameters": [],
        "tags": [
          "Webhooks"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/webhooks/{webhookId}": {
      "delete": {
        "operationId": "deleteWebhook",
        "summary": "Delete webhook",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "webhookId",
            "schema": {
              "type": "number"
            },
            "description": "API Key ID"
          }
        ],
        "tags": [
          "Webhooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getWebhook",
        "summary": "Get webhook",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "webhookId",
            "schema": {
              "type": "number"
            },
            "description": "Webhook ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number"
          },
          {
            "required": false,
            "in": "query",
            "name": "count",
            "schema": {
              "type": "integer"
            },
            "description": "Count per page"
          },
          {
            "required": false,
            "in": "query",
            "name": "order",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "description": "Sort order [asc|desc]"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEdited",
            "schema": {
              "type": "string"
            },
            "description": "Created or edited after"
          },
          {
            "required": false,
            "in": "query",
            "name": "lastEditedBy",
            "schema": {
              "type": "integer"
            },
            "description": "Created or edited by"
          }
        ],
        "tags": [
          "Webhooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editWebhook",
        "summary": "Edit webhook",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "webhookId",
            "schema": {
              "type": "number"
            },
            "description": "Auto-assigned webhook ID"
          }
        ],
        "tags": [
          "Webhooks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workflowEmails/{workflowEmailId}": {
      "delete": {
        "operationId": "deleteWorkflowEmail",
        "summary": "Delete workflow email",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowEmailId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow email ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getWorkflowEmail",
        "summary": "Get workflow email",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowEmailId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow email ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEmail"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "operationId": "sendWorkflowEmail",
        "summary": "Sends a workflow email",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowEmailId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow email ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowEmailInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editWorkflowEmail",
        "summary": "Edit workflow email",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowEmailId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow email ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workflows": {
      "get": {
        "operationId": "listWorkflows",
        "summary": "List workflows",
        "parameters": [],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workflows"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createWorkflow",
        "summary": "Create workflow",
        "parameters": [],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workflows/{workflowId}": {
      "delete": {
        "operationId": "deleteWorkflow",
        "summary": "Delete workflow",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          }
        ],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getWorkflow",
        "summary": "Get workflow",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          }
        ],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workflow"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowInput"
              }
            }
          },
          "required": true
        },
        "operationId": "completeWorkflow",
        "summary": "Edit task completion",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          }
        ],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editWorkflow",
        "summary": "Edit workflow",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          }
        ],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workflows/{workflowId}/emails": {
      "get": {
        "operationId": "listWorkflowEmails",
        "summary": "List workflow emails",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEmails"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowEmailInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createWorkflowEmail",
        "summary": "Create workflow email",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workflows/{workflowId}/reminder": {
      "post": {
        "operationId": "sendWorkflowReminder",
        "summary": "Send workflow reminder",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          }
        ],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workflows/{workflowId}/status": {
      "get": {
        "operationId": "getWorkflowStatus",
        "summary": "Get workflow status",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          }
        ],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workflows/{workflowId}/update": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWorkflow"
              }
            }
          },
          "required": true
        },
        "operationId": "completeWorkflowTask",
        "summary": "Complete Workflow Task",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          }
        ],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workspaces": {
      "get": {
        "operationId": "listWorkspaces",
        "summary": "List Workspaces",
        "parameters": [],
        "tags": [
          "Workspaces"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workspaces"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkspaceInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createWorkspace",
        "summary": "Create Workspace",
        "parameters": [],
        "tags": [
          "Workspaces"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workspaces/{workspaceId}": {
      "delete": {
        "operationId": "deleteWorkspace",
        "summary": "Delete Workspace",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workspaceId",
            "schema": {
              "type": "number"
            },
            "description": "Workspace ID"
          }
        ],
        "tags": [
          "Workspaces"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getWorkspace",
        "summary": "Get Workspace",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workspaceId",
            "schema": {
              "type": "number"
            },
            "description": "Workspace ID"
          }
        ],
        "tags": [
          "Workspaces"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workspace"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkspaceInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editWorkspace",
        "summary": "Edit Workspace",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workspaceId",
            "schema": {
              "type": "number"
            },
            "description": "Workspace ID"
          }
        ],
        "tags": [
          "Workspaces"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/zapier/app-connections": {
      "get": {
        "operationId": "listZapierAppConnections",
        "summary": "List Zapier app connections for the current user",
        "parameters": [],
        "tags": [
          "Zapier"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZapierAppConnections"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ZapierAppConnectionInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createZapierAppConnection",
        "summary": "Record a Zapier app connection created via White Label Connect",
        "parameters": [],
        "tags": [
          "Zapier"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/zapier/app-connections/{appConnectionId}": {
      "delete": {
        "operationId": "deleteZapierAppConnection",
        "summary": "Revoke a Zapier app connection",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "appConnectionId",
            "schema": {
              "type": "number"
            },
            "description": "Zapier app connection ID"
          }
        ],
        "tags": [
          "Zapier"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/zapier/oauth-tokens": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ZapierOAuthTokens"
              }
            }
          },
          "required": true
        },
        "operationId": "createZapierOAuthTokens",
        "summary": "Mint ClearPoint OAuth tokens for the current user for the Zapier integration",
        "parameters": [],
        "tags": [
          "Zapier"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZapierOAuthTokens"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/measureData": {
      "get": {
        "operationId": "getActionItemData",
        "summary": "Get action item data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureDataInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateActionItemMeasureData",
        "summary": "Update action item data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/measureSeries": {
      "get": {
        "operationId": "listActionItemSeries",
        "summary": "Get action item series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureSerieses"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeries"
              }
            }
          },
          "required": true
        },
        "operationId": "createActionItemSeries",
        "summary": "Create action item series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "action item ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/actionItems/{actionItemId}/measureSeries/{measureSeriesId}": {
      "delete": {
        "operationId": "deleteActionItemSeries",
        "summary": "Delete action item series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editActionItemSeries",
        "summary": "Edit action item series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "actionItemId",
            "schema": {
              "type": "number"
            },
            "description": "Action item ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Action Items"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/activities": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "createReceipt",
        "summary": "Track activity",
        "parameters": []
      }
    },
    "/count": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "postCount",
        "summary": "Count matching elements",
        "parameters": []
      }
    },
    "/districts": {
      "get": {
        "operationId": "listDistricts",
        "summary": "List districts",
        "parameters": [],
        "tags": [
          "Setup"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Districts"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "postDistricts",
        "summary": "Create district",
        "parameters": [],
        "tags": [
          "Setup"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/districts/{districtId}": {
      "delete": {
        "operationId": "deleteDistrict",
        "summary": "Delete District",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "districtId",
            "schema": {
              "type": "number"
            },
            "description": "District ID"
          }
        ],
        "tags": [
          "Setup"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/email/send": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ElementPayloads"
              }
            }
          },
          "required": true
        },
        "operationId": "sendEmail",
        "summary": "Send a plain HTML email (cps-next AI reply delivery)",
        "parameters": [],
        "tags": [
          "Email"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/exports/{target}": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "postExportsByTarget",
        "summary": "Exports data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "target",
            "schema": {
              "type": "string"
            },
            "description": "Export target"
          }
        ],
        "tags": [
          "Exports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/filter": {
      "put": {
        "operationId": "filter",
        "summary": "Filter elements",
        "parameters": [],
        "tags": [
          "Search"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/goals/{goalId}/keyResults/{keyResultId}": {
      "delete": {
        "operationId": "deleteKeyResultAlt",
        "summary": "Delete Key Result (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "keyResultId",
            "schema": {
              "type": "number"
            },
            "description": "Key Result ID"
          }
        ],
        "tags": [
          "Key Results"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getKeyResultAlt",
        "summary": "Get key result (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "keyResultId",
            "schema": {
              "type": "number"
            },
            "description": "Key Result ID"
          }
        ],
        "tags": [
          "Key Results"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyResultInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateKeyResult",
        "summary": "Edit Key Result (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "goalId",
            "schema": {
              "type": "number"
            },
            "description": "Goal ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "keyResultId",
            "schema": {
              "type": "number"
            },
            "description": "Key Result ID"
          }
        ],
        "tags": [
          "Key Results"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/import": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "importData",
        "summary": "Import data",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": ""
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "Imports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/import/{importId}": {
      "get": {
        "operationId": "getImportData",
        "summary": "Import data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "importId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "Imports"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Null"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/measureData": {
      "get": {
        "operationId": "getInitiativeData",
        "summary": "Get initiative data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureDataInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateInitiativeData",
        "summary": "Update initiative data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/measureSeries": {
      "get": {
        "operationId": "listInitiativeMeasureSeries",
        "summary": "Get initiative series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureSerieses"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createInitiativeMeasureSeries",
        "summary": "Create initiative series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/measureSeries/{measureSeriesId}": {
      "delete": {
        "operationId": "deleteInitiativeMeasureSeries",
        "summary": "Delete initiative series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editInitiativeMeasureSeries",
        "summary": "Edit intiative series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/milestones/{milestoneId}": {
      "delete": {
        "operationId": "deleteMilestone",
        "summary": "Delete milestone",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getMilestone",
        "summary": "Get milestone (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Initiatives"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Element"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MilestoneInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editMilestone",
        "summary": "Edit milestone",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/initiatives/{initiativeId}/milestones/{milestoneId}/status": {
      "get": {
        "operationId": "getMilestoneStatusAlt",
        "summary": "Get milestone status (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ElementStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStatus"
              }
            }
          },
          "required": true
        },
        "operationId": "updateMilestoneStatusAlt",
        "summary": "Update milestone status (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Initiative ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Period ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/linkBuilderCheck": {
      "get": {
        "operationId": "getLinkBuilderCheck",
        "summary": "Test-only: udf link-builder output (Next vs Classic)",
        "parameters": []
      }
    },
    "/mcp/add/{object}": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpAddInput"
              }
            }
          },
          "required": true
        },
        "operationId": "mcpAdd",
        "summary": "Add Element: Creates a new ClearPoint element (objective, measure, initiative, milestone, actionItem, risk, or scorecard). Provide the element type in {object} field in the path and element-specific fields in the request body as a JSON object. Most types require `name` and `scorecardId` fields.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "category",
                "measureSeries",
                "chart",
                "milestone",
                "initiative",
                "objective",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/bulkAdd": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpReceipt"
              }
            }
          },
          "required": true
        },
        "operationId": "mcpBulkAdd",
        "summary": "Bulk Add Elements: Creates multiple ClearPoint elements in a single request. Accepts an array of items, each with an 'object' type and element-specific fields. Returns results for each item.",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/bulkEdit": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpReceipt"
              }
            }
          },
          "required": true
        },
        "operationId": "mcpBulkEdit",
        "summary": "Bulk Edit Elements: Edits multiple ClearPoint elements in a single request. Accepts an array of items, each with 'object', 'objectId', and fields to update. Returns results for each item.",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/bulkEditLinks": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpReceipt"
              }
            }
          },
          "required": true
        },
        "operationId": "mcpBulkEditLinks",
        "summary": "Bulk Edit Links: Edits link relationships for multiple elements in a single request. Each item supplies either a full 'links' array or a single add/remove link action. Returns results for each item.",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/delete/{object}/{objectId}": {
      "delete": {
        "operationId": "mcpDelete",
        "summary": "Delete Element: Deletes a ClearPoint element (scorecard, category, objective, measure, measureSeries, chart, initiative, milestone, actionItem, or risk). Provide the element type in {object} field and the element id in {objectId} field in the path.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "category",
                "objective",
                "measure",
                "measureSeries",
                "chart",
                "milestone",
                "initiative",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "string"
            },
            "description": "Required element ID"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/edit/{object}/{objectId}": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpEditInput"
              }
            }
          },
          "required": true
        },
        "operationId": "mcpEdit",
        "summary": "Edit Element: Edits a ClearPoint element (objective, measure, initiative, milestone, actionItem, risk, or scorecard). Edits are not period-specific (they apply to all reporting periods). To update an element for a reporting period, use the mcpUpdateElelemt endpoint. Provide the element type as {object} and the element ID as {objectId} in the path. Provide the element-specific fields to edit in the request body as an object in JSON format.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "category",
                "measureSeries",
                "chart",
                "milestone",
                "initiative",
                "objective",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Required element ID"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/edit/{object}/{objectId}/link": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpEditLink"
              }
            }
          },
          "required": true
        },
        "operationId": "mcpEditLink",
        "summary": "Edit Link: Adds or removes one linkage for an element. Provide the {object} and {objectId} for the element in the path, and the link action in the body.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "category",
                "milestone",
                "initiative",
                "objective",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Required element ID"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/edit/{object}/{objectId}/links": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpEditLinks"
              }
            }
          },
          "required": true
        },
        "operationId": "mcpEditLinks",
        "summary": "Edit Links: Edit the linkages for an element. Provide the {object} and the {objectId} for the element in the path, and the array of links in the body. The existing links will be replaced by the links provided.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "category",
                "milestone",
                "initiative",
                "objective",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Required element ID"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/fetch/{object}/{objectId}": {
      "get": {
        "operationId": "mcpFetch",
        "summary": "Fetch: Fetch a single element and its field values. Provide the {object} and the {objectId} for the element in the path. This will return both default and custom field values for the element's 'edit' (not-period specific) fields.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "user",
                "period",
                "status",
                "customField",
                "scorecard",
                "category",
                "measureSeries",
                "chart",
                "milestone",
                "initiative",
                "objective",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Required element ID"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpFetchResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/fetch/{object}/{objectId}/data": {
      "get": {
        "operationId": "mcpFetchData",
        "summary": "Fetch Series Data: Fetch a single element's series data. Provide the {object} and the {objectId} for the element in the path. This provides the periods, series, and series data for the selected element.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "milestone",
                "initiative",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Required element ID"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpFetchDataResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/fetch/{object}/{objectId}/links": {
      "get": {
        "operationId": "mcpFetchLinks",
        "summary": "Fetch Links: Fetch the IDs of all elements linked to an element. Provide the {object} and the {objectId} for the element in the path.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "category",
                "milestone",
                "initiative",
                "objective",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Required element ID"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpFetchLinksResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/fetch/{object}/{objectId}/status": {
      "get": {
        "operationId": "mcpFetchStatus",
        "summary": "Fetch Status: Fetch a single element's status and its field values. Provide the {object} and the {objectId} for the element in the path. This will return both default and custom field values for the element's 'update' (period specific) fields. By default, it returns for all reporting periods. To limit it to a specific period, add the `?periodId=` query parameter.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "milestone",
                "initiative",
                "objective",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Required element ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Required period ID"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpFetchStatusResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/fetchPage": {
      "get": {
        "operationId": "mcpFetchPage",
        "summary": "Fetch Page: Fetch the text content of a webpage given its URL.",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "url",
            "schema": {
              "type": "string"
            },
            "description": "Required URL of the webpage to fetch"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/fetchScorecard/{scorecardId}": {
      "get": {
        "operationId": "mcpFetchScorecard",
        "summary": "Fetch: Fetch all the elements in a scorecard along with its field values. Provide the {scorecardId} in the path. This will return both default and custom field values for the 'edit' (not-period specific) fields in the scorecard.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Required scorecard ID"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpFetchScorecardResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/fetchScorecard/{scorecardId}/status": {
      "get": {
        "operationId": "mcpFetchScorecardStatus",
        "summary": "Fetch: Fetch all the elements in a scorecard along with its field values. Provide the {scorecardId} in the path and the {periodId} in the query. This will return both default and custom field values for the 'update' (period specific) fields in the scorecard.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Required scorecard ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Required period ID"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpFetchScorecardStatusResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/find": {
      "get": {
        "operationId": "mcpFind",
        "summary": "Find: Find elements by name using a lexical search strategy, optionally filtering by object type or scorecard ID. Used to quickly find elements based on their names. Provide the required `query` field and the the optional `object`, `scorecardId`, and `rowLimit` fields in the query string.",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "query",
            "schema": {
              "type": "string"
            },
            "description": "Required search query"
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Optional element type filter"
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Optional scorecard ID filter"
          },
          {
            "required": false,
            "in": "query",
            "name": "rowLimit",
            "schema": {
              "type": "number"
            },
            "description": "Optional row limit"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpFindResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/list/{object}": {
      "get": {
        "operationId": "mcpList",
        "summary": "List: List elements, optionally filtering by initiative ID (for milestones), scorecard ID (for categories, objectives, measures, measureSeries, initiatives, milestones, action items, or risks), or row limit. Used to quickly list elements based on their element types. Provide the required `object` field in the path, and the optional `scorecardId`, `initiativeId`, and `rowLimit` fields in the query string.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "period",
                "user",
                "tag",
                "status",
                "periodGroup",
                "chartType",
                "customField",
                "scorecard",
                "category",
                "objective",
                "measure",
                "measureSeries",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Optional scorecard ID filter"
          },
          {
            "required": false,
            "in": "query",
            "name": "initiativeId",
            "schema": {
              "type": "number"
            },
            "description": "Optional initiative ID filter"
          },
          {
            "required": false,
            "in": "query",
            "name": "rowLimit",
            "schema": {
              "type": "number"
            },
            "description": "Optional row limit"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpListResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/list/{object}/{scorecardId}/status": {
      "get": {
        "operationId": "mcpListStatus",
        "summary": "List: List element status for a specified period.  To list all elements in a scorecard, use `scorecard` as the object in the path.  Otherwise, use the element type that you want to list for that scorecard (objective, measure, initiative, milestone, action item, or risk).  Provide the required `object` and `scorecardId` fields in the path, and the required `periodId` field in the query string. You can optionally limit the number of results returned using the `rowLimit` query string parameter.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type"
          },
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Required scorecard ID"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Required period ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "rowLimit",
            "schema": {
              "type": "number"
            },
            "description": "Optional row limit"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpListStatusResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/online": {
      "get": {
        "operationId": "mcpOnline",
        "summary": "Online Search: Search the web for information and get back an answer plus supporting documents.",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "query",
            "schema": {
              "type": "string"
            },
            "description": "Required search query"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpOnlineResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/query": {
      "get": {
        "operationId": "mcpQuery",
        "summary": "Research: Takes a natural language question and uses structured tool calls to research and answer it. Uses safe stored procedures instead of SQL generation. Provide the required `question` field. Optional: `model` (LLM model), `fast` (true for single-tool fast mode, false for multi-turn with synthesis).",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "question",
            "schema": {
              "type": "string"
            },
            "description": "Required natural language question"
          },
          {
            "required": false,
            "in": "query",
            "name": "query",
            "schema": {
              "type": "string"
            },
            "description": "Required natural language question"
          },
          {
            "required": false,
            "in": "query",
            "name": "model",
            "schema": {
              "type": "string"
            },
            "description": "Optional LLM model"
          },
          {
            "required": false,
            "in": "query",
            "name": "fast",
            "schema": {
              "type": "boolean"
            },
            "description": "Optional fast mode (default: true). Set to false for multi-turn research with answer synthesis."
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpQueryResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/retrieve": {
      "get": {
        "operationId": "mcpRetrieve",
        "summary": "Search: Search account content using a semantic search strategy, optionally filtering by object type, scorecard ID, or period ID. Used to search for elements based on their names. Provide the required `query` field and the optional `object`, `scorecardId`, `periodId`, and `rowLimit` fields in the query string. To rerank results, provide the optional `rerank=true` parameter in the query string.",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "query",
            "schema": {
              "type": "string"
            },
            "description": "Required search query"
          },
          {
            "required": false,
            "in": "query",
            "name": "rerank",
            "schema": {
              "type": "boolean"
            },
            "description": "Optional rerank flag"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpRetrieveResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/search": {
      "get": {
        "operationId": "mcpSearch",
        "summary": "Search: Search account content using a semantic search strategy, optionally filtering by object type, scorecard ID, or period ID. Used to search for elements based on their names. Provide the required `query` field and the optional `object`, `scorecardId`, `periodId`, and `rowLimit` fields in the query string. To rerank results, provide the optional `rerank=true` parameter in the query string.",
        "parameters": [
          {
            "required": true,
            "in": "query",
            "name": "query",
            "schema": {
              "type": "string"
            },
            "description": "Required search query"
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "objective",
                "measure",
                "initiative",
                "milestone",
                "actionItem",
                "risk"
              ]
            },
            "description": "Optional element type filter"
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Optional scorecard ID filter"
          },
          {
            "required": false,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Optional period ID filter"
          },
          {
            "required": false,
            "in": "query",
            "name": "rowLimit",
            "schema": {
              "type": "number"
            },
            "description": "Optional row limit"
          },
          {
            "required": false,
            "in": "query",
            "name": "rerank",
            "schema": {
              "type": "boolean"
            },
            "description": "Optional rerank flag"
          },
          {
            "required": false,
            "in": "query",
            "name": "detail",
            "schema": {
              "type": "string",
              "enum": [
                "compact",
                "full"
              ]
            },
            "description": "Optional response detail level"
          }
        ],
        "tags": [
          "Search"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpSearchResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/update/{object}/{objectId}": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpUpdateInput"
              }
            }
          },
          "required": true
        },
        "operationId": "mcpUpdate",
        "summary": "Update Element: Updates a ClearPoint element (objective, measure, initiative, milestone, actionItem, risk, or scorecard) for a specific reporting period. To edit an element for all reporting periods, use the mcpEditElement endpoint. Provide the element type as 'object' and the element ID as 'objectId', and the reporting period ID as 'periodId' in the query string. Provide the fields to update in the request body as a JSON object.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "scorecard",
                "category",
                "measureSeries",
                "chart",
                "milestone",
                "initiative",
                "objective",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type to update"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Required ID of element to update"
          },
          {
            "required": true,
            "in": "query",
            "name": "periodId",
            "schema": {
              "type": "number"
            },
            "description": "Required period ID of element to update"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/mcp/update/{object}/{objectId}/data": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpUpdateDataInput"
              }
            }
          },
          "required": true
        },
        "operationId": "mcpUpdateData",
        "summary": "Update Element Data: Updates a ClearPoint element (objective, measure, initiative, milestone, actionItem, risk, or scorecard) series data. Provide the element type as 'object' and the element ID as 'objectId'. Provide the series data to update in the request body as a JSON object.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "object",
            "schema": {
              "type": "string",
              "enum": [
                "milestone",
                "initiative",
                "objective",
                "measure",
                "actionItem",
                "risk"
              ]
            },
            "description": "Required element type to update"
          },
          {
            "required": true,
            "in": "path",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "Required ID of element to update"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpReceipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/measures/{measureId}/measureSeries/{measureSeriesId}": {
      "delete": {
        "operationId": "deleteMeasureSeriesAlt",
        "summary": "Delete measure series (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getMeasureSeriesAlt",
        "summary": "Get measure series (Alt) ",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure Series ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editMeasureSeriesAlt",
        "summary": "Edit measure series (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "measureId",
            "schema": {
              "type": "number"
            },
            "description": "Measure ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Measure Series"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones": {
      "get": {
        "operationId": "listAllMilestones",
        "summary": "List all milestones",
        "parameters": [],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Elements"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/measureData": {
      "get": {
        "operationId": "getMilestoneData",
        "summary": "Get milestone data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureDataInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateMilestoneData",
        "summary": "Update milestone data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/measureSeries": {
      "get": {
        "operationId": "listMilestoneSeries",
        "summary": "Get milestone series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureSerieses"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createMilestoneSeries",
        "summary": "Create milestone series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "milestone ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/milestones/{milestoneId}/measureSeries/{measureSeriesId}": {
      "delete": {
        "operationId": "deleteMilestoneSeries",
        "summary": "Delete milestone series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editMilestoneSeries",
        "summary": "Edit milestone series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "milestoneId",
            "schema": {
              "type": "number"
            },
            "description": "Milestone ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Milestones"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/nextRun": {
      "get": {
        "operationId": "getNextRunSchedules",
        "summary": "Get next schedules",
        "parameters": [],
        "tags": [
          "Schedules"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Schedules"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/parseJobs": {
      "get": {
        "operationId": "listParseJobs",
        "summary": "List parsing jobs (cps-parse document-parsing runs) for the district. Optional 'status' and 'jobType' filters. Large payload/steering/summary blobs are omitted from the list; fetch a single job to get those.",
        "parameters": [
          {
            "required": false,
            "in": "query",
            "name": "status",
            "schema": {
              "type": "string"
            },
            "description": "Optional status filter"
          },
          {
            "required": false,
            "in": "query",
            "name": "jobType",
            "schema": {
              "type": "string"
            },
            "description": "Optional jobType filter (setup|update)"
          }
        ],
        "tags": [
          "Parsing Jobs"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ParseJobs"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ParseJobInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createParseJob",
        "summary": "Create a parse job",
        "parameters": [],
        "tags": [
          "Parsing Jobs"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/parseJobs/{parseJobId}": {
      "delete": {
        "operationId": "deleteParseJob",
        "summary": "Delete a parse job",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "parseJobId",
            "schema": {
              "type": "number"
            },
            "description": "Parsing Job ID"
          }
        ],
        "tags": [
          "Parsing Jobs"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getParseJob",
        "summary": "Get a parse job (full record incl. outputs, steering, summary, metadata, + presigned document/manifest URLs)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "parseJobId",
            "schema": {
              "type": "number"
            },
            "description": "Parsing Job ID"
          }
        ],
        "tags": [
          "Parsing Jobs"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ParseJob"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ParseJobInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editParseJob",
        "summary": "Edit a parse job (advance status, attach outputs/steering/summary/metadata). The cached manifest is managed via GET /parseJobs/{id}/manifest, not here.",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "parseJobId",
            "schema": {
              "type": "number"
            },
            "description": "Parsing Job ID"
          }
        ],
        "tags": [
          "Parsing Jobs"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/parseJobs/{parseJobId}/document": {
      "post": {
        "operationId": "uploadParseJobDocument",
        "summary": "Upload the source document for a parse job and store it in S3 (key recorded on the job).",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "parseJobId",
            "schema": {
              "type": "number"
            },
            "description": "Parsing Job ID"
          }
        ],
        "tags": [
          "Parsing Jobs"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/parseJobs/{parseJobId}/manifest": {
      "get": {
        "operationId": "getParseJobManifest",
        "summary": "Get the lookup manifest cached on a parse job (this run's resolution context). Builds + caches a full snapshot on first call; pass 'refresh=true' to rebuild from the live district. Optional 'scorecardId' / 'object' / 'objectId' scope the response (applied on read against the cached full snapshot).",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "parseJobId",
            "schema": {
              "type": "number"
            },
            "description": "Parsing Job ID"
          },
          {
            "required": false,
            "in": "query",
            "name": "refresh",
            "schema": {
              "type": "boolean"
            },
            "description": "Rebuild + recache the manifest from the live district"
          },
          {
            "required": false,
            "in": "query",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Optional scorecard ID filter"
          },
          {
            "required": false,
            "in": "query",
            "name": "object",
            "schema": {
              "type": "string"
            },
            "description": "Optional single lookup type"
          },
          {
            "required": false,
            "in": "query",
            "name": "objectId",
            "schema": {
              "type": "number"
            },
            "description": "With object=measureSeries, the measureId whose series to return"
          }
        ],
        "tags": [
          "Parsing Jobs"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LookupManifest"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/ping": {
      "get": {
        "operationId": "getPing",
        "summary": "Ping for service alive",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ping"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/preview": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewInput"
              }
            }
          },
          "required": true
        },
        "operationId": "previewCalculation",
        "summary": "List options",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/provision": {
      "get": {
        "operationId": "listNull",
        "summary": "List Accounts",
        "parameters": [],
        "tags": [
          "Setup"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Null"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/provision/{districtId}": {
      "get": {
        "operationId": "getNull",
        "summary": "Get Account",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "districtId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "Setup"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Null"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Null"
              }
            }
          },
          "required": true
        },
        "operationId": "editNull",
        "summary": "Updates ClearPoint provisioning console account",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "districtId",
            "schema": {
              "type": "number"
            },
            "description": ""
          }
        ],
        "tags": [
          "Setup"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Null"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/pusher": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PulseQuestion"
              }
            }
          },
          "required": true
        },
        "operationId": "createPulseQuestion",
        "summary": "Pusher authentication",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/measureData": {
      "get": {
        "operationId": "getRiskData",
        "summary": "Get risk data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureDataInput"
              }
            }
          },
          "required": true
        },
        "operationId": "updateRiskData",
        "summary": "Update risk data",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/measureSeries": {
      "get": {
        "operationId": "listRiskSeries",
        "summary": "Get risk series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeasureSerieses"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createRiskSeries",
        "summary": "Create risk series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "risk ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/risks/{riskId}/measureSeries/{measureSeriesId}": {
      "delete": {
        "operationId": "deleteRiskSeries",
        "summary": "Delete risk series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureSeriesInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editRiskSeries",
        "summary": "Edit risk series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "riskId",
            "schema": {
              "type": "number"
            },
            "description": "Risk ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "measureSeriesId",
            "schema": {
              "type": "number"
            },
            "description": "Measure series ID"
          }
        ],
        "tags": [
          "Risks"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/categories/{categoryId}": {
      "delete": {
        "operationId": "deleteCategoryAlt",
        "summary": "Delete category (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "categoryId",
            "schema": {
              "type": "number"
            },
            "description": "Category ID"
          }
        ],
        "tags": [
          "Categories"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getCategoryAlt",
        "summary": "Get category (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "categoryId",
            "schema": {
              "type": "number"
            },
            "description": "Category ID"
          }
        ],
        "tags": [
          "Categories"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Category"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editCategoryAlt",
        "summary": "Edit category (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "categoryId",
            "schema": {
              "type": "number"
            },
            "description": "Category ID"
          }
        ],
        "tags": [
          "Categories"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/scorecards/{scorecardId}/measureSeries": {
      "get": {
        "operationId": "listScorecardMeasureSeries",
        "summary": "List scorecard series",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "scorecardId",
            "schema": {
              "type": "number"
            },
            "description": "Scorecard ID"
          }
        ],
        "tags": [
          "Scorecards"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardMeasureSeries"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/service/stytchMigrate": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StytchMigration"
              }
            }
          },
          "required": true
        },
        "operationId": "createStytchMigration",
        "summary": "Migrate a district to Stytch, roll it back (break-glass), or read its status",
        "parameters": [],
        "tags": [
          "Setup"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StytchMigration"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/session": {
      "delete": {
        "operationId": "clearSession",
        "summary": "Clears the current user server session cache.",
        "parameters": [],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/any"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "checkSession",
        "summary": "Checks to see if the session is still valid.",
        "parameters": [],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/_authSession"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/_authSession"
              }
            }
          },
          "required": true
        },
        "operationId": "setSession",
        "summary": "Sets or updates the current user session (locale, colors, scorecardId, etc.).",
        "parameters": [],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/_authSession"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/ssoAuth": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/_authentication"
              }
            }
          },
          "required": true
        },
        "operationId": "ssoAuth",
        "summary": "SSO Login",
        "parameters": [],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/_session"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/threads": {
      "get": {
        "operationId": "listThreads",
        "summary": "List Threads",
        "parameters": [],
        "tags": [
          "AI Assistants"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Threads"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/threads/{threadId}": {
      "delete": {
        "operationId": "deleteThread",
        "summary": "Delete Thread",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "threadId",
            "schema": {
              "type": "string"
            },
            "description": "Thread ID"
          }
        ],
        "tags": [
          "AI Assistants"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getThread",
        "summary": "Get Thread",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "threadId",
            "schema": {
              "type": "string"
            },
            "description": "Thread ID"
          }
        ],
        "tags": [
          "AI Assistants"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Thread"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ThreadInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editThread",
        "summary": "Update Thread",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "threadId",
            "schema": {
              "type": "string"
            },
            "description": "Thread ID"
          }
        ],
        "tags": [
          "AI Assistants"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/threads/{threadId}/metadata": {
      "get": {
        "operationId": "getThreadMetadata",
        "summary": "Get Thread Metadata",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "threadId",
            "schema": {
              "type": "string"
            },
            "description": "Thread ID"
          }
        ],
        "tags": [
          "AI Assistants"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/_threadMetadata"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/_threadMetadata"
              }
            }
          },
          "required": true
        },
        "operationId": "editThreadMetadata",
        "summary": "Update Thread Metadata",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "threadId",
            "schema": {
              "type": "string"
            },
            "description": "Thread ID"
          }
        ],
        "tags": [
          "AI Assistants"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/users/{userId}/tfa": {
      "get": {
        "operationId": "getUserTwoFactorCode",
        "summary": "Get 2FA codes",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          }
        ],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserTwoFactor"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "operationId": "getNewTwoFactorCode",
        "summary": "Create new 2FA codes",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "userId",
            "schema": {
              "type": "number"
            },
            "description": "User ID"
          }
        ],
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserTwoFactor"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/widgetStyle": {
      "get": {
        "operationId": "listWidgetStyles",
        "summary": "Get widget styles",
        "parameters": [],
        "tags": [
          "Widgets"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WidgetStyles"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WidgetStyleInput"
              }
            }
          },
          "required": true
        },
        "operationId": "createWidgetStyle",
        "summary": "Upserts widget style",
        "parameters": [],
        "tags": [
          "Widgets"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/widgets": {
      "get": {
        "operationId": "listWidgets",
        "summary": "List widgets",
        "parameters": [],
        "tags": [
          "Widgets"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Widgets"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Receipt"
              }
            }
          },
          "required": true
        },
        "operationId": "createWidget",
        "summary": "Create widget",
        "parameters": [],
        "tags": [
          "Widgets"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/widgets/{widgetId}": {
      "delete": {
        "operationId": "deleteWidget",
        "summary": "Delete widget",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "widgetId",
            "schema": {
              "type": "number"
            },
            "description": "Widget ID"
          }
        ],
        "tags": [
          "Widgets"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getWidget",
        "summary": "Get widget",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "widgetId",
            "schema": {
              "type": "number"
            },
            "description": "Widget ID"
          }
        ],
        "tags": [
          "Widgets"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Widget"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WidgetInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editWidget",
        "summary": "Edit widget",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "widgetId",
            "schema": {
              "type": "number"
            },
            "description": "Widget ID"
          }
        ],
        "tags": [
          "Widgets"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    },
    "/workflows/{workflowId}/emails/{workflowEmailId}": {
      "delete": {
        "operationId": "deleteWorkflowEmailAlt",
        "summary": "Delete workflow email (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "workflowEmailId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow email ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "get": {
        "operationId": "getWorkflowEmailAlt",
        "summary": "Get workflow email (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "workflowEmailId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow email ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEmail"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "post": {
        "operationId": "sendWorkflowEmailAlt",
        "summary": "Sends a workflow email (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "workflowEmailId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow email ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      },
      "put": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowEmailInput"
              }
            }
          },
          "required": true
        },
        "operationId": "editWorkflowEmailAlt",
        "summary": "Edit workflow email (Alt)",
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "workflowId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow ID"
          },
          {
            "required": true,
            "in": "path",
            "name": "workflowEmailId",
            "schema": {
              "type": "number"
            },
            "description": "Workflow email ID"
          }
        ],
        "tags": [
          "Workflow Emails"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Receipt"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "Error"
          }
        }
      }
    }
  }
}
