{
  "openapi": "3.0.1",
  "info": {
    "title": "Popdock API V1",
    "description": "RESTful API for the Popdock business intelligence and data management platform.",
    "termsOfService": "https://www.popdock.com/terms",
    "contact": {
      "name": "eOne Solutions",
      "url": "https://www.popdock.com"
    },
    "license": {
      "name": "Proprietary"
    },
    "version": "1"
  },
  "paths": {
    "/api/v1/favorite/{id}": {
      "get": {
        "tags": [
          "Favorites"
        ],
        "summary": "Gets a single favorite (v2)",
        "description": "Kept for the Excel add-in: the v3 favorite with its Entity populated, which the add-in reads to know which list to query. Published endpoint URLs resolve to their data as on v3: Power BI, SmartConnect and other integrations call them on v2.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The favorite's unique identifier (GUID), or a published endpoint URL slug.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The requested favorite.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FavoriteResponse"
                }
              }
            }
          },
          "400": {
            "description": "The favorite id is missing or invalid."
          },
          "401": {
            "description": "The caller is not authorized to view this favorite."
          },
          "402": {
            "description": "The account has spent its plan's monthly task allowance."
          },
          "404": {
            "description": "No favorite exists with that id."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/odata": {
      "get": {
        "tags": [
          "Query"
        ],
        "summary": "Returns the OData service document listing the account's endpoints as entity sets.",
        "responses": {
          "200": {
            "description": "The OData v4 service document."
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/odata/$metadata": {
      "get": {
        "tags": [
          "Query"
        ],
        "summary": "Returns the OData $metadata document describing each endpoint's entity type and fields.",
        "responses": {
          "200": {
            "description": "The OData v4 EDMX metadata document."
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/odata/{id}": {
      "get": {
        "tags": [
          "Query"
        ],
        "summary": "Runs an endpoint as an OData entity set and returns its data, honoring OData query options.",
        "description": "Supports `$filter`, `$select`, `$top` and `$orderby`, plus entity variables passed as query-string parameters.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The endpoint URL slug (entity set name).",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The endpoint's data in OData JSON format."
          },
          "400": {
            "description": "No endpoint exists with that URL slug."
          },
          "402": {
            "description": "The account has spent its plan's monthly task allowance."
          },
          "403": {
            "description": "The caller does not have access to the endpoint."
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/eOne.Microservice.Shared.Response.ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ChartSettingsModel": {
        "type": "object",
        "properties": {
          "Type": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ValueFieldId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "CategoryFieldId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "SummaryMethod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "MaxCategories": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ShowOthersCategory": {
            "type": "boolean",
            "nullable": true
          },
          "ShowCategoryLabels": {
            "type": "boolean",
            "nullable": true
          },
          "ShowValueLabels": {
            "type": "boolean",
            "nullable": true
          },
          "ShowLegend": {
            "type": "boolean",
            "nullable": true
          },
          "SortBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ColorPaletteId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ColorPalette": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FavoriteColumnResponse": {
        "type": "object",
        "properties": {
          "FavoriteColumnId": {
            "type": "string",
            "description": "The favorite column's unique identifier.",
            "format": "uuid",
            "example": "1d2e3f4a-5b6c-7d8e-9f0a-1b2c3d4e5f6a"
          },
          "Field": {
            "$ref": "#/components/schemas/FavoriteFieldResponse"
          },
          "ColumnNumber": {
            "type": "integer",
            "description": "The column's position in the list, left to right.",
            "format": "int32",
            "example": 1
          },
          "ColumnWidth": {
            "type": "integer",
            "description": "The column's display width in pixels.",
            "format": "int32",
            "nullable": true,
            "example": 120
          },
          "SortNumber": {
            "type": "integer",
            "description": "The column's position in the sort order, lowest first.",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "SortDirection": {
            "type": "integer",
            "description": "Integer code for the sort direction: 0 = Ascending, 1 = Descending.",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "GroupNumber": {
            "type": "integer",
            "description": "The column's position in the grouping order, lowest first.",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "GroupDirection": {
            "type": "integer",
            "description": "Integer code for the grouping direction: 0 = Ascending, 1 = Descending.",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "SummaryMethod": {
            "type": "integer",
            "description": "Integer code for the aggregation applied to the column: 0 = None, 1 = Sum, 2 = Maximum, 3 = Minimum, 4 = Average, 5 = Count, 6 = Group by, 7 = Rank, 8 = Rank no ties, 9 = Median, 10 = Mode, 11 = Standard deviation, 12 = Variance, 13 = Distinct count, 14 = Distinct value, 15 = First, 16 = Last, 17 = Concatenate.",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "ConversionType": {
            "type": "integer",
            "description": "Integer code for the value conversion applied to the column, such as a currency or unit conversion. Null when no conversion is applied.",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "PivotValueNumber": {
            "type": "integer",
            "description": "The column's position among the value fields in a pivot layout.",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "PivotColumnNumber": {
            "type": "integer",
            "description": "The column's position among the column fields in a pivot layout.",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "PivotRowNumber": {
            "type": "integer",
            "description": "The column's position among the row fields in a pivot layout.",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "Links": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "HATEOAS links to related resources for the column.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FavoriteFieldResponse": {
        "type": "object",
        "properties": {
          "EntityFieldId": {
            "type": "string",
            "description": "The entity field's unique identifier.",
            "format": "uuid",
            "example": "0f8fad5b-d9cb-469f-a165-70867728950e"
          },
          "Name": {
            "type": "string",
            "description": "The field's internal name.",
            "nullable": true,
            "example": "OrderTotal"
          },
          "DisplayName": {
            "type": "string",
            "description": "The field's display name shown to the user.",
            "nullable": true,
            "example": "Order Total"
          },
          "Type": {
            "type": "string",
            "description": "The field's data type description.",
            "nullable": true,
            "example": "Currency"
          },
          "DecimalPlaces": {
            "type": "integer",
            "description": "The number of decimal places displayed for the field.",
            "format": "int32",
            "nullable": true,
            "example": 2
          },
          "ListItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SimpleFieldListItem"
            },
            "description": "The predefined list items available for the field, when it is a list field.",
            "nullable": true
          },
          "JsonName": {
            "type": "string",
            "description": "The display name with spaces and quote characters removed, suitable for use as a JSON property name.",
            "nullable": true,
            "readOnly": true,
            "example": "OrderTotal"
          }
        },
        "additionalProperties": false
      },
      "FavoriteResponse": {
        "type": "object",
        "properties": {
          "FavoriteId": {
            "type": "string",
            "description": "The favorite's unique identifier.",
            "format": "uuid",
            "example": "3f2504e0-4f89-41d3-9a0c-0305e82c3301"
          },
          "Name": {
            "type": "string",
            "description": "The favorite's display name.",
            "nullable": true,
            "example": "Open Sales Orders"
          },
          "UserId": {
            "type": "string",
            "description": "Identifier of the user that owns the favorite.",
            "format": "uuid",
            "example": "9b2e1f4a-6c3d-4e58-8a17-2d4f6b8c0e91"
          },
          "Entity": {
            "$ref": "#/components/schemas/SimpleEntityResponse"
          },
          "Connector": {
            "$ref": "#/components/schemas/SimpleConnectorResponse"
          },
          "Currency": {
            "type": "string",
            "description": "Currency code applied to the favorite's monetary values, taken from the requesting user's currency.",
            "nullable": true,
            "example": "USD"
          },
          "CreatedDate": {
            "type": "string",
            "description": "Date the favorite was created.",
            "format": "date-time",
            "nullable": true,
            "example": "2024-03-12"
          },
          "MaxRecords": {
            "type": "integer",
            "description": "Maximum number of records the favorite returns.",
            "format": "int64",
            "nullable": true,
            "example": 500
          },
          "ShowRecordCount": {
            "type": "boolean",
            "description": "Whether the favorite displays a total record count.",
            "nullable": true,
            "example": true
          },
          "Type": {
            "type": "integer",
            "description": "Integer code for the favorite type. No named mapping is defined; null when unspecified.",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "ViewType": {
            "type": "integer",
            "description": "Integer code for how the favorite is displayed: 0 = List, 1 = Chart, 2 = Pivot, 3 = Spreadsheet, 4 = Board, 5 = Calendar, 6 = Text, 7 = Map, 8 = Image, 9 = Card, 11 = Summary, 12 = iFrame, 14 = Singleton, 15 = Shipping, 20 = Search, 22 = Action form, 23 = AI chat, 24 = File preview, 25 = Markdown. Favorites typically use List, Chart or Text.",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "BoardGroupFieldId": {
            "type": "string",
            "description": "Identifier of the field used to group records when the favorite is shown as a board.",
            "format": "uuid",
            "nullable": true,
            "example": "5d8c2a13-7e64-4b29-9f01-3a6c8e2d4b70"
          },
          "ChartSettings": {
            "$ref": "#/components/schemas/ChartSettingsModel"
          },
          "TextSettings": {
            "$ref": "#/components/schemas/TextSettingsModel"
          },
          "Columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FavoriteColumnResponse"
            },
            "description": "The columns displayed by the favorite.",
            "nullable": true
          },
          "Restrictions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FavoriteRestrictionResponse"
            },
            "description": "The filter restrictions applied by the favorite.",
            "nullable": true
          },
          "Variables": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FavoriteVariableResponse"
            },
            "description": "The variable values supplied by the favorite.",
            "nullable": true
          },
          "Sharing": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FavoriteSharingResponse"
            },
            "description": "The users and teams the favorite is shared with.",
            "nullable": true
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FavoriteTagResponse"
            },
            "description": "The tags assigned to the favorite.",
            "nullable": true
          },
          "Links": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "HATEOAS links to related resources, such as the favorite's data endpoint.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FavoriteRestrictionResponse": {
        "type": "object",
        "properties": {
          "FavoriteRestrictionId": {
            "type": "string",
            "description": "The restriction's unique identifier.",
            "format": "uuid",
            "example": "7c1a9d3e-2b46-4f81-90a5-6e3d8c1b4a72"
          },
          "RestrictionNumber": {
            "type": "integer",
            "description": "Ordinal position of the restriction within the favorite's filter.",
            "format": "int32",
            "example": 1
          },
          "SubqueryId": {
            "type": "string",
            "description": "Identifier of the subquery the restriction targets, when filtering on a related list.",
            "format": "uuid",
            "nullable": true,
            "example": "2f9b7c1d-4e83-4a26-9c50-1d6a8e3b2f47"
          },
          "FieldId": {
            "type": "string",
            "description": "Identifier of the field the restriction is applied to.",
            "format": "uuid",
            "nullable": true,
            "example": "4a6c8e2d-5b70-4f19-83a1-9d2c4b6e8a13"
          },
          "Operator": {
            "type": "integer",
            "description": "Integer code for the comparison operator: 0 = Does not equal, 1 = Equals, 2 = Greater than, 3 = Less than, 4 = Greater than or equal to, 5 = Less than or equal to, 6 = Contains, 7 = Starts with, 8 = Ends with, 9 = Does not contain, 10 = Does not start with, 11 = Does not end with, 12 = Between, 13 = Not between, 14 = One of, 15 = Not one of, 22 = Is null, 23 = Is not null.",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "Conjunctive": {
            "type": "integer",
            "description": "Integer code for how this restriction joins the previous one: 0 = None, 1 = And, 2 = Or.",
            "format": "int32",
            "nullable": true,
            "example": 1
          },
          "Values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FavoriteRestrictionValueResponse"
            },
            "description": "The values compared against by the restriction.",
            "nullable": true
          },
          "Links": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "HATEOAS links to related resources.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FavoriteRestrictionValueResponse": {
        "type": "object",
        "properties": {
          "FavoriteRestrictionValueId": {
            "type": "string",
            "description": "The restriction value's unique identifier.",
            "format": "uuid",
            "example": "8e2d4b6a-1c79-4f53-90b8-3a5c7e1d9b46"
          },
          "RestrictionId": {
            "type": "string",
            "description": "The favorite restriction this value belongs to.",
            "format": "uuid",
            "example": "5b7c2e9d-4a18-4f63-b0d2-7e9a1c3f5d80"
          },
          "ValueNumber": {
            "type": "integer",
            "description": "Ordinal position of the value within its restriction (for example, the two ends of a Between).",
            "format": "int32",
            "example": 1
          },
          "ValueType": {
            "type": "integer",
            "description": "Integer code for how the value is supplied: 0 = Constant, 1 = Field, 2 = Calculation, 3 = Date, 4 = Variable, 5 = Parent field, 6 = Fiscal period, 7 = Fiscal year, 8 = Parameter.",
            "format": "int32",
            "example": 0
          },
          "ConstantValue": {
            "type": "string",
            "description": "The literal value to compare against when the value type is Constant; for Fiscal period and Fiscal year, the period or year.",
            "nullable": true,
            "example": "Active"
          },
          "DateValueType": {
            "type": "integer",
            "description": "Integer code for a relative date token when the value type is Date (for example, 0 = Today, 1 = Yesterday, 5 = Start of month, 36 = This month, 42 = This year).",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "FieldId": {
            "type": "string",
            "description": "The field whose value is compared against when the value type is Field.",
            "format": "uuid",
            "nullable": true,
            "example": "1d2f4b9a-8888-4444-aaaa-bbbbccccdddd"
          },
          "VariableId": {
            "type": "string",
            "description": "The entity variable whose value is compared against when the value type is Variable.",
            "format": "uuid",
            "nullable": true,
            "example": "6c1e8a3f-2b74-4d95-a0c6-9e5b7d2f4a18"
          },
          "TimeValueType": {
            "type": "integer",
            "description": "Integer code for a relative time token, used by time-typed values.",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "EmailValueType": {
            "type": "integer",
            "description": "Integer code for an email token (such as the current user's email), used by email-typed values.",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "CustomFilterTypeId": {
            "type": "string",
            "description": "The custom date filter used by the value, when it references one.",
            "format": "uuid",
            "nullable": true,
            "example": "3a9d5f1b-7c26-4e84-b1a3-5d8f2c6e9b47"
          },
          "FieldValue": {
            "$ref": "#/components/schemas/SimpleFieldResponse"
          },
          "Links": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "HATEOAS links to related resources.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FavoriteSharingResponse": {
        "type": "object",
        "properties": {
          "FavoriteSharingId": {
            "type": "string",
            "description": "The sharing entry's unique identifier.",
            "format": "uuid",
            "example": "1d6a8e3b-2f47-4c90-85e2-7b4d9c1a3e68"
          },
          "User": {
            "$ref": "#/components/schemas/SimpleUserResponse"
          },
          "Team": {
            "$ref": "#/components/schemas/SimpleTeamResponse"
          },
          "Links": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "HATEOAS links to related resources.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FavoriteTagResponse": {
        "type": "object",
        "properties": {
          "FavoriteTagId": {
            "type": "string",
            "description": "Unique identifier of the tag assigned to the favorite.",
            "format": "uuid",
            "example": "3a5c7e1d-9b46-4f80-82a1-6e2d4b8c0f95"
          },
          "Tag": {
            "type": "string",
            "description": "The tag's display name.",
            "nullable": true,
            "example": "Monthly"
          },
          "Links": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "HATEOAS links to related resources.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FavoriteVariableResponse": {
        "type": "object",
        "properties": {
          "FavoriteVariableId": {
            "type": "string",
            "description": "The favorite variable's unique identifier.",
            "format": "uuid",
            "example": "6e2d4b8c-0f95-4a31-87d2-5b9c1a3e7d68"
          },
          "Variable": {
            "$ref": "#/components/schemas/SimpleVariableResponse"
          },
          "ValueType": {
            "type": "integer",
            "description": "Integer code for how the variable value is supplied: 0 = Constant, 1 = Field, 2 = Calculation, 3 = Date, 4 = Variable, 5 = Parent field, 6 = Fiscal period, 7 = Fiscal year, 8 = Parameter.",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "ConstantValue": {
            "type": "string",
            "description": "The literal value supplied for the variable. Populated only when the value type is Constant.",
            "nullable": true,
            "example": "1000"
          },
          "DateValue": {
            "type": "integer",
            "description": "Integer code for a relative date token when the value type is Date (for example, 0 = Today, 1 = Yesterday, 5 = Start of month, 36 = This month, 42 = This year).",
            "format": "int32",
            "nullable": true,
            "example": 0
          },
          "Field": {
            "$ref": "#/components/schemas/SimpleFieldResponse"
          }
        },
        "additionalProperties": false
      },
      "SimpleConnectorResponse": {
        "type": "object",
        "properties": {
          "ConnectorId": {
            "type": "string",
            "description": "The connector's unique identifier.",
            "format": "uuid",
            "example": "3f2504e0-4f89-41d3-9a0c-0305e82c3301"
          },
          "Name": {
            "type": "string",
            "description": "The connector's display name.",
            "nullable": true,
            "example": "Salesforce Production"
          },
          "Icon": {
            "type": "string",
            "description": "The connector's icon, when set, for display in clients.",
            "nullable": true,
            "example": "salesforce"
          }
        },
        "additionalProperties": false
      },
      "SimpleEntityResponse": {
        "type": "object",
        "properties": {
          "EntityId": {
            "type": "string",
            "description": "The entity's unique identifier.",
            "format": "uuid",
            "example": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"
          },
          "Name": {
            "type": "string",
            "description": "The entity's name.",
            "nullable": true,
            "example": "Sales Orders"
          },
          "ItemName": {
            "type": "string",
            "description": "The plural label used for the entity's records (for example, \"Orders\").",
            "nullable": true,
            "example": "Orders"
          },
          "ItemSingular": {
            "type": "string",
            "description": "The singular label used for an individual record of the entity (for example, \"Order\").",
            "nullable": true,
            "example": "Order"
          }
        },
        "additionalProperties": false
      },
      "SimpleFieldListItem": {
        "type": "object",
        "properties": {
          "Index": {
            "type": "integer",
            "description": "The zero-based position of this item within the field's list of values.",
            "format": "int64",
            "nullable": true,
            "example": 0
          },
          "Key": {
            "type": "string",
            "description": "The stored value of the list item (the underlying code).",
            "nullable": true,
            "example": "OPEN"
          },
          "Value": {
            "type": "string",
            "description": "The display value shown for the list item.",
            "nullable": true,
            "example": "Open"
          }
        },
        "additionalProperties": false
      },
      "SimpleFieldResponse": {
        "type": "object",
        "properties": {
          "EntityFieldId": {
            "type": "string",
            "description": "The field's unique identifier.",
            "format": "uuid",
            "example": "7d9f8e2a-1c3b-4a6d-8f0e-2b5c7a9d1e3f"
          },
          "Name": {
            "type": "string",
            "description": "The field's name.",
            "nullable": true,
            "example": "OrderStatus"
          },
          "DisplayName": {
            "type": "string",
            "description": "The field's display name shown to users.",
            "nullable": true,
            "example": "Order Status"
          },
          "Type": {
            "type": "string",
            "description": "The field's data type, given as the string form of the underlying field-type code: 1 = String, 2 = Date, 3 = Currency, 4 = Number, 5 = Phone, 6 = List, 7 = Percentage, 8 = Yes/No, 9 = Time, 10 = Quantity, 11 = Email, 12 = Website, 13 = Image, 16 = Color, 18 = Text, 19 = GUID, 20 = Icon, 21 = Duration, 24 = File, 25 = Dimension.",
            "nullable": true,
            "example": "1"
          },
          "ListItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SimpleFieldListItem"
            },
            "description": "The predefined list values available for this field. Populated only for fields backed by a value list.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SimpleTeamResponse": {
        "type": "object",
        "properties": {
          "TeamId": {
            "type": "string",
            "description": "The team's unique identifier.",
            "format": "uuid",
            "example": "3f2504e0-4f89-41d3-9a0c-0305e82c3301"
          },
          "Name": {
            "type": "string",
            "description": "The team's display name.",
            "nullable": true,
            "example": "Sales Team"
          }
        },
        "additionalProperties": false
      },
      "SimpleUserResponse": {
        "type": "object",
        "properties": {
          "UserId": {
            "type": "string",
            "description": "The user's unique identifier.",
            "format": "uuid",
            "example": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
          },
          "Name": {
            "type": "string",
            "description": "The user's display name.",
            "nullable": true,
            "example": "Jane Smith"
          },
          "Email": {
            "type": "string",
            "description": "The user's email address.",
            "nullable": true,
            "example": "jane.smith@example.com"
          },
          "ApiUser": {
            "type": "boolean",
            "description": "Whether this user is an API user rather than a regular interactive user. Set to true for API users; omitted (null) for regular users.",
            "nullable": true,
            "example": true
          }
        },
        "additionalProperties": false
      },
      "SimpleVariableResponse": {
        "type": "object",
        "properties": {
          "EntityVariableId": {
            "type": "string",
            "description": "The entity variable's unique identifier.",
            "format": "uuid",
            "example": "b5f8c2a1-3d4e-4f6a-9b8c-7d2e1f0a3b4c"
          },
          "Name": {
            "type": "string",
            "description": "The entity variable's name.",
            "nullable": true,
            "example": "StartDate"
          }
        },
        "additionalProperties": false
      },
      "TextSettingsModel": {
        "type": "object",
        "properties": {
          "Format": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ShowHeaders": {
            "type": "boolean",
            "nullable": true
          },
          "RemoveBlanks": {
            "type": "boolean",
            "nullable": true
          },
          "Delimiter": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "eOne.Microservice.Shared.Response.ErrorResponse": {
        "type": "object",
        "properties": {
          "Status": {
            "type": "string",
            "nullable": true
          },
          "Error": {
            "type": "string",
            "nullable": true
          },
          "ErrorDescription": {
            "type": "string",
            "nullable": true
          },
          "ErrorNumber": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Please enter 'Bearer' followed by your JWT token",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ],
  "tags": [
    {
      "name": "Favorites",
      "description": "Saved query/view configurations and their columns, restrictions and sharing."
    },
    {
      "name": "Query",
      "description": "Running queries and exporting, downloading, uploading and OData access."
    }
  ],
  "x-tagGroups": [
    {
      "name": "Favorites",
      "tags": [
        "Favorites"
      ]
    },
    {
      "name": "Query",
      "tags": [
        "Query"
      ]
    }
  ]
}