{
  "openapi": "3.0.1",
  "info": {
    "title": "Analytical Engine API",
    "description": "This is the API for Moata Analytical Engine, which is a centralised time series data management system underpinning Moata products such as Smart Water.",
    "contact": {
      "name": "Mott MacDonald",
      "email": "support@moata.com"
    },
    "version": "v1",
    "x-moata-build-version": "20261129.1"
  },
  "paths": {
    "/v1/alarms": {
      "post": {
        "tags": [
          "Alarms"
        ],
        "summary": "Creates a minimal alarm entity",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "description": "The project identifier",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The CreateAlarmDto",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAlarmDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAlarmDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAlarmDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The alarm was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AlarmDto"
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project or trace was not found."
          }
        }
      }
    },
    "/v1/alarms/{alarmId}": {
      "patch": {
        "tags": [
          "Alarms"
        ],
        "summary": "Updates an alarm",
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarmDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarmDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarmDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "The alarm was updated."
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "The project or alarm was not found."
          }
        }
      },
      "delete": {
        "tags": [
          "Alarms"
        ],
        "summary": "Deletes an alarm",
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The alarm was deleted successfully."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The alarm was not found."
          }
        }
      },
      "get": {
        "tags": [
          "Alarms"
        ],
        "summary": "Gets an alarm by Id",
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "description": "The alarm identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the alarm.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AlarmDto"
                }
              }
            }
          },
          "404": {
            "description": "The alarm was not found."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          }
        }
      }
    },
    "/v1/alarms/{alarmId}/custom-notification": {
      "post": {
        "tags": [
          "Alarms"
        ],
        "summary": "Creates custom notification for specified alarm user groups for single alarm",
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "description": "The alarm identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "The project identifier",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The dto",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomNotificationForSingleAlarmDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomNotificationForSingleAlarmDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomNotificationForSingleAlarmDto"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Notification has been requested"
          },
          "400": {
            "description": "Validation errors."
          },
          "404": {
            "description": "Objects not found."
          }
        }
      }
    },
    "/v1/alarms/{alarmId}/notification-templates": {
      "get": {
        "tags": [
          "Alarms"
        ],
        "summary": "Returns notification templates for the specified alarm",
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "description": "The alarm identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns notification templates for the alarm.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationTemplateDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The alarm was not found."
          }
        }
      },
      "put": {
        "tags": [
          "Alarms"
        ],
        "summary": "Replaces notification templates for the specified alarm and notification group",
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "notificationGroupId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpsertNotificationTemplateDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpsertNotificationTemplateDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpsertNotificationTemplateDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The notification templates were updated successfully."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The alarm or notification group was not found."
          }
        }
      }
    },
    "/v1/alarms/{alarmId}/notification-templates/{notificationTemplateId}": {
      "delete": {
        "tags": [
          "Alarms"
        ],
        "summary": "Deletes a notification template for the specified alarm",
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "notificationTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The notification template was deleted successfully."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The notification template or related alarm was not found."
          }
        }
      }
    },
    "/v1/alarms/{alarmId}/state": { },
    "/v1/alarms/{alarmId}/states/{alarmStateId}/acknowledgements": {
      "get": {
        "tags": [
          "Alarms"
        ],
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "alarmStateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the acknowledgements for the alarm state.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AlarmStateAcknowledgementDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation errors."
          },
          "404": {
            "description": "Objects not found."
          }
        }
      }
    },
    "/v1/alarms/{alarmId}/status/finished": { },
    "/v1/alarms/{alarmId}/usergroups": {
      "get": {
        "tags": [
          "Alarms"
        ],
        "summary": "Gets a list of user groups related to an alarm",
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AlarmUserGroupDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/alarms/{alarmId}/usergroups-simpleinfo": {
      "get": {
        "tags": [
          "Alarms"
        ],
        "summary": "Gets simple information of a list of user groups related to an alarm",
        "parameters": [
          {
            "name": "alarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AlarmUserGroupSimpleInfoDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/alarms/custom-notification": {
      "post": {
        "tags": [
          "Alarms"
        ],
        "summary": "Creates custom notification for specified alarms",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "description": "The project identifier",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The dto",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomNotificationForMultiAlarmsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomNotificationForMultiAlarmsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomNotificationForMultiAlarmsDto"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Notification has been requested"
          },
          "400": {
            "description": "Validation errors."
          },
          "404": {
            "description": "Objects not found."
          }
        }
      }
    },
    "/v1/alarms/detailed-alarms": {
      "get": {
        "tags": [
          "Alarms"
        ],
        "summary": "Get user friendly detailed overflow alarm info by project - not for internal consumption",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "description": "The id of the project",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AlarmDetailedInfoDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/alarms/notification-tokens": {
      "get": {
        "tags": [
          "Alarms"
        ],
        "summary": "Gets a grouped list of available tokens for use in notification templates for alarms",
        "responses": {
          "200": {
            "description": "Available alarm notification tokens.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AlarmNotificationTemplateTokensDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/alarms/notifications": { },
    "/v1/alarms/notifications/{alarmNotificationId}": { },
    "/v1/alarms/notifications/criteria": { },
    "/v1/alarms/notifications/template-tokens": { },
    "/v1/alarms/notifications/users": { },
    "/v1/alarms/overflow-detailed-info-by-trace": {
      "get": {
        "tags": [
          "Alarms"
        ],
        "summary": "Get user friendly detailed overflow alarm info by trace - not for internal consumption",
        "parameters": [
          {
            "name": "traceId",
            "in": "query",
            "description": "The id of the trace",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AlarmDetailedInfoDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/alarms/snooze": {
      "put": {
        "tags": [
          "Alarms"
        ],
        "summary": "Updates the snoozeUntil time of the alarm(s), also set status to enabled",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "description": "The project identifier.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The dto.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarmsSnoozeUntilTimeDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarmsSnoozeUntilTimeDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarmsSnoozeUntilTimeDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "The alarm was successfully updated."
          },
          "400": {
            "description": "Validation errors."
          },
          "404": {
            "description": "Objects not found."
          }
        }
      }
    },
    "/v1/alarms/states/acknowledgements": {
      "post": {
        "tags": [
          "Alarms"
        ],
        "summary": "Sets user acknowledgements on alarm states",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SetAlarmStateAcknowledgementDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SetAlarmStateAcknowledgementDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SetAlarmStateAcknowledgementDto"
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Acknowledgements were set successfully."
          },
          "400": {
            "description": "Validation errors."
          },
          "404": {
            "description": "Objects not found."
          }
        }
      }
    },
    "/v1/alarms/status": {
      "put": {
        "tags": [
          "Alarms"
        ],
        "summary": "Updates the status of the alarm(s), also clears the snoozeUntil time",
        "description": "To enable an Alarm, it must be configured correctly.",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "description": "The project identifier.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The dto.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarmsStatusDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarmsStatusDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarmsStatusDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "The alarm was successfully updated."
          },
          "400": {
            "description": "Validation errors."
          },
          "404": {
            "description": "Objects not found."
          }
        }
      }
    },
    "/v1/alarms/status/attempted": { },
    "/v1/alarms/usergroups": {
      "get": {
        "tags": [
          "Alarms"
        ],
        "summary": "Gets user groups by alarm ids",
        "parameters": [
          {
            "name": "alarmId",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AlarmUserGroupsDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/alarms/usergroups/{alarmUserGroupId}": { },
    "/v1/alarms/usernotifications": { },
    "/v1/assets": {
      "post": {
        "tags": [
          "Assets"
        ],
        "summary": "Creates an Asset with the specified details.\r\nIf the asset GeometryWkt value is specified, the ProjectionType and ShapeType must also be specified.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetWithGeometryDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetWithGeometryDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetWithGeometryDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Returns the newly created asset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetDto"
                }
              }
            }
          },
          "400": {
            "description": "No asset, projectId or name was specified, or geometry details were incorrectly specified."
          }
        }
      }
    },
    "/v1/assets/{assetId}": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets an asset with the specified id.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The id of the asset to get.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the asset with the id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetDto"
                }
              }
            }
          },
          "404": {
            "description": "No asset exists with the specified id."
          }
        }
      },
      "patch": {
        "tags": [
          "Assets"
        ],
        "summary": "Patch an asset's details",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchAssetDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchAssetDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchAssetDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful and returns the updated asset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetDto"
                }
              }
            }
          },
          "400": {
            "description": "Supplied information is invalid."
          },
          "404": {
            "description": "No asset exists with the specified id."
          }
        }
      }
    },
    "/v1/assets/{assetId}/allowed-attribute-types": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets all of the asset attributes that may be created or updated against a specific asset by the logged in user.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The ID of the asset that the attributes must be valid for.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The details of the asset attribute types for the given asset.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssetAttributeTypeDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid asset id has been supplied."
          },
          "404": {
            "description": "Asset was not found."
          }
        }
      }
    },
    "/v1/assets/{assetId}/attributes": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets attributes for the specified asset and a specific scenario.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The id of the asset to get the attributes for.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scenarioId",
            "in": "query",
            "description": "The id of the scenario to find the asset.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "assetDataSourceId",
            "in": "query",
            "description": "(Optional) Filter results to a specific asset data source.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "displayUnranked",
            "in": "query",
            "description": "(Default: false) By default, only the highest-ranked values for each attribute display where there are multiple data sources per attribute. If this setting is true, all versions of all values are shown regardless of rank.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the asset attributes for the asset.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisplayAssetAttributeWithPermissionsDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No asset exists with the specified id, or specified scenario wasn't found."
          }
        }
      },
      "put": {
        "tags": [
          "Assets"
        ],
        "summary": "Upserts the specified attributes for the asset.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The Id of the asset the attributes are for.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ignoreIsEditable",
            "in": "query",
            "description": "Allows asset administrators to edit attributes that are uneditable",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "A list of Moata.Api.Dtos.V1.Assets.DisplayAssetAttributeUpsertDto objects.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DisplayAssetAttributeUpsertDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DisplayAssetAttributeUpsertDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DisplayAssetAttributeUpsertDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Asset attributes successfully saved against the specified asset."
          },
          "400": {
            "description": "No asset attributes were specified or asset has no assetType scenarioComponent."
          },
          "404": {
            "description": "No asset found with the specified assetId."
          },
          "409": {
            "description": "A unique User AssetDataSource was unable to be created."
          }
        }
      }
    },
    "/v1/assets/{assetId}/data-sources": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Retrieves asset data sources used by the attributes of a given asset.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "assetDataSourceType",
            "in": "query",
            "description": "Asset data source types",
            "schema": {
              "$ref": "#/components/schemas/AssetDataSourceTypes"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssetDataSourceDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/assets/{assetId}/geometry": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets the geometry for an asset with the specified id.\r\nThe format of the resulting string is the NetTopologySuite WKT (Well Known Text) format.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The id of the asset to get the geometry for.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "projectionType",
            "in": "query",
            "description": "The type of projection to use when creating the geometry.",
            "schema": {
              "$ref": "#/components/schemas/GeometryProjectionTypes"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the asset geometry in NetTopologySuite WKT format.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Specified projectionType is not supported."
          },
          "404": {
            "description": "No asset exists with the specified id."
          }
        }
      }
    },
    "/v1/assets/{assetId}/notes": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets a list of notes for the specified asset.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The ID of the asset whose notes are being retrieved.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of notes for the specified asset.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NoteDetailDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No asset exists with the specified id."
          }
        }
      },
      "post": {
        "tags": [
          "Assets"
        ],
        "summary": "Creates a note against the specified asset.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The ID of the asset to apply the note to",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "A model describing the note that is being created.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Returns the newly created note.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteDetailDto"
                }
              }
            }
          },
          "400": {
            "description": "The note is not specified, or the text of the note is empty."
          },
          "404": {
            "description": "No asset exists with the specified id."
          }
        }
      }
    },
    "/v1/assets/{assetId}/notes/{noteId}": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets the note with the specified id for the asset.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The ID of the asset whose note is being retrieved.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "description": "The ID of the note being queried, which must match the asset ID.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the note with the specified id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteDetailDto"
                }
              }
            }
          },
          "404": {
            "description": "No asset or note exists with the specified ids."
          }
        }
      },
      "delete": {
        "tags": [
          "Assets"
        ],
        "summary": "Deletes a note.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The ID of the asset whose note is being deleted.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "description": "The ID of the note to delete, which must match the asset ID.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The note has been successfully and permanently deleted."
          },
          "404": {
            "description": "No asset or note exists with the specified ids."
          }
        }
      }
    },
    "/v1/assets/{assetId}/notes/{noteId}/attachments": {
      "post": {
        "tags": [
          "Assets"
        ],
        "summary": "Creates a note attachment given a temporary file.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The ID of the asset containing the note that is being attached to.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "description": "The ID of the note to attach to.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Specifies the key of the temporary file to pull into the attachment, along with some file metadata.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteAttachmentDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteAttachmentDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteAttachmentDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteAttachmentDto"
                }
              }
            }
          },
          "400": {
            "description": "The note ID provided (if any) is invalid, or the temporary file being referenced is not valid. It may have timed out and/or been cleaned up."
          }
        }
      }
    },
    "/v1/assets/{assetId}/notes/{noteId}/attachments/{attachmentAccessKey}/download-link": {
      "post": {
        "tags": [
          "Assets"
        ],
        "summary": "Retrieves a download URL for the identified file attachment belonging to the identified note and asset.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "attachmentAccessKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileDownloadDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/assets/{assetId}/notes/{noteId}/references": {
      "post": {
        "tags": [
          "Assets"
        ],
        "summary": "Creates a note reference to link a note to another entity.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "noteId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteReferenceDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteReferenceDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteReferenceDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Returns the newly created note reference.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteReferenceDto"
                }
              }
            }
          },
          "400": {
            "description": "The note reference is not specified, or one of the note reference properties is invalid."
          },
          "404": {
            "description": "No asset exists with the specified id."
          },
          "409": {
            "description": "Duplicate note reference supplied."
          }
        }
      }
    },
    "/v1/assets/{assetId}/permissions": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets an asset with the specified id with permission flags (this is a temporary workaround for frontend permission issues with arcgis sourced assets)",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scenarioId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetWithPermissionsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/assets/{assetId}/related-assets": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets all the asset relationships for this asset",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetRelationshipsDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/assets/{assetId}/relationships": {
      "post": {
        "tags": [
          "Assets"
        ],
        "summary": "Creates a new asset relationship between two assets",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetRelationshipDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetRelationshipDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetRelationshipDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The created asset relationship.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedAssetRelationshipDto"
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "One of the assets were not found."
          },
          "409": {
            "description": "The asset relationship already exists."
          }
        }
      },
      "delete": {
        "tags": [
          "Assets"
        ],
        "summary": "Deletes an asset relationship between two assets",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The identifier of the asset",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "relatedAssetId",
            "in": "query",
            "description": "The identifier of the related asset",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "assetRelationshipTypeId",
            "in": "query",
            "description": "The asset relationship type identifier",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The asset relationship was deleted."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "One of the assets or the relationship was not found."
          }
        }
      }
    },
    "/v1/assets/{assetId}/results": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets results for the specified asset.",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The id of the asset to get the results for.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the results for the asset.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssetResultDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No asset exists with the specified id."
          }
        }
      }
    },
    "/v1/assets/{assetId}/traces": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets a list of traces for the specified asset, optionally filtered by a data variable type and/or scenario",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "The id of the asset to get traces for.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "dataVariableTypeId",
            "in": "query",
            "description": "Optional - filter by data variable type id",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scenarioId",
            "in": "query",
            "description": "Optional - filter by scenario id",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the traces for this asset that match the specified criteria.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No asset exists with the specified id."
          }
        }
      }
    },
    "/v1/assets/attribute-source-types": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets all available attribute source types.",
        "responses": {
          "200": {
            "description": "The available attribute source types."
          }
        }
      }
    },
    "/v1/assets/attribute-types": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets details about a list of asset attribute types identified by their IDs.",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The details of the requested asset attribute types.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssetAttributeTypeDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid ids have been supplied."
          }
        }
      }
    },
    "/v1/assets/attribute-types/all": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets basic info of all asset attribute types",
        "responses": {
          "200": {
            "description": "All asset attribute types.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssetAttributeTypeSimpleDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/assets/attributes": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets all attributes for the specified assets, specified attribute types and a specific scenario. Does not support containerized scenarios. Does not\r\nprovide information about the editability of individual assets. Doesn't provide virtual attributes.",
        "parameters": [
          {
            "name": "a",
            "in": "query",
            "description": "The id of the assets to get the attributes for.",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "t",
            "in": "query",
            "description": "The id of the attribute types to get the attributes for.",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "scenarioId",
            "in": "query",
            "description": "The id of the scenario to find the asset.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerId",
            "in": "query",
            "description": "The ID of the layer where the information should be queried from. Optional.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "assetDataSourceId",
            "in": "query",
            "description": "(Optional) Filter results to a specific asset data source.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "displayUnranked",
            "in": "query",
            "description": "(Default: false) By default, only the highest-ranked values for each attribute display where there are multiple data sources per attribute. If this setting is true, all versions of all values are shown regardless of rank.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the asset attributes for the asset.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisplayAssetAttributeDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No asset exists with the specified id, or specified scenario wasn't found."
          }
        }
      }
    },
    "/v1/assets/data-sources": { },
    "/v1/assets/data-sources/{assetDataSourceType}": { },
    "/v1/assets/data-sources/{assetDataSourceType}/{name}": { },
    "/v1/assets/data-sources/batch": { },
    "/v1/assets/notes/tags": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Retrieves a list of all of the available tags that can be attached to notes.",
        "responses": {
          "200": {
            "description": "Successfully retrieved a list of note tags.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NoteTagDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/assets/relationship-types": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets all available asset relationship types",
        "responses": {
          "200": {
            "description": "All asset relationship types"
          }
        }
      }
    },
    "/v1/assets/relationships": { },
    "/v1/assets/relationships/{relationshipId}": { },
    "/v1/assets/third-party-mappings/{assetThirdPartyMappingTypeId}": { },
    "/v1/assets/third-party-mappings/types": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets a list of available asset third party mapping types",
        "responses": {
          "200": {
            "description": "Available asset third party mapping types."
          }
        }
      }
    },
    "/v1/assets/traces": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets a list of traces for the specified assetids, optionally filtered by a data variable type and/or scenario",
        "parameters": [
          {
            "name": "assetId",
            "in": "query",
            "description": "The ids of the assets to get traces for.",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "dataVariableTypeId",
            "in": "query",
            "description": "Optional - filter by data variable type id",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scenarioId",
            "in": "query",
            "description": "Optional - filter by scenario id",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the traces for this asset that match the specified criteria.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request was invalid - check response body for more details."
          }
        }
      }
    },
    "/v1/assets/types": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Gets a list of the details of all asset types",
        "responses": {
          "200": {
            "description": "Details about the asset types in the system.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssetTypeDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/data-sources": { },
    "/v1/data-sources/{dataSourceId}": { },
    "/v1/data-sources/{dataSourceId}/import-mappings": { },
    "/v1/data-sources/{dataSourceId}/import-mappings/{dataImportMappingId}": { },
    "/v1/data-sources/{dataSourceId}/import-mappings/{dataImportMappingId}/state": { },
    "/v1/data-sources/{dataSourceId}/import-options": { },
    "/v1/data-sources/file-importer/lock": { },
    "/v1/data-sources/filekeymaps": { },
    "/v1/data-sources/map-filekey": { },
    "/v1/data-variable-types": {
      "get": {
        "tags": [
          "DataVariableTypes"
        ],
        "summary": "Gets a list of shared data variable types.",
        "responses": {
          "200": {
            "description": "List of shared Data Variable Type information.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataVariableTypeDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/data-variable-types/{dataVariableTypeId}": {
      "get": {
        "tags": [
          "DataVariableTypes"
        ],
        "summary": "Gets a data variable type dto with the specified id.",
        "parameters": [
          {
            "name": "dataVariableTypeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Data Variable Type information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataVariableTypeDto"
                }
              }
            }
          },
          "404": {
            "description": "No Data Variable Type exists with the specified id."
          }
        }
      }
    },
    "/v1/downloads/{correlationIdentifier}": {
      "get": {
        "tags": [
          "Downloads"
        ],
        "summary": "Gets a download uri to download from with an expiry of 1 hour",
        "parameters": [
          {
            "name": "correlationIdentifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the Uri of the download.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "No result for the download is available."
          },
          "404": {
            "description": "Returns the Uri of the download."
          }
        }
      }
    },
    "/v1/downloads/assets/data": {
      "post": {
        "tags": [
          "Downloads"
        ],
        "summary": "Starts the process of creating a file with the requested asset data.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetDataFileDownloadDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetDataFileDownloadDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetDataFileDownloadDto"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/v1/downloads/federated-s3-access": {
      "get": {
        "tags": [
          "Downloads"
        ],
        "summary": "Gets temporary credentials to access a specific S3 resource.\r\nYou must use the federatedS3AccessToken that you have been provided.",
        "parameters": [
          {
            "name": "federatedS3AccessToken",
            "in": "query",
            "description": "A provided token for the resource you want to access",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FederatedS3AccessDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/downloads/traces/data": {
      "post": {
        "tags": [
          "Downloads"
        ],
        "summary": "Starts the process of creating a file with the requested trace data",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceDataFileDownloadDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceDataFileDownloadDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceDataFileDownloadDto"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/v1/healthcheck": {
      "get": {
        "tags": [
          "HealthCheck"
        ],
        "summary": "Confirms the health status of the application with a 200 response.",
        "responses": {
          "200": {
            "description": "The application is healthy.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/healthcheck/complex": {
      "get": {
        "tags": [
          "HealthCheck"
        ],
        "summary": "Shows the status of the application and internal components.",
        "description": "Tried to return 200OK when unhealthy with specific details of what is unhealthy",
        "responses": {
          "200": {
            "description": "Returns healthy or unhealthy status of the application and specific components",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComplexHealthCheckDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/healthcheck/complex/monitoring": { },
    "/v1/models/run": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Gets the model runs for a specific model with a specific status.\r\nNot for external use.",
        "parameters": [
          {
            "name": "modelType",
            "in": "query",
            "description": "Type of the model.",
            "schema": {
              "$ref": "#/components/schemas/ModelTypes"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Status of the model. Listing completed model runs is not allowed.",
            "schema": {
              "$ref": "#/components/schemas/ModelRunStatuses"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModelRunDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/models/run/{correlationIdentifier}": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Gets a model run for the given correlation identifier.\r\nNot for external use.",
        "parameters": [
          {
            "name": "correlationIdentifier",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelRunDto"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Models"
        ],
        "summary": "Updates the status and result fields for the given model run.\r\nNot for external use.",
        "parameters": [
          {
            "name": "correlationIdentifier",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The details of the status to update with",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModelRunStatusDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModelRunStatusDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateModelRunStatusDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Run status updated successfully."
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "Model run was not found."
          }
        }
      }
    },
    "/v1/models/run/{scenarioId}/{assetId}": {
      "post": {
        "tags": [
          "Models"
        ],
        "summary": "Records a new model run for a scenario and asset.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "modelType",
            "in": "query",
            "description": "Model types than can be run via the API",
            "schema": {
              "$ref": "#/components/schemas/ModelTypes"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Model run was created and returns the model run correlation identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "Some of the request parameters were not found."
          }
        }
      }
    },
    "/v1/models/run/options/types": { },
    "/v1/models/upload-token": { },
    "/v1/notifications/{notificationId}": { },
    "/v1/notifications/{notificationId}/state": { },
    "/v1/notifications/incomplete/recent": { },
    "/v1/notifications/user/{userId}/withinrange": { },
    "/v1/projects": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a list of projects for the authenticated user.",
        "description": "Deprecation Info: Use basic version of this route which excludes the project-settings properties.",
        "responses": {
          "200": {
            "description": "Returns a list of projects the current user has access to.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectDetailedDto"
                  }
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "post": {
        "tags": [
          "Projects"
        ],
        "summary": "Create a project",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The project was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDto"
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "403": {
            "description": "The user is not allowed to add projects."
          },
          "409": {
            "description": "The project exists or the supplied externalId is already assigned to another project."
          }
        }
      }
    },
    "/v1/projects/{projectId}": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a project with the specified id.",
        "description": "Deprecation Info: Use basic version of this route which excludes the project-settings properties.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a project.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDto"
                }
              }
            }
          },
          "404": {
            "description": "The project requested does not exist."
          }
        },
        "deprecated": true
      },
      "patch": {
        "tags": [
          "Projects"
        ],
        "summary": "Updates a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "The project was updated."
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "The project was not found."
          },
          "409": {
            "description": "The project's ExternalId is already mapped to another project."
          }
        }
      },
      "delete": {
        "tags": [
          "Projects"
        ],
        "summary": "Performs a soft delete of the project.\r\nAccess groups associated to the project are deleted and the project is marked as deleted.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The project was deleted."
          },
          "404": {
            "description": "The project was not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/access-groups": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets all access-groups for specified project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "The project identifier.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the access groups configured for the project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccessGroupSimplifiedDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "403": {
            "description": "This user is not allowed to administrate the target role on target project."
          },
          "404": {
            "description": "No project was found with the specified id."
          }
        }
      }
    },
    "/v1/projects/{projectId}/access-groups/{globalGroupId}": { },
    "/v1/projects/{projectId}/assets": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets all of the assets for the specified project with optional filtering and projected geometries",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "assetName",
            "in": "query",
            "description": "Optional filtering by asset name (omit value for no filtering)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "assetTypeId",
            "in": "query",
            "description": "Optional filtering by asset type id (omit value for no filtering)",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "srId",
            "in": "query",
            "description": "Optional SRID to get the asset geometry in addition to basic details (omit value for no geometry in response)",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A list of assets for the specified project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssetWithGeometryDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "An invalid asset type id was specified."
          },
          "404": {
            "description": "No project was found with the specified id."
          }
        }
      }
    },
    "/v1/projects/{projectId}/assets/attribute-display-info": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Returns the list of asset display information scoped to the specified project.\r\nAsset display information will affect how the attribute is represented externally.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The list of asset display info for the project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttributeDisplayInfoDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The project Id was invalid."
          },
          "404": {
            "description": "The project was not found."
          }
        }
      },
      "put": {
        "tags": [
          "Projects"
        ],
        "summary": "Upserts a list of attribute display info for a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpsertAttributeDisplayInfoDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpsertAttributeDisplayInfoDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpsertAttributeDisplayInfoDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The list of asset display info for the project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttributeDisplayInfoDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project was not found."
          }
        }
      },
      "delete": {
        "tags": [
          "Projects"
        ],
        "summary": "Deletes a list of attribute display info for a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The attribute display info were deleted successfully."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project was not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/basic": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a project with the specified id.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a project.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectBasicDto"
                }
              }
            }
          },
          "404": {
            "description": "The project requested does not exist."
          }
        }
      }
    },
    "/v1/projects/{projectId}/detailed": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a detailed project with the specified id.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a detailed project.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDto"
                }
              }
            }
          },
          "404": {
            "description": "The project requested does not exist."
          }
        }
      }
    },
    "/v1/projects/{projectId}/features": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a list of features for the project",
        "description": "Deprecation Info: Use ProjectConfigApi instead.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "filterByAccessGroup",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of features for the project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectFeatureDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The project was not found."
          }
        },
        "deprecated": true
      }
    },
    "/v1/projects/{projectId}/features/{name}": {
      "put": {
        "tags": [
          "Projects"
        ],
        "summary": "Creates or updates a feature for the project.\r\nNote: GlobalGroupIds need to be supplied in the DTO or else groups linked to the feature will be removed.",
        "description": "Deprecation Info: Use ProjectConfigApi instead.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "The project identifier.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "name",
            "in": "path",
            "description": "The feature name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The dto.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertProjectFeatureDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertProjectFeatureDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertProjectFeatureDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The feature was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectFeatureDto"
                }
              }
            }
          },
          "201": {
            "description": "The feature was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectFeatureDto"
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project was not found."
          }
        },
        "deprecated": true
      },
      "delete": {
        "tags": [
          "Projects"
        ],
        "summary": "Removes a feature from the project.",
        "description": "Deprecation Info: Use ProjectConfigApi instead.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "The project identifier.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "name",
            "in": "path",
            "description": "The feature name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The feature was deleted."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project or feature was not found."
          }
        },
        "deprecated": true
      }
    },
    "/v1/projects/{projectId}/layer-trees": {
      "put": {
        "tags": [
          "Layers"
        ],
        "summary": "Create or update a layer tree node for a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "Id of the project",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerTreeId",
            "in": "query",
            "description": "Optional - Id of the layer tree node to update",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertLayerTreeNodeDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertLayerTreeNodeDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertLayerTreeNodeDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated layer tree.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LayerTreeNodeDto"
                }
              }
            }
          },
          "201": {
            "description": "The created layer tree.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LayerTreeNodeDto"
                }
              }
            }
          },
          "400": {
            "description": "Request contains invalid values."
          },
          "403": {
            "description": "This user is not allowed to administrate the target role on target project."
          },
          "404": {
            "description": "One or many objects specified were not found."
          }
        }
      },
      "get": {
        "tags": [
          "Layers"
        ],
        "summary": "Gets all layer trees for the given project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "Id of the project",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A list of layer tree summaries for the specified project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LayerTreeSummaryDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request contains invalid values."
          },
          "403": {
            "description": "This user is not allowed to administrate the target role on target project."
          },
          "404": {
            "description": "One or many objects specified were not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/layer-trees/{layerTreeId}": {
      "get": {
        "tags": [
          "Layers"
        ],
        "summary": "Gets a layer tree node for the project with a specified id.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "Id of the project",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerTreeId",
            "in": "path",
            "description": "Id of the layer tree node to update",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The layer tree for the project with a specified id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LayerTreeNodeDto"
                }
              }
            }
          },
          "400": {
            "description": "Request contains invalid values."
          },
          "403": {
            "description": "This user is not allowed to administrate the target role on target project."
          },
          "404": {
            "description": "One or many objects specified were not found."
          }
        }
      },
      "delete": {
        "tags": [
          "Layers"
        ],
        "summary": "Delete a layer tree node for a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "Id of the project",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerTreeId",
            "in": "path",
            "description": "Id of the layer tree node to update",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Layer tree was deleted successfully."
          },
          "400": {
            "description": "Request contains invalid values."
          },
          "403": {
            "description": "This user is not allowed to administrate the target role on target project."
          },
          "404": {
            "description": "One or many objects specified were not found."
          }
        }
      },
      "patch": {
        "tags": [
          "Layers"
        ],
        "summary": "Patches a layer tree node for a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "Id of the project",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerTreeId",
            "in": "path",
            "description": "Id of the layer tree node",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchLayerTreeNodeDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchLayerTreeNodeDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchLayerTreeNodeDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Layer tree was updated successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LayerTreeNodeDto"
                }
              }
            }
          },
          "400": {
            "description": "Request contains invalid values."
          },
          "403": {
            "description": "This user is not allowed to administrate the target role on target project."
          },
          "404": {
            "description": "One or many objects specified were not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/layer-trees/{layerTreeId}/assignments": {
      "get": {
        "tags": [
          "Layers"
        ],
        "summary": "Gets the layer tree assignments for the given project and layer tree",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerTreeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A list of layer tree assignments.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LayerTreeAssignmentDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request contains invalid values."
          },
          "403": {
            "description": "This user is not allowed to administrate the target role on target project."
          },
          "404": {
            "description": "No project was found with the specified id."
          }
        }
      }
    },
    "/v1/projects/{projectId}/layer-trees/assignments": {
      "put": {
        "tags": [
          "Layers"
        ],
        "summary": "Replaces all layer tree assignments for the given project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReplaceLayerTreeAssignmentDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReplaceLayerTreeAssignmentDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReplaceLayerTreeAssignmentDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Replaces all layer tree assignments and returns current configured list for the specified project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LayerTreeAssignmentDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "One or many of the objects referenced in request were not found."
          },
          "403": {
            "description": "This user is not allowed to administrate the target role on target project."
          },
          "400": {
            "description": "One or many of the objects provided in request were not valid."
          }
        }
      },
      "get": {
        "tags": [
          "Layers"
        ],
        "summary": "Gets the layer tree assignments for the given project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A list of layer tree assignments for the specified project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LayerTreeAssignmentDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request contains invalid value."
          },
          "403": {
            "description": "This user is not allowed to administrate the target role on target project."
          },
          "404": {
            "description": "No project was found with the specified id."
          }
        }
      }
    },
    "/v1/projects/{projectId}/notification-groups": {
      "get": {
        "tags": [
          "NotificationGroups"
        ],
        "summary": "Gets a list of notification (user) groups for a project.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of notification groups for a project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationGroupDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project was not found."
          }
        }
      },
      "put": {
        "tags": [
          "NotificationGroups"
        ],
        "summary": "Upserts a notification group",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "notificationGroupId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertNotificationGroupDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertNotificationGroupDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertNotificationGroupDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The notification group was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationGroupSimplified"
                }
              }
            }
          },
          "201": {
            "description": "The notification group was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationGroupSimplified"
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "The project or the notification group was not found."
          },
          "409": {
            "description": "A notification group with the same name already exists."
          }
        }
      },
      "delete": {
        "tags": [
          "NotificationGroups"
        ],
        "summary": "Deletes the specified notification groups in the project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Notification Groups were deleted successfully."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project or a notification group was not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/notification-groups/{notificationGroupId}/users": {
      "get": {
        "tags": [
          "NotificationGroups"
        ],
        "summary": "Gets a list of users in a notification group",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "notificationGroupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the list of users in a notification group.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationGroupUserDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project or notification group was not found."
          }
        }
      },
      "put": {
        "tags": [
          "NotificationGroups"
        ],
        "summary": "Upserts the users on a notification group",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "notificationGroupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertNotificationGroupUsersDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertNotificationGroupUsersDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertNotificationGroupUsersDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The notification group users were updated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationGroupUserDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "The project or the notification group was not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/notification-groups/{notificationGroupId}/users/{userId}/delivery-options": {
      "put": {
        "tags": [
          "NotificationGroups"
        ],
        "summary": "Updates the delivery options for a user in a notification group",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "notificationGroupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationGroupUserDeliveryOptionsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationGroupUserDeliveryOptionsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationGroupUserDeliveryOptionsDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "The notification group users delivery options were updated.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationGroupUserDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "The project, notification group or user were not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/reports/{reportId}": {
      "get": {
        "tags": [
          "Reports"
        ],
        "summary": "Runs a project level report",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "Id of the Project",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "description": "Id of report to run",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "criteria",
            "in": "query",
            "description": "Criteria for the report (if applicable)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportResponseDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/projects/{projectId}/reports/{reportId}/group-access": {
      "put": {
        "tags": [
          "Reports"
        ],
        "summary": "Replaces the access groups that have access to the supplied report",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "The project identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "description": "The report identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The dto containing accessGroups identifiers to upsert",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertReportGroupAccessDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertReportGroupAccessDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertReportGroupAccessDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The group access for the report was replaced.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReportGroupAccessDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project or report was not found."
          }
        }
      },
      "delete": {
        "tags": [
          "Reports"
        ],
        "summary": "Deletes report group access for the supplied report",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "The project identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "description": "The report identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Report group access was deleted."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project or report was not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/reports/{reportId}/user-access": {
      "put": {
        "tags": [
          "Reports"
        ],
        "summary": "Replaces the access rules for a report in a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "Id of the project",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "description": "Id of the report",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Access rules to set",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectReportAccessDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectReportAccessDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectReportAccessDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "New access rules for the report.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectReportAccessDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation errors."
          },
          "401": {
            "description": "Authentication error."
          },
          "403": {
            "description": "Authorization error."
          },
          "404": {
            "description": "Objects not found."
          }
        }
      },
      "delete": {
        "tags": [
          "Reports"
        ],
        "summary": "Deletes all access rules for a report in a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "Id of the project",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "description": "Id of the report",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted the access rules for the report."
          },
          "400": {
            "description": "Validation errors."
          },
          "401": {
            "description": "Authentication error."
          },
          "403": {
            "description": "Authorization error."
          },
          "404": {
            "description": "Objects not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/reports/group-access": {
      "get": {
        "tags": [
          "Reports"
        ],
        "summary": "Retrieves the access groups that have access to either all or single project reports",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "The project identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "query",
            "description": "Optional: The report identifier",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the group access for reports in a project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReportGroupAccessDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project or report was not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/reports/user-access": {
      "get": {
        "tags": [
          "Reports"
        ],
        "summary": "Gets current access rules for one or many reports for a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "Id of the Project",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "query",
            "description": "Optional - id of an existing report (omit this for all reports)",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Access rules for the report.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectReportAccessDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation errors."
          },
          "401": {
            "description": "Authentication error."
          },
          "403": {
            "description": "Authorization error."
          },
          "404": {
            "description": "Objects not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/scenario-trees": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets the scenario trees for the given project in its tree structure with children",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "includeHidden",
            "in": "query",
            "description": "",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of scenario trees for the project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScenarioWithChildrenDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The project was not found."
          }
        }
      }
    },
    "/v1/projects/{projectId}/settings": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a list of settings for the project",
        "description": "Deprecation Info: Use ProjectConfigApi instead.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of project settings for the specified project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectSettingsDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The project was not found"
          }
        },
        "deprecated": true
      }
    },
    "/v1/projects/{projectId}/settings/{name}": {
      "put": {
        "tags": [
          "Projects"
        ],
        "summary": "Creates or updates a setting for the project",
        "description": "Deprecation Info: Use ProjectConfigApi instead.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "The project identifier.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "name",
            "in": "path",
            "description": "The setting name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "extensionProjectId",
            "in": "query",
            "description": "An optional extension project identifier when the setting represents extension configuration.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The dto. Ensure no sensitive information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertProjectSettingDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertProjectSettingDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertProjectSettingDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The setting was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectSettingsDto"
                }
              }
            }
          },
          "201": {
            "description": "The setting was created.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectSettingsDto"
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "The project was not found."
          }
        },
        "deprecated": true
      },
      "delete": {
        "tags": [
          "Projects"
        ],
        "summary": "Removes a setting from the project.",
        "description": "Deprecation Info: Use ProjectConfigApi instead.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "The project identifier.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "name",
            "in": "path",
            "description": "The setting name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "extensionProjectId",
            "in": "query",
            "description": "An optional extension project identifier when the setting represents extension configuration.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The setting was deleted."
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          },
          "404": {
            "description": "The project or setting was not found."
          }
        },
        "deprecated": true
      }
    },
    "/v1/projects/{projectId}/settings/resync": { },
    "/v1/projects/{projectId}/traces/info": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets all traces for a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "dataVariableTypeId",
            "in": "query",
            "description": "Optional filtering by data variable type id (omit value for no filtering)",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "traceDescription",
            "in": "query",
            "description": "Optional filtering by trace description (omit value for no filtering)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of traces for the project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceInfoDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The project requested does not exist."
          }
        }
      }
    },
    "/v1/projects/{projectId}/traces/info/have-categorized-thresholds": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets all traces for a project that have categorized thresholds",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of traces for the project that have categorized thresholds.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceInfoDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The project requested does not exist."
          }
        }
      }
    },
    "/v1/projects/{projectId}/users": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a list of all users that can access the specified project",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": ".",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No project was found with the specified id."
          }
        }
      }
    },
    "/v1/projects/{projectId}/users-for-notifications": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a list of all users that can access the specified project for notification purposes (does not include special access)",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": ".",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No project was found with the specified id."
          }
        }
      }
    },
    "/v1/projects/{projectId}/users/access-group": { },
    "/v1/projects/{projectId}/users/invite": { },
    "/v1/projects/basic": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a list of projects for the authenticated user.",
        "responses": {
          "200": {
            "description": "Returns a list of projects the current user has access to.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectBasicDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/projects/basic/by-external-id": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a list of projects for the authenticated user by one or many external ids",
        "parameters": [
          {
            "name": "eid",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "includeDeletedProjects",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of projects with the specified external id.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectBasicDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid or the request is made from an internal service."
          }
        }
      }
    },
    "/v1/projects/by-external-id": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a list of projects for the authenticated user by one or many external ids",
        "description": "Deprecation Info: Use basic version of this route which excludes the project-settings properties.",
        "parameters": [
          {
            "name": "eid",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "includeDeletedProjects",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of projects with the specified external id.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid or the request is made from an internal service."
          }
        },
        "deprecated": true
      }
    },
    "/v1/projects/by-external-id/{externalProjectId}/detailed": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a detailed project for the authenticated user by the given external id",
        "parameters": [
          {
            "name": "externalProjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a detailed project for the specified external id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDetailedDto"
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid or the request is made from an internal service."
          },
          "404": {
            "description": "The project requested does not exist."
          }
        }
      }
    },
    "/v1/projects/simplified": { },
    "/v1/reports": {
      "get": {
        "tags": [
          "Reports"
        ],
        "summary": "Gets a list of reports with associated metadata",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scenarioId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/results/upload-token": { },
    "/v1/scenarios": {
      "post": {
        "tags": [
          "Scenarios"
        ],
        "summary": "Creates a scenario for a project",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScenarioDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScenarioDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScenarioDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Returns the newly created scenario.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScenarioDto"
                }
              }
            }
          },
          "400": {
            "description": "A required field was not specified or was invalid"
          },
          "404": {
            "description": "The specified project does not exist"
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}": {
      "get": {
        "tags": [
          "Scenarios"
        ],
        "summary": "Gets scenario with the specified id.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A scenario with the specified id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScenarioDto"
                }
              }
            }
          },
          "404": {
            "description": "The specified scenario does not exist"
          }
        }
      },
      "patch": {
        "tags": [
          "Scenarios"
        ],
        "summary": "Updates a scenario",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScenarioDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScenarioDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScenarioDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "The scenario was updated."
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "The project or scenario was not found."
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/animation/{zoom}/{x}/{y}": { },
    "/v1/scenarios/{scenarioId}/animation/information": { },
    "/v1/scenarios/{scenarioId}/animation/latest-forecasts": { },
    "/v1/scenarios/{scenarioId}/assets/asset-third-party-mapping": { },
    "/v1/scenarios/{scenarioId}/assets/asset-third-party-mapping-by-ids": { },
    "/v1/scenarios/{scenarioId}/assets/csv": {
      "put": {
        "tags": [
          "Scenarios"
        ],
        "summary": "Updates a Scenario model from a CSV file referenced by the passed file key. The file key should be obtained\r\nthrough a call to GET scenarios/{scenarioId:int}/model-import/upload-token",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "fileKey",
            "in": "query",
            "description": "The result from the upload-token route",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CsvUpdateScenarioAssetsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CsvUpdateScenarioAssetsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CsvUpdateScenarioAssetsDto"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "The model file has been accepted and is being processed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          },
          "404": {
            "description": "The specified scenario does not exist, or the provided file key does not exist"
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/assets/data": {
      "get": {
        "tags": [
          "Scenarios"
        ],
        "summary": "Gets asset data for specified assets in scenario (with optional datasourceId filter)",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "assetId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "dataSourceType",
            "in": "query",
            "description": "",
            "schema": {
              "$ref": "#/components/schemas/AssetDataSourceTypes"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the asset data for the specified ids.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImportAssetAttributeDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No asset or scenario exists with the specified ids."
          }
        }
      },
      "put": {
        "tags": [
          "Scenarios"
        ],
        "summary": "Inserts or updates a collection of assetdata",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ImportAssetAttributeDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ImportAssetAttributeDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ImportAssetAttributeDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The list of imported asset attributes.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImportedAssetAttributeDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters were invalid."
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/assets/infoworks": { },
    "/v1/scenarios/{scenarioId}/assets/modelled": { },
    "/v1/scenarios/{scenarioId}/assets/modelled/geometries": { },
    "/v1/scenarios/{scenarioId}/assets/relationships": { },
    "/v1/scenarios/{scenarioId}/assets/search": {
      "get": {
        "tags": [
          "Scenarios"
        ],
        "summary": "Searches for assets using criteria across base and grouped scenario works assets",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Criteria",
            "in": "query",
            "description": "Search Criteria",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string",
              "description": "Search Criteria"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Result Limit (optional)",
            "schema": {
              "minimum": 0,
              "exclusiveMinimum": true,
              "type": "integer",
              "description": "Result Limit (optional)",
              "format": "int32"
            }
          },
          {
            "name": "DisplayProjectionType",
            "in": "query",
            "description": "Projection type for results (optional)",
            "schema": {
              "$ref": "#/components/schemas/GeometryProjectionTypes"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssetSearchDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/assets/shapefile": { },
    "/v1/scenarios/{scenarioId}/assets/third-party-mapping-geometry": { },
    "/v1/scenarios/{scenarioId}/flush-display-cache": {
      "post": {
        "tags": [
          "Scenarios"
        ],
        "summary": "Flushes scenario level layer caches",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/inspections/create": {
      "post": {
        "tags": [
          "Inspections"
        ],
        "summary": "Start a scheduled inspection import process that makes use of an existing work package.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "Id of the related scneario",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "fileReference",
            "in": "query",
            "description": "An ID of an uploaded temporary file, corresponding to an inspection zipfile (temporary upload\r\nendpoint: POST uploads/upload-token)",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "workPackageId",
            "in": "query",
            "description": "A work package ID",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The request has been accepted and is being processed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          },
          "404": {
            "description": "The specified work package does not exist, the asset type is not Workpackage, or the provided\r\nfile key does not exist"
          },
          "400": {
            "description": "The provided file key is empty"
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/inspections/observations": {
      "post": {
        "tags": [
          "Inspections"
        ],
        "summary": "Create a new inspectionsObservation asset.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "Id of the related scenario",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "info for creating new inspections inspectionsObservation",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInspectionsObservationDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInspectionsObservationDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInspectionsObservationDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/inspections/recalculate": {
      "post": {
        "tags": [
          "Inspections"
        ],
        "summary": "Recalculates computed inspection attributes for a scenario and data sources containing modified or created attributes.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "The ID of the scenario that is the scope of the recalculation.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sources",
            "in": "query",
            "description": "The IDs of the data sources that contain the modified or created attributes.",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Recalculation was successful."
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "Some of the request parameters were not found."
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/inspections/unplanned": {
      "post": {
        "tags": [
          "Inspections"
        ],
        "summary": "Start a unplanned inspection import process that does not require an existing work package.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "Id of the related scenario",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "fileReference",
            "in": "query",
            "description": "An ID of an uploaded temporary file, corresponding to an inspection zipfile (temporary upload\r\n            endpoint: POST uploads/upload-token)",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "description": "The reason for the unplanned inspection. This must be constrained to one of the multi-option values\r\n            of attribute type 756. Required. All other input is invalid.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "description",
            "in": "query",
            "description": "Sets the description of the batch. Limit 2048 characters. Required.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The request has been accepted and is being processed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          },
          "404": {
            "description": "The provided file key does not exist"
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/layer-trees": {
      "get": {
        "tags": [
          "ScenarioLayers"
        ],
        "summary": "Gets a list of layer trees for the scenario with the specified id.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The layer trees for the scenario.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LayerTreeNodeDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The specified scenario does not exist."
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/layers/{layerId}/geometries": {
      "get": {
        "tags": [
          "ScenarioLayers"
        ],
        "summary": "Gets the geometries for the specified layer given a bounds, srId, and zoom level.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "bounds",
            "in": "query",
            "description": "The bounding box which the geometries will be contained within. Format must be x1,y1,x2,y2",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "srId",
            "in": "query",
            "description": "The spatial reference identifier for the bounding box coordinates and the resulting geometries",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "zoomLevel",
            "in": "query",
            "description": "Optional zoom level that can be used to filter out geometries that don't make sense to view at certain distances",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "The start date from which data should be returned. This is only applicable to layer tree nodes that have a DefaultDateRange property",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "The end date to which data should be returned. This is only applicable to layer tree nodes that have a DefaultDateRange property",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A set of geometries for the layer contained within the bounding box.",
            "content": {
              "application/vnd.geo+json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "The bounds or srId are not specified, or are in an incorrect format,\r\n                the dates are specified for a layer that doesn't support them,\r\n                the dates are not specified for a layer that requires them,\r\n                or the dates are not parseable"
          },
          "404": {
            "description": "The specified scenario or layer does not exist"
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/layers/{layerId}/static-url": {
      "get": {
        "tags": [
          "ScenarioLayers"
        ],
        "summary": "Gets the static tile url for the specified layer.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "The scenario identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerId",
            "in": "path",
            "description": "The layer identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Static tile url for the layer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaticTileUrlDto"
                }
              }
            }
          },
          "400": {
            "description": "Validation errors."
          },
          "404": {
            "description": "Objects not found."
          },
          "500": {
            "description": "An error occurred while fetching the static tile url"
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/model-import/upload-token": {
      "get": {
        "tags": [
          "Scenarios"
        ],
        "summary": "Gets a s3 upload token, to allow you to upload your model files",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "filename",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileUploadDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/model-run-options": { },
    "/v1/scenarios/{scenarioId}/reports": {
      "put": {
        "tags": [
          "Reports"
        ],
        "summary": "Creates or updates a scenario level report",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "Id of the Scenario",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "query",
            "description": "Optional - id of an existing report (for update)",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Data to create or update the report",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportDetailsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportDetailsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReportDetailsDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated the report.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComponentReport"
                }
              }
            }
          },
          "201": {
            "description": "Created the report.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComponentReport"
                }
              }
            }
          },
          "400": {
            "description": "Validation errors."
          },
          "401": {
            "description": "Authentication error."
          },
          "403": {
            "description": "Authorization error."
          },
          "404": {
            "description": "Objects not found."
          },
          "409": {
            "description": "Payload conflicts with existing object."
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/reports/{reportId}": {
      "patch": {
        "tags": [
          "Reports"
        ],
        "summary": "Patches a scenario level report",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "The scenario identifier.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "description": "The report identifier.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The dto.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchReportDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchReportDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchReportDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComponentReport"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Reports"
        ],
        "summary": "Runs a scenario level report",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "Id of the Scenario",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportId",
            "in": "path",
            "description": "Id of the report to run",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "criteria",
            "in": "query",
            "description": "Criteria for the report (if applicable)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportResponseDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/scenarios/{scenarioId}/results": { },
    "/v1/scenarios/{scenarioId}/results/upload-token": { },
    "/v1/scenarios/{scenarioId}/vector-tiles/{zoom}/{x}/{y}": {
      "get": {
        "tags": [
          "ScenarioLayers"
        ],
        "summary": "Gets the GeoJson strings for the specified layers given the slippy-map-tiles coordinates, and zoom level.",
        "parameters": [
          {
            "name": "scenarioId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "zoom",
            "in": "path",
            "description": "The zoom level that is used when dividing the world into tiles",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "x",
            "in": "path",
            "description": "The x coordinate for tile coordinate index",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "y",
            "in": "path",
            "description": "The y coordinate for tile coordinate index",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "layerIds",
            "in": "query",
            "description": "An array of layerIds to generate tiles for",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "The start date from which data should be returned. This is only applicable to layer tree nodes that have a DefaultDateRange property",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "The end date to which data should be returned. This is only applicable to layer tree nodes that have a DefaultDateRange property",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "failSilently",
            "in": "query",
            "description": "If true, won't throw errors from individual layers",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A List of geometries for the layer contained within the tile.",
            "content": {
              "application/vnd.geo+json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "the x, y or zoom value is not a positive integer\r\nlayerid[] is null or empty\r\nthe dates are specified for a layer that doesn't support them,\r\nthe dates are not specified for a layer that requires them,\r\nor the dates are not parseable"
          },
          "404": {
            "description": "The specified scenario or layer does not exist"
          }
        }
      }
    },
    "/v1/trace-quality-codes": {
      "get": {
        "tags": [
          "TraceQualityCodes"
        ],
        "summary": "Gets the list of all trace quality codes.",
        "responses": {
          "200": {
            "description": "Returns all trace quality codes.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceQualityCodeDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Gets a list of trace-set collections.",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetCollectionDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Gets trace-set collection with the specified id.",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "The id of the trace set collection to get the pixel map for",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceSetCollectionDto"
                }
              }
            }
          },
          "404": {
            "description": "The trace set collection was not found."
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/data/exports": {
      "get": {
        "tags": [
          "TraceSetCollectionsExport"
        ],
        "summary": "Gets a list of available exportable data for a trace set collection",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetForecastExportDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/data/exports/{traceSetExportId}": {
      "get": {
        "tags": [
          "TraceSetCollectionsExport"
        ],
        "summary": "Gets pixel data for a trace set collection observation export",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "traceSetExportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartTimeUtc",
            "in": "query",
            "description": "Data Start time",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Data Start time",
              "format": "date-time"
            }
          },
          {
            "name": "EndTimeUtc",
            "in": "query",
            "description": "Data End time",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Data End time",
              "format": "date-time"
            }
          },
          {
            "name": "TopLeftX",
            "in": "query",
            "description": "Top Left X",
            "required": true,
            "schema": {
              "type": "number",
              "description": "Top Left X",
              "format": "double"
            }
          },
          {
            "name": "TopLeftY",
            "in": "query",
            "description": "Top Left Y",
            "required": true,
            "schema": {
              "type": "number",
              "description": "Top Left Y",
              "format": "double"
            }
          },
          {
            "name": "BottomRightX",
            "in": "query",
            "description": "Bottom Right X",
            "required": true,
            "schema": {
              "type": "number",
              "description": "Bottom Right X",
              "format": "double"
            }
          },
          {
            "name": "BottomRightY",
            "in": "query",
            "description": "Bottom Right Y",
            "required": true,
            "schema": {
              "type": "number",
              "description": "Bottom Right Y",
              "format": "double"
            }
          },
          {
            "name": "PixelWidth",
            "in": "query",
            "description": "Pixel width for the export",
            "required": true,
            "schema": {
              "minimum": 0,
              "exclusiveMinimum": true,
              "type": "integer",
              "description": "Pixel width for the export",
              "format": "int32"
            }
          },
          {
            "name": "GeometryProjectionType",
            "in": "query",
            "description": "Type of projection for the export",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/GeometryProjectionTypes"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Limit of records to return",
            "required": true,
            "schema": {
              "maximum": 10000,
              "minimum": 0,
              "exclusiveMinimum": true,
              "type": "integer",
              "description": "Limit of records to return",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "Offset of records to return",
            "required": true,
            "schema": {
              "minimum": 0,
              "type": "integer",
              "description": "Offset of records to return",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetExportPixelDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/forecasts/exports": {
      "get": {
        "tags": [
          "TraceSetCollectionsExport"
        ],
        "summary": "Gets a list of available exportable forecasts for a trace set collection",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetForecastExportDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/forecasts/exports/{traceSetExportId}": {
      "get": {
        "tags": [
          "TraceSetCollectionsExport"
        ],
        "summary": "Gets pixel data for a trace set collection forecast export",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "traceSetExportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ForecastTimeUtc",
            "in": "query",
            "description": "Time of the forecast",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Time of the forecast",
              "format": "date-time"
            }
          },
          {
            "name": "TopLeftX",
            "in": "query",
            "description": "Top Left X",
            "required": true,
            "schema": {
              "type": "number",
              "description": "Top Left X",
              "format": "double"
            }
          },
          {
            "name": "TopLeftY",
            "in": "query",
            "description": "Top Left Y",
            "required": true,
            "schema": {
              "type": "number",
              "description": "Top Left Y",
              "format": "double"
            }
          },
          {
            "name": "BottomRightX",
            "in": "query",
            "description": "Bottom Right X",
            "required": true,
            "schema": {
              "type": "number",
              "description": "Bottom Right X",
              "format": "double"
            }
          },
          {
            "name": "BottomRightY",
            "in": "query",
            "description": "Bottom Right Y",
            "required": true,
            "schema": {
              "type": "number",
              "description": "Bottom Right Y",
              "format": "double"
            }
          },
          {
            "name": "PixelWidth",
            "in": "query",
            "description": "Pixel width for the export",
            "required": true,
            "schema": {
              "minimum": 0,
              "exclusiveMinimum": true,
              "type": "integer",
              "description": "Pixel width for the export",
              "format": "int32"
            }
          },
          {
            "name": "GeometryProjectionType",
            "in": "query",
            "description": "Type of projection for the export",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/GeometryProjectionTypes"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Limit of records to return",
            "required": true,
            "schema": {
              "maximum": 10000,
              "minimum": 0,
              "exclusiveMinimum": true,
              "type": "integer",
              "description": "Limit of records to return",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "Offset of records to return",
            "required": true,
            "schema": {
              "minimum": 0,
              "type": "integer",
              "description": "Offset of records to return",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetExportPixelDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/pixel-mapping": { },
    "/v1/trace-set-collections/{traceSetCollectionId}/pixel-mappings": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Gets pixel mappings for the trace-set collection.",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "The id of the trace set collection to get the pixel mappings for.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "srId",
            "in": "query",
            "description": "Projection SRID the geometries are returned as.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The pixel mappings of the collection.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetPixelMappingDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request was invalid."
          },
          "404": {
            "description": "The trace set collection was not found."
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/pixel-mappings/intersects-geometry": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Gets pixel mappings for the trace-set collection that intersect with a geometry.",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "The id of the trace set collection to get the pixel mappings for.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "srId",
            "in": "query",
            "description": "Projection SRID for the geometry to find pixel mappings for.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "wkt",
            "in": "query",
            "description": "Well Known Text for the geometry to find pixel mappings for.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetPixelMappingDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request was invalid."
          },
          "404": {
            "description": "The trace set collection was not found."
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/pixel-mappings/metadata": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Returns metadata values for one or many traceset pixel indices of the same collection",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "Unique identifier of the traceset collection",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pi",
            "in": "query",
            "description": "One or many pixel indices",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the collection of requested metadata per pixel",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetPixelMappingMetadataDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "404": {
            "description": "Traceset collection was not found"
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Gets the trace-sets that belong to this provided trace-set-collection",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The trace set collection was not found."
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/{traceSetId}/data/bulk": { },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/{traceSetId}/errors": { },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/{traceSetId}/forecasts": { },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/{traceSetId}/forecasts/latest": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Gets the latest forecast time of the given traceSet",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "traceSetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the forecast time",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceSetForecastTimeDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid traceSetId or TraceSetCollectionId"
          },
          "404": {
            "description": "No forecast was found"
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/{traceSetId}/forecasts/times": { },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/{traceSetId}/realtime/push-min-time": { },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/{traceSetId}/times": { },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/{traceSetId}/values": { },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/aggregate": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Requests an aggregate of trace set data across the configured pixels and trace sets, for each time in the data.\r\nThe trace sets selected must all share the same dataoffsetseconds.",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "TsId",
            "in": "query",
            "description": "Collection of Ids of the Trace Sets",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              },
              "description": "Collection of Ids of the Trace Sets"
            }
          },
          {
            "name": "StartTime",
            "in": "query",
            "description": "Start Time of the data",
            "schema": {
              "type": "string",
              "description": "Start Time of the data",
              "format": "date-time"
            }
          },
          {
            "name": "EndTime",
            "in": "query",
            "description": "End Time of the data",
            "schema": {
              "type": "string",
              "description": "End Time of the data",
              "format": "date-time"
            }
          },
          {
            "name": "Pi",
            "in": "query",
            "description": "Collection of Pixel Indices",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              },
              "description": "Collection of Pixel Indices"
            }
          },
          {
            "name": "AggregateType",
            "in": "query",
            "description": "What type of aggregate to calculate over each time point.",
            "schema": {
              "$ref": "#/components/schemas/AggregateTypes"
            }
          },
          {
            "name": "AggregateParameter",
            "in": "query",
            "description": "Additional parameter for the aggregate if applicable, i.e. if AggregateType is quantile, what is tau?",
            "schema": {
              "type": "number",
              "description": "Additional parameter for the aggregate if applicable, i.e. if AggregateType is quantile, what is tau?",
              "format": "double",
              "nullable": true
            }
          },
          {
            "name": "ResolutionSecs",
            "in": "query",
            "description": "Optional time resolution in seconds to aggregate to. Must be a multiple of the original resolution.",
            "schema": {
              "type": "integer",
              "description": "Optional time resolution in seconds to aggregate to. Must be a multiple of the original resolution.",
              "format": "int32",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceSetDataAggregateDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/data": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Returns data values for one or many tracesets of the same collection by time range and pixel indices",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "TsId",
            "in": "query",
            "description": "Collection of Ids of the Trace Sets",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              },
              "description": "Collection of Ids of the Trace Sets"
            }
          },
          {
            "name": "StartTime",
            "in": "query",
            "description": "Start Time of the data",
            "schema": {
              "type": "string",
              "description": "Start Time of the data",
              "format": "date-time"
            }
          },
          {
            "name": "EndTime",
            "in": "query",
            "description": "End Time of the data",
            "schema": {
              "type": "string",
              "description": "End Time of the data",
              "format": "date-time"
            }
          },
          {
            "name": "Pi",
            "in": "query",
            "description": "Collection of Pixel Indices",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              },
              "description": "Collection of Pixel Indices"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetDataValuesDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/forecasts/aggregate": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Requests an aggregate of trace set forecast data across the configured pixels and trace sets, for each time in the data.\r\nThe trace sets selected must all share the same dataoffsetseconds.",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "TsId",
            "in": "query",
            "description": "Collection of Ids of the Trace Sets",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              },
              "description": "Collection of Ids of the Trace Sets"
            }
          },
          {
            "name": "ForecastTime",
            "in": "query",
            "description": "Time of the Forecast",
            "schema": {
              "type": "string",
              "description": "Time of the Forecast",
              "format": "date-time"
            }
          },
          {
            "name": "Pi",
            "in": "query",
            "description": "Collection of Pixel Indices",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              },
              "description": "Collection of Pixel Indices"
            }
          },
          {
            "name": "AggregateType",
            "in": "query",
            "description": "What type of aggregate to calculate over each time point.",
            "schema": {
              "$ref": "#/components/schemas/AggregateTypes"
            }
          },
          {
            "name": "AggregateParameter",
            "in": "query",
            "description": "Additional parameter for the aggregate if applicable, i.e. if AggregateType is quantile, what is tau?",
            "schema": {
              "type": "number",
              "description": "Additional parameter for the aggregate if applicable, i.e. if AggregateType is quantile, what is tau?",
              "format": "double",
              "nullable": true
            }
          },
          {
            "name": "ResolutionSecs",
            "in": "query",
            "description": "Optional time resolution in seconds to aggregate to. Must be a multiple of the original resolution.",
            "schema": {
              "type": "integer",
              "description": "Optional time resolution in seconds to aggregate to. Must be a multiple of the original resolution.",
              "format": "int32",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceSetForecastDataAggregateDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/trace-sets/forecasts/data": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Returns forecast data values for one or many tracesets of the same collection by forecast time and pixel indices",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "TsId",
            "in": "query",
            "description": "Collection of Ids of the Trace Sets",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              },
              "description": "Collection of Ids of the Trace Sets"
            }
          },
          {
            "name": "ForecastTime",
            "in": "query",
            "description": "Time of the Forecast",
            "schema": {
              "type": "string",
              "description": "Time of the Forecast",
              "format": "date-time"
            }
          },
          {
            "name": "Pi",
            "in": "query",
            "description": "Collection of Pixel Indices",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              },
              "description": "Collection of Pixel Indices"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceSetForecastDataValuesDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/trace-set-collections/{traceSetCollectionId}/upload-token": {
      "get": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Generates a token to upload a zip file containing tiff files to be imported into the specified trace set.",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "The id of the trace set collection to generate the upload token for",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "filename",
            "in": "query",
            "description": "The name of the file that will be uploaded. The filename must not contain any directory",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "File upload url generated with upload information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileUploadDto"
                }
              }
            }
          },
          "400": {
            "description": "The file name specified is invalid."
          },
          "404": {
            "description": "The trace set collection was not found."
          }
        }
      },
      "put": {
        "tags": [
          "TraceSetCollections"
        ],
        "summary": "Notifies the API to import data to the trace-set from the specified file key.",
        "parameters": [
          {
            "name": "traceSetCollectionId",
            "in": "path",
            "description": "The id of the trace set collection to import the data into",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "key",
            "in": "query",
            "description": "The key of the file that has been uploaded. This is given in the response of the GET /trace-set-collections/{id}/upload-token route",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isBackfill",
            "in": "query",
            "description": "True if the data for this already exists and we are updating",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The file with the specified key will be processed."
          },
          "404": {
            "description": "The trace set collection was not found."
          },
          "400": {
            "description": "The key was not specified."
          }
        }
      }
    },
    "/v1/trace-set-collections/data/exports/download": {
      "post": {
        "tags": [
          "TraceSetCollectionsExport"
        ],
        "summary": "Starts the process of a creating a file with the requested trace set export data",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDataExportFileDownloadDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDataExportFileDownloadDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDataExportFileDownloadDto"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted"
          }
        }
      }
    },
    "/v1/trace-set-collections/forecasts/exports/download": {
      "post": {
        "tags": [
          "TraceSetCollectionsExport"
        ],
        "summary": "Starts the process of a creating a file with the requested trace set export data",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateForecastExportFileDownloadDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateForecastExportFileDownloadDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateForecastExportFileDownloadDto"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted"
          }
        }
      }
    },
    "/v1/trace-set-collections/wrap-up-lock": { },
    "/v1/traces": {
      "post": {
        "tags": [
          "Traces"
        ],
        "summary": "Creates a new trace with a basic set of initial parameters.",
        "requestBody": {
          "description": "A collection of details about the new trace to create",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Creates and returns a new trace.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceDto"
                }
              }
            }
          },
          "400": {
            "description": "No trace dto was specified."
          },
          "404": {
            "description": "The specified asset or dataVariableType were not found."
          }
        }
      }
    },
    "/v1/traces/{traceId}": {
      "patch": {
        "tags": [
          "Traces"
        ],
        "summary": "Updates the details of a trace",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchTraceDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchTraceDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchTraceDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the updated trace.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceDto"
                }
              }
            }
          },
          "400": {
            "description": "The dto is invalid."
          },
          "404": {
            "description": "No trace exists with the specified id."
          }
        }
      },
      "delete": {
        "tags": [
          "Traces"
        ],
        "summary": "Deletes a trace",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "The trace identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "description": "The project identifier",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The trace was deleted."
          },
          "404": {
            "description": "The trace was not found."
          },
          "400": {
            "description": "Some of the request parameters were not valid."
          }
        }
      }
    },
    "/v1/traces/{traceId}/ari": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets ARI values for a trace",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "",
            "schema": {
              "$ref": "#/components/schemas/TraceAriTypes"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceAriDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/traces/{traceId}/attributes": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Get attributes for the trace from the given traceId",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "Id of the trace",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceAttributeDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No trace found with the specified traceId."
          },
          "204": {
            "description": "Returns the trace attributes with the specified traceId."
          }
        }
      }
    },
    "/v1/traces/{traceId}/data": {
      "delete": {
        "tags": [
          "Traces"
        ],
        "summary": "Deletes data for the trace within the specified UTC time range.",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "The id of the trace to delete for",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "The UTC start time to delete data from",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "The UTC end time to delete data to",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted trace data for specified datetime range."
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          },
          "404": {
            "description": "The trace was not found."
          }
        }
      }
    },
    "/v1/traces/{traceId}/data-aggregates": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets aggregate totals for a range of trace data",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "dataType",
            "in": "query",
            "description": "",
            "schema": {
              "$ref": "#/components/schemas/GroupingDataTypes"
            }
          },
          {
            "name": "dataInterval",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceDataAggregatesDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/traces/{traceId}/data-timings": { },
    "/v1/traces/{traceId}/data/complex": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets complex data for the specified trace.",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "The id of the trace to get the complex data for",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "The start time to get the complex data from",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "The end time to get the complex data to",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A collection of complex data as requested.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComplexTraceDataCollectionDto"
                }
              }
            }
          },
          "400": {
            "description": "Request was invalid - check response body for more details."
          },
          "404": {
            "description": "The trace was not found with the specified id."
          }
        }
      },
      "put": {
        "tags": [
          "Traces"
        ],
        "summary": "Saves complex data for the trace.",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "The id of the trace the data is for",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "An object containing the complex data",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddComplexTraceDataDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddComplexTraceDataDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddComplexTraceDataDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Data was successfully saved against trace."
          },
          "400": {
            "description": "Request was invalid - check response body for more details."
          },
          "404": {
            "description": "The trace was not found with the specified id."
          }
        }
      }
    },
    "/v1/traces/{traceId}/data/utc": {
      "post": {
        "tags": [
          "Traces"
        ],
        "summary": "Saves the specified data for the trace using unambiguous times.",
        "description": "Request limits: Each request is limited to 8,640 data-points.",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "The id of the trace the data is for",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "An object containing the data and some related flags",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTraceDataUtcDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTraceDataUtcDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddTraceDataUtcDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Trace data successfully saved against trace."
          },
          "400": {
            "description": "No trace data was specified."
          },
          "404": {
            "description": "No trace found with the specified traceId."
          }
        }
      },
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets data for the specified trace.\r\nThe data is returned ordered from the earliest data point to the latest data point.",
        "description": "Request limits: Virtual trace requests are limited to 32 days of data. Non-virtual trace requests are limited to 46,080 data-points (e.g. 32 days for a 1 minute resolution trace or 160 days for a 5 minute resolution trace).",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "The id of the trace to get the data for",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "The start time to get the data from",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "The end time to get the data to",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "dataType",
            "in": "query",
            "description": "The type of summary algorithm to use. Valid options are: None, Mean, Maximum, Minimum, Start, End, First, Last, Total",
            "schema": {
              "$ref": "#/components/schemas/GroupingDataTypes"
            }
          },
          {
            "name": "dataInterval",
            "in": "query",
            "description": "The period between data points in seconds",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "padWithZeroes",
            "in": "query",
            "description": "If true, then all missing values will be replaced with zero values",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A collection of gauge data with summary information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SummarisedPagedTraceDataCollectionDto"
                }
              }
            }
          },
          "400": {
            "description": "Required argument was not specified, from date is not before to date, data type is not one of the valid values, or a rain gauge is specified and the data type is not Total."
          },
          "404": {
            "description": "The gauge was not found with the specified id."
          }
        }
      }
    },
    "/v1/traces/{traceId}/links": { },
    "/v1/traces/{traceId}/metadata": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets any related metadata and virtual trace configuration for the specified trace.",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A collection of available metadata and virtual trace configuration for the specified trace.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceMetadataDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request was invalid - check response body for more details."
          },
          "404": {
            "description": "The trace was not found with the specified id."
          }
        }
      },
      "put": {
        "tags": [
          "Traces"
        ],
        "summary": "Replaces the metadata and virtual trace configuration for the specified trace.",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplaceTraceMetadataDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplaceTraceMetadataDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReplaceTraceMetadataDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "An updated collection of related metadata and virtual trace configuration for the trace.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceMetadataDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request was invalid - check response body for more details."
          },
          "404": {
            "description": "The trace was not found with the specified id."
          }
        }
      },
      "delete": {
        "tags": [
          "Traces"
        ],
        "summary": "Removes the metadata and virtual trace configuration for the specified trace.",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The metadata and virtual trace configurtation if present was removed sucessfully."
          },
          "400": {
            "description": "Request was invalid - check response body for more details."
          },
          "404": {
            "description": "The trace was not found with the specified id."
          }
        }
      }
    },
    "/v1/traces/{traceId}/relationships": { },
    "/v1/traces/{traceId}/thresholds": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets threshold information for trace",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceThresholdsDto"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Traces"
        ],
        "summary": "Creates a threshold for a trace",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceThresholdDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceThresholdDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceThresholdDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Returns the trace's thresholds.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceThresholdsDto"
                }
              }
            }
          },
          "400": {
            "description": "Request contains invalid value."
          },
          "404": {
            "description": "No trace was found with the specified id."
          }
        }
      }
    },
    "/v1/traces/{traceId}/thresholds/{thresholdId}": {
      "patch": {
        "tags": [
          "Traces"
        ],
        "summary": "Updates details on a trace's threshold",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "thresholdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchTraceThresholdDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchTraceThresholdDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchTraceThresholdDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the trace's thresholds.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceThresholdsDto"
                }
              }
            }
          },
          "400": {
            "description": "Request contains invalid value."
          },
          "404": {
            "description": "No trace or threshold was found with the specified id."
          }
        }
      },
      "delete": {
        "tags": [
          "Traces"
        ],
        "summary": "Deletes a trace's threshold",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "thresholdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Trace threshold was deleted successfully."
          },
          "400": {
            "description": "Request details are not valid or was unable to delete the threshold."
          },
          "404": {
            "description": "No trace or threshold was found with the specified id."
          }
        }
      }
    },
    "/v1/traces/{traceId}/times": {
      "put": {
        "tags": [
          "Traces"
        ],
        "summary": "Updates times for a certain type for a trace and notifies times updated for all related traces if applicable.",
        "description": "* For telemetered type: ArchivedMaximumTime + TelemeteredMaximumTime times must be supplied.\r\n* For archived type: IsArchiveUpdate must be set to true and ArchivedMinimumTime + ArchivedMaximumTime times must be supplied.\r\n* For forecast type: ForecastedMinimumTime + ForecastedMaximumTime times must be supplied.\r\n            \r\nNOTE there are restrictions on how times fields can be updated due to how data generation works:\r\n* Minimum times can only be updated to be less than their current stored value\r\n* Maximum times can only be updated to be greater than their current stored value",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "Id of the trace",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "includeRoot",
            "in": "query",
            "description": "(Optional)Update the root trace instead of the related traces in recursive update operations - default behaviour is update related",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "propagateOnly",
            "in": "query",
            "description": "(Optional)Propagate the times update in recursive update operations only - default behaviour is to update times for this trace in addition to recursive update operations",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "isRefresh",
            "in": "query",
            "description": "(Optional)Allows overriding cascading update behaviour for backfilling (using a stored trace with existing data only)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "Details of times that have been changed",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TraceTimesDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TraceTimesDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TraceTimesDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/traces/{traceId}/times-info": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets times information for a trace with the specified id.",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the trace with the specified traceId.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceTimesInfoDto"
                }
              }
            }
          },
          "404": {
            "description": "No trace found with the specified traceId."
          }
        }
      }
    },
    "/v1/traces/{traceId}/to-derived": { },
    "/v1/traces/{traceId}/unambiguous": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets a trace with the specified id.",
        "parameters": [
          {
            "name": "traceId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the trace with the specified traceId.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceDto"
                }
              }
            }
          },
          "404": {
            "description": "No trace found with the specified traceId."
          }
        }
      }
    },
    "/v1/traces/data-variable-types": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets a list of shared data variable types.",
        "responses": {
          "200": {
            "description": "List of shared Data Variable Type information.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataVariableTypeDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/traces/data-variable-types/{dataVariableTypeId}": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets a data variable type dto with the specified id.",
        "parameters": [
          {
            "name": "dataVariableTypeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Data Variable Type information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataVariableTypeDto"
                }
              }
            }
          },
          "404": {
            "description": "No Data Variable Type exists with the specified id."
          }
        }
      }
    },
    "/v1/traces/data/scatter": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Matches the 2 traces to get the count of each corresponding x and y values",
        "parameters": [
          {
            "name": "xTraceId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "yTraceId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "dataInterval",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScatterPlotDataDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/traces/data/third-party-resources/aggregated": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets an aggregated data point for each matching trace for the supplied thirdPartyIds",
        "description": "Only approved projects may call this route. Only non-virtual or stored virtual traces will be called.",
        "parameters": [
          {
            "name": "identityProjectId",
            "in": "query",
            "description": "The Identity ProjectId of the ThirdPartyIds.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "thirdPartyType",
            "in": "query",
            "description": "The type of the thirdPartyIds.",
            "schema": {
              "$ref": "#/components/schemas/AssetThirdPartyTypes"
            }
          },
          {
            "name": "thirdPartyIds",
            "in": "query",
            "description": "A list of ThirdPartyIds used for finding the matching traces.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "dataVariableTypeId",
            "in": "query",
            "description": "The DataType of the traces to match on.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "aggregationType",
            "in": "query",
            "description": "The type of aggregation method used. Must be Mean, Maximum, Minimum, or Total.",
            "schema": {
              "$ref": "#/components/schemas/GroupingDataTypes"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "The start date of the aggregation window. Inclusive.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "The end date of the aggregation window. Exclusive. Maximum of 1 year after From.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2019-12-30T10:59:30Z"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns an aggregate for each trace of the given dataVariableTypeId, for all of the supplied thirdPartyIds.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThirdPartyTraceDataValuesDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/traces/info": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets all traces for a project",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "dataVariableTypeId",
            "in": "query",
            "description": "Optional filtering by data variable type id (omit value for no filtering)",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "traceDescription",
            "in": "query",
            "description": "Optional filtering by trace description (omit value for no filtering)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of traces for the project.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceInfoDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The project requested does not exist."
          }
        }
      }
    },
    "/v1/traces/info/have-categorized-thresholds": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets all traces for a project that have categorized thresholds",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of traces for the project that have categorized thresholds.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceInfoDto"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The project requested does not exist."
          }
        }
      }
    },
    "/v1/traces/metadata-types": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets a list of available trace metadata types.",
        "responses": {
          "200": {
            "description": "A collection of available trace metadata types.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceMetadataTypeDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/traces/third-party-resource/{thirdPartyId}": {
      "post": {
        "tags": [
          "Traces"
        ],
        "summary": "Creates a trace for a given third-party resource",
        "description": "This will create a dummy asset if one does not already exist",
        "parameters": [
          {
            "name": "thirdPartyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "thirdPartyType",
            "in": "query",
            "description": "Third Party Mapping Type for Asset",
            "schema": {
              "$ref": "#/components/schemas/AssetThirdPartyTypes"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceSimpleDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceSimpleDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTraceSimpleDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Creates and returns a new trace.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceDto"
                }
              }
            }
          },
          "400": {
            "description": "Supplied values are invalid."
          }
        }
      },
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets the traces for a given third-party resource",
        "parameters": [
          {
            "name": "thirdPartyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "thirdPartyType",
            "in": "query",
            "description": "Third Party Mapping Type for Asset",
            "schema": {
              "$ref": "#/components/schemas/AssetThirdPartyTypes"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of traces",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Supplied values are invalid."
          }
        }
      }
    },
    "/v1/traces/threshold-categories": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Returns available threshold categories for a datavariablethreshold or threshold alarm criteria",
        "responses": {
          "200": {
            "description": "Returns available threshold categories for a datavariablethreshold or threshold alarm criteria.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ThresholdCategoryDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/traces/times-bulk": { },
    "/v1/traces/unambiguous": {
      "get": {
        "tags": [
          "Traces"
        ],
        "summary": "Gets a list of traces for the specified ids.",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "description": "A list of trace ids",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns all traces found in the list of ids.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TraceDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "No ids specified"
          }
        }
      }
    },
    "/v1/uploads/{correlationIdentifier}": { },
    "/v1/uploads/{correlationIdentifier}/required-information": {
      "get": {
        "tags": [
          "Uploads"
        ],
        "summary": "Gets all the information that is required to be supplied for a given upload",
        "parameters": [
          {
            "name": "correlationIdentifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the information required.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UploadUserInformationRequiredDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          }
        }
      }
    },
    "/v1/uploads/upload-token": {
      "post": {
        "tags": [
          "Uploads"
        ],
        "summary": "Retrieves a transient file upload token, which allows you to upload temporary files. These files\r\nmay be specifically consumed by other endpoints, but may otherwise be automatically cleaned up.",
        "parameters": [
          {
            "name": "filename",
            "in": "query",
            "description": "The filename of the new temporary file.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TempFileUploadDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users": { },
    "/v1/users/{globalUserId}": { },
    "/v1/users/{userId}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets user information by the user's ID, which may either be an integer ID or global identifier (GUID).",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "The user identifier, either as its integer ID or global identifier (GUID).",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid userId."
          },
          "404": {
            "description": "User not found."
          }
        }
      }
    },
    "/v1/users/{userId}/access-cache/flush": { },
    "/v1/users/{userId}/long-running-processes": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets a list of long running processes for the given user",
        "description": "Deprecation Info: Use GET /users/long-running-processes instead.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LongRunningProcessDto"
                  }
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/v1/users/{userId}/long-running-processes/{correlationIdentifier}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets a long running process for the given user and identifier",
        "description": "Deprecation Info: Use GET /users/long-running-processes/{correlationIdentifier} instead.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "correlationIdentifier",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunningProcessDto"
                }
              }
            }
          }
        },
        "deprecated": true
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Deletes the long running process with the specified CorrelationIdentifier",
        "description": "Deprecation Info: Use DELETE /users/long-running-processes/{correlationIdentifier} instead.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "correlationIdentifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted successfully."
          },
          "400": {
            "description": "Some of the request parameters are invalid."
          }
        },
        "deprecated": true
      }
    },
    "/v1/users/check-permissions": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Check one or more authorizations for the logged-in user.",
        "requestBody": {
          "description": "The individual authorizations to query for.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClaimsQueryDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClaimsQueryDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ClaimsQueryDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClaimsResponseDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/globalids": { },
    "/v1/users/long-running-processes": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets a list of long running processes for the requesting user",
        "responses": {
          "200": {
            "description": "List of details of the long running processes.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LongRunningProcessDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/long-running-processes/{correlationIdentifier}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets a long running process for the requesting user with the specified correlationIdentifier",
        "parameters": [
          {
            "name": "correlationIdentifier",
            "in": "path",
            "description": "Unique identifier of the long running process",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Details of the long running process.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunningProcessDto"
                }
              }
            }
          },
          "404": {
            "description": "The long running process does not exist."
          },
          "403": {
            "description": "The long running process does not belong to requesting user."
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Deletes a long running process for the requesting user with the specified correlationIdentifier",
        "parameters": [
          {
            "name": "correlationIdentifier",
            "in": "path",
            "description": "Unique identifier of the long running process",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted successfully."
          },
          "404": {
            "description": "The long running process does not exist."
          },
          "403": {
            "description": "The long running process does not belong to requesting user."
          }
        }
      }
    },
    "/v1/users/roles": { },
    "/v1/users/roles/{roleId}/permissions": { },
    "/v1/users/who-am-i": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Gets the user information of the calling user",
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "description": "If not provided then it will use the userId associated with your access token",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/{webHookId}": { },
    "/v1/webhooks/{webHookId}/params": { }
  },
  "components": {
    "schemas": {
      "AccessGroupDetailDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the access-group",
            "nullable": true
          },
          "access": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectAccess"
            },
            "description": "Access permission on the access-group",
            "nullable": true
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserSimplifiedDto"
            },
            "description": "Users assigned to the access-group",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of an access-group in the system."
      },
      "AccessGroupDto": {
        "type": "object",
        "properties": {
          "globalGroupId": {
            "type": "string",
            "description": "Global id of the access-group",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Name of the access-group",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the access-group",
            "nullable": true
          },
          "projectId": {
            "type": "integer",
            "description": "Project id of the access-group",
            "format": "int32"
          },
          "access": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectAccess"
            },
            "description": "Access permission on the project",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of an access-group in the system."
      },
      "AccessGroupSimplifiedDto": {
        "type": "object",
        "properties": {
          "globalGroupId": {
            "type": "string",
            "description": "Global id of the access-group",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Name of the access-group",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A simplified representation of an access-group in the system."
      },
      "AccessOperations": {
        "enum": [
          "NONE",
          "ADMINISTRATE",
          "READ",
          "EDIT",
          "ADD_REMOVE",
          "ANNOTATE",
          "RUN"
        ],
        "type": "string",
        "description": "A verb which, combined with AccessTargets (noun), represents some operation which a user can or may be able to perform."
      },
      "AccessTargets": {
        "enum": [
          "WORK",
          "SCENARIO",
          "ASSET",
          "ASSET_TYPE",
          "ASSET_DATA_TYPE",
          "ASSET_DATA_SOURCE",
          "ASSET_GAUGE_SUMMARY",
          "USER",
          "ROLE",
          "LAYER_TREE",
          "DOCUMENT",
          "NOTE",
          "DATASOURCE",
          "ALARM",
          "NOTIFICATION",
          "WEB_HOOK",
          "TRACE_SET",
          "REPORT",
          "MODEL_TYPE",
          "ACCESS_GROUP",
          "CONFIGURATION",
          "EXTENSION_CONFIGURATION"
        ],
        "type": "string",
        "description": "A noun which, combined with AccessOperations (verb), represents some operation which a user can or may be able to perform."
      },
      "AddComplexTraceDataDto": {
        "type": "object",
        "properties": {
          "geometries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComplexTraceDataGeometryDto"
            },
            "description": "The complex geometry data to add to the trace",
            "nullable": true
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComplexTraceDataTemporaryFileDto"
            },
            "description": "The temporary complex files to add to the trace",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a collection of complex data to add to a trace."
      },
      "AddTraceDataTimingsForTraceDto": {
        "type": "object",
        "properties": {
          "traceDataTimings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TraceDataTimingDto"
            },
            "description": "The information to add to the trace timings",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a collection of timing information to add to a trace."
      },
      "AddTraceDataUtcDto": {
        "type": "object",
        "properties": {
          "traceData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TraceDataUtcDto"
            },
            "description": "The data to add to the trace.",
            "nullable": true
          },
          "isArchived": {
            "type": "boolean",
            "description": "Indicates whether the data is archived, or telemetered data."
          },
          "isForecast": {
            "type": "boolean",
            "description": "Indicates whether the data is forecasted, or telemetered data."
          },
          "removeExistingData": {
            "type": "boolean",
            "description": "Controls whether to replace existing trace data between the start and end times of the data being upserted."
          },
          "recursionInfo": {
            "$ref": "#/components/schemas/TraceTimesUpdateRecursionDto"
          },
          "isRefresh": {
            "type": "boolean",
            "description": "(Optional) Allows overriding cascading update behaviour for backfilling (using a stored trace with existing data only)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a collection of data to add to a trace."
      },
      "AddUserToAccessGroupDto": {
        "required": [
          "username"
        ],
        "type": "object",
        "properties": {
          "username": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string",
            "description": "Email address of the user",
            "format": "email"
          },
          "firstName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string",
            "description": "First name of the user",
            "nullable": true
          },
          "lastName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string",
            "description": "Last name of the user",
            "nullable": true
          },
          "smsNumber": {
            "type": "string",
            "description": "The users sms number",
            "nullable": true
          },
          "organisation": {
            "type": "string",
            "description": "The users organisation",
            "nullable": true
          },
          "globalUserId": {
            "type": "string",
            "description": "Global unique identifier of the user",
            "format": "uuid"
          },
          "globalGroupId": {
            "type": "string",
            "description": "Global unique identifier of the access group",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a user assigned to an access-group"
      },
      "AggregateTypes": {
        "enum": [
          "Max",
          "Min",
          "Total",
          "Mean",
          "Quantile"
        ],
        "type": "string",
        "description": "How should the data be aggregated?"
      },
      "AlarmCategories": {
        "enum": [
          "Breach",
          "SiteHealth"
        ],
        "type": "string",
        "description": "Alarm categories"
      },
      "AlarmDetailedInfoDto": {
        "type": "object",
        "properties": {
          "alarmId": {
            "type": "integer",
            "description": "Id of the related Alert",
            "format": "int32"
          },
          "alarmState": {
            "$ref": "#/components/schemas/AlarmStates"
          },
          "alarmType": {
            "$ref": "#/components/schemas/AlarmTypes"
          },
          "alarmThresholds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmThresholdDto"
            },
            "description": "Thresholds of the Alarm",
            "nullable": true
          },
          "maxLookbackOverride": {
            "type": "string",
            "description": "Maximum lookback period override",
            "nullable": true,
            "example": "00:00:00"
          },
          "sampleCountOverride": {
            "type": "integer",
            "description": "Number of ascending samples override",
            "format": "int32",
            "nullable": true
          },
          "sampleCountDescendingOverride": {
            "type": "integer",
            "description": "Number of desceding samples override",
            "format": "int32",
            "nullable": true
          },
          "notificationTimeZone": {
            "type": "string",
            "description": "Presentation time zone for user notifications",
            "nullable": true
          },
          "raisedStateExpiry": {
            "type": "string",
            "description": "Maximum interval that raised state can exist for (optional - null = never expire)",
            "nullable": true,
            "example": "00:00:00"
          },
          "description": {
            "type": "string",
            "description": "Description of the alarm",
            "nullable": true
          },
          "traceId": {
            "type": "integer",
            "description": "Id of the Trace related to the alarm",
            "format": "int32",
            "nullable": true
          },
          "assetId": {
            "type": "integer",
            "description": "Id of the related Asset",
            "format": "int32",
            "nullable": true
          },
          "snoozeUntil": {
            "type": "string",
            "description": "The time this alarm will finish snoozing",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "projectId": {
            "type": "integer",
            "description": "Id of the related Project",
            "format": "int32"
          },
          "latestStateForThresholdLevel": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmDetailedStateDto"
            },
            "description": "Latest state of the alarm for specific threshold level",
            "nullable": true
          },
          "statusMessage": {
            "type": "string",
            "description": "Status message for the alarm",
            "nullable": true
          },
          "breachDelay": {
            "type": "string",
            "description": "Delay for breach",
            "nullable": true,
            "example": "00:00:00"
          },
          "reliefDelay": {
            "type": "string",
            "description": "Delay for relief",
            "nullable": true,
            "example": "00:00:00"
          },
          "resolution": {
            "type": "integer",
            "description": "The resolution of the stored data in seconds",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Information about an alarm in a project context"
      },
      "AlarmDetailedStateDto": {
        "type": "object",
        "properties": {
          "alarmId": {
            "type": "integer",
            "description": "Id of the related Alarm",
            "format": "int32"
          },
          "raisedAlarmStateId": {
            "type": "integer",
            "description": "Id of the last raised alarm (if applicable)",
            "format": "int64",
            "nullable": true
          },
          "checkedEventTime": {
            "type": "string",
            "description": "Last time checked (if applicable)",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "raisedEventTime": {
            "type": "string",
            "description": "Event time of the last raised alarm (if applicable)",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "raisedDescription": {
            "type": "string",
            "description": "Description of the last raised alarm (if applicable)",
            "nullable": true
          },
          "raisedEventLevel": {
            "type": "number",
            "description": "Event Level of the last raised alarm (if applicable)",
            "format": "double",
            "nullable": true
          },
          "raisedEventThresholdLevel": {
            "type": "number",
            "description": "Event threshold level of the last raised alarm (if applicable)",
            "format": "double",
            "nullable": true
          },
          "raisedEventDetails": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Event details of the last raised alarm (if applicable)",
            "nullable": true
          },
          "raisedEventAcknowledgement": {
            "$ref": "#/components/schemas/RaisedEventAcknowledgementDto"
          }
        },
        "additionalProperties": false,
        "description": "Represents an alarms previous state"
      },
      "AlarmDto": {
        "type": "object",
        "properties": {
          "alarmId": {
            "type": "integer",
            "description": "Id of the related Alert",
            "format": "int32"
          },
          "alarmState": {
            "$ref": "#/components/schemas/AlarmStates"
          },
          "alarmType": {
            "$ref": "#/components/schemas/AlarmTypes"
          },
          "alarmCategory": {
            "$ref": "#/components/schemas/AlarmCategories"
          },
          "alarmThresholds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmThresholdDto"
            },
            "description": "Thresholds of the Alarm",
            "nullable": true
          },
          "maxLookbackOverride": {
            "type": "string",
            "description": "Maximum lookback period override",
            "nullable": true,
            "example": "00:00:00"
          },
          "sampleCountOverride": {
            "type": "integer",
            "description": "Number of ascending samples override",
            "format": "int32",
            "nullable": true
          },
          "sampleCountDescendingOverride": {
            "type": "integer",
            "description": "Number of desceding samples override",
            "format": "int32",
            "nullable": true
          },
          "notificationTimeZone": {
            "type": "string",
            "description": "Presentation time zone for user notifications",
            "nullable": true
          },
          "raisedStateExpiry": {
            "type": "string",
            "description": "Maximum interval that raised state can exist for (optional - null = never expire)",
            "nullable": true,
            "example": "00:00:00"
          },
          "description": {
            "type": "string",
            "description": "Description of the alarm",
            "nullable": true
          },
          "traceId": {
            "type": "integer",
            "description": "Id of the Trace related to the alarm",
            "format": "int32",
            "nullable": true
          },
          "assetId": {
            "type": "integer",
            "description": "Id of the related Asset",
            "format": "int32",
            "nullable": true
          },
          "snoozeUntil": {
            "type": "string",
            "description": "The time this alarm will finish snoozing",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "hasWebhookTemplates": {
            "type": "boolean",
            "description": "Flag for if alarm has associated webhook templates"
          },
          "breachDelay": {
            "type": "string",
            "description": "Delay for breach",
            "nullable": true,
            "example": "00:00:00"
          },
          "reliefDelay": {
            "type": "string",
            "description": "Delay for relief",
            "nullable": true,
            "example": "00:00:00"
          }
        },
        "additionalProperties": false,
        "description": "Alarm information DTO"
      },
      "AlarmNotificationCriteriaDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Key for criteria",
            "nullable": true
          },
          "possibleValues": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Possible values for criteria",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Alarm Notification Criteria DTO"
      },
      "AlarmNotificationDto": {
        "required": [
          "emailMessageTemplate",
          "emailSubjectTemplate",
          "smsMessageTemplate"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the Alarm Notification",
            "format": "int32",
            "nullable": true
          },
          "alarmId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the related Alarm",
            "format": "int32"
          },
          "alarmUserGroupId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the related Alarm User Group",
            "format": "int32"
          },
          "criteria": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Criteria for the Alarm Notification",
            "nullable": true
          },
          "emailSubjectTemplate": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string",
            "description": "Template for the Email Subject"
          },
          "emailMessageTemplate": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "Template for the Email Message"
          },
          "smsMessageTemplate": {
            "maxLength": 160,
            "minLength": 1,
            "type": "string",
            "description": "Template for the SMS Message"
          },
          "webHookTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmNotificationWebHookDto"
            },
            "description": "Templates for Web Hooks",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Alarm Notification DTO"
      },
      "AlarmNotificationTemplateTokenDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Key for the token",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the token",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Alarm Notification DTO"
      },
      "AlarmNotificationTemplateTokensDto": {
        "type": "object",
        "properties": {
          "common": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmNotificationTemplateTokenDto"
            },
            "description": "Tokens that can be used in all alarm notification templates",
            "nullable": true
          },
          "overflowAlarm": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmNotificationTemplateTokenDto"
            },
            "description": "Tokens that can only be used for overflow type alarm notification templates",
            "nullable": true
          },
          "recencyAlarm": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmNotificationTemplateTokenDto"
            },
            "description": "Tokens that can only be used with recency type alarm notification templates",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Tokens availble to use in templates for alarm user notifications"
      },
      "AlarmNotificationUserDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "description": "Id of the User",
            "format": "int32"
          },
          "sendEmail": {
            "type": "boolean",
            "description": "Send the user a notification Email"
          },
          "emailAddress": {
            "type": "string",
            "description": "Email address of the user",
            "nullable": true
          },
          "sendSms": {
            "type": "boolean",
            "description": "Send the user a notification SMS"
          },
          "smsNumber": {
            "type": "string",
            "description": "Phone number of the user",
            "nullable": true
          },
          "sendWeb": {
            "type": "boolean",
            "description": "Send the user a web notification"
          },
          "sendWebHook": {
            "type": "boolean",
            "description": "Send the user a web hook notification"
          }
        },
        "additionalProperties": false,
        "description": "Represents a User that recieves an alarm notification"
      },
      "AlarmNotificationWebHookDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the Alarm Notification Helper",
            "format": "int32"
          },
          "routeTemplate": {
            "type": "string",
            "description": "Route template",
            "nullable": true
          },
          "postBodyTemplate": {
            "type": "string",
            "description": "POST body template (not required for GET)",
            "nullable": true
          },
          "alarmNotificationId": {
            "type": "integer",
            "description": "Id of the related Alarm Notification",
            "format": "int32"
          },
          "webHookId": {
            "type": "integer",
            "description": "Id of the related Web Hook",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Alarm Notification for a Web Hook"
      },
      "AlarmProcessedState": {
        "enum": [
          "Pending",
          "Complete"
        ],
        "type": "string",
        "description": "States of alarm processing"
      },
      "AlarmResultStates": {
        "enum": [
          "Raised",
          "Checked",
          "Error"
        ],
        "type": "string",
        "description": "Possible result states of an Alarm check"
      },
      "AlarmStateAcknowledgementDto": {
        "type": "object",
        "properties": {
          "alarmStateId": {
            "type": "integer",
            "description": "The Id of the alarm's state",
            "format": "int64"
          },
          "value": {
            "type": "string",
            "description": "The acknowledgement value for the alarm state",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "A comment for this state acknowledgement",
            "nullable": true
          },
          "createdTime": {
            "type": "string",
            "description": "The DateTime of then this acknowledgement was created",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "createdBy": {
            "type": "string",
            "description": "The username of who set this acknowledgement",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Acknowledgement information of an alarm's state"
      },
      "AlarmStateChangeDetailsDto": {
        "type": "object",
        "properties": {
          "alarmId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the related alarm",
            "format": "int32"
          },
          "alarmState": {
            "$ref": "#/components/schemas/AlarmResultStates"
          },
          "eventTime": {
            "type": "string",
            "description": "Time of the event that caused the user notification to be created",
            "format": "date-time"
          },
          "alarmNotificationId": {
            "type": "integer",
            "description": "Related alarm notification template id",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Details of an alarm state change"
      },
      "AlarmStateDto": {
        "type": "object",
        "properties": {
          "alarmId": {
            "type": "integer",
            "description": "Id of the related Alarm",
            "format": "int32"
          },
          "checkedEventTime": {
            "type": "string",
            "description": "Last time checked (if applicable)",
            "format": "date-time",
            "nullable": true
          },
          "raisedEventTime": {
            "type": "string",
            "description": "Event time of the last raised alarm (if applicable)",
            "format": "date-time",
            "nullable": true
          },
          "raisedDescription": {
            "type": "string",
            "description": "Description of the last raised alarm (if applicable)",
            "nullable": true
          },
          "raisedEventLevel": {
            "type": "number",
            "description": "Event Level of the last raised alarm (if applicable)",
            "format": "double",
            "nullable": true
          },
          "raisedEventThresholdLevel": {
            "type": "number",
            "description": "Event threshold level of the last raised alarm (if applicable)",
            "format": "double",
            "nullable": true
          },
          "raisedEventDetails": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Event details of the last raised alarm (if applicable)",
            "nullable": true
          },
          "wasRaisedStateExpired": {
            "type": "boolean",
            "description": "If a raised state and is expired and will not cause a relief",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an alarms previous state"
      },
      "AlarmStates": {
        "enum": [
          "Disabled",
          "Enabled"
        ],
        "type": "string",
        "description": "Possible states of an Alarm"
      },
      "AlarmStatusDto": {
        "type": "object",
        "properties": {
          "alarmId": {
            "type": "integer",
            "description": "The primary key of the alarm",
            "format": "int32"
          },
          "lastCheckFinished": {
            "type": "string",
            "description": "The Time this alarm was last completed checking",
            "format": "date-time",
            "nullable": true
          },
          "lastAttempted": {
            "type": "string",
            "description": "The Time this alarm was last started to be checked",
            "format": "date-time",
            "nullable": true
          },
          "checkFrequencySeconds": {
            "type": "integer",
            "description": "The minimum seconds between when each check should take place",
            "format": "int32"
          },
          "snoozeUntil": {
            "type": "string",
            "description": "The time this alarm will finish snoozing",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Contains the alarm id and info on when it was last called"
      },
      "AlarmThresholdDto": {
        "type": "object",
        "properties": {
          "thresholdId": {
            "type": "integer",
            "description": "Id of the Threshold",
            "format": "int32"
          },
          "traceId": {
            "type": "integer",
            "description": "Id of the related Trace",
            "format": "int32"
          },
          "thresholdValue": {
            "type": "number",
            "description": "Value of the threshold email subject",
            "format": "double"
          },
          "isMinThreshold": {
            "type": "boolean",
            "description": "Threshold is either MIN or MAX"
          },
          "alarmDescription": {
            "type": "string",
            "description": "Description for the Alarm",
            "nullable": true
          },
          "alarmSeverity": {
            "type": "integer",
            "description": "Description for the Alarm",
            "format": "int32"
          },
          "thresholdCategory": {
            "type": "string",
            "description": "Category for the threshold (Optional)",
            "nullable": true
          },
          "thresholdCategoryId": {
            "type": "integer",
            "description": "Identifier of the threshold category (Optional)",
            "format": "int32",
            "nullable": true
          },
          "isCritical": {
            "type": "boolean",
            "description": "Is critical"
          }
        },
        "additionalProperties": false,
        "description": "Alarm Threshold DTO"
      },
      "AlarmTypes": {
        "enum": [
          "OverflowMonitoring",
          "DataRecency"
        ],
        "type": "string",
        "description": "Types of alarms"
      },
      "AlarmUserGroupDto": {
        "required": [
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the Alarm User Group",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string",
            "description": "Description of the Alarm User Group"
          },
          "userIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Ids of Users that are in the group",
            "nullable": true
          },
          "notificationSchedules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmUserGroupNotificationScheduleDto"
            },
            "description": "If populated these schedules will be used to determine if user notifications should be sent for the group",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Alarm User Group DTO"
      },
      "AlarmUserGroupNotificationScheduleDto": {
        "required": [
          "description",
          "timeZone"
        ],
        "type": "object",
        "properties": {
          "description": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string",
            "description": "Description of the schedule"
          },
          "timeZone": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string",
            "description": "Timezone for schedule"
          },
          "day": {
            "$ref": "#/components/schemas/DayOfWeek"
          },
          "startTime": {
            "type": "string",
            "description": "Start time to send notifications (null = any time before end time (if applicable) within the day)",
            "format": "date-time",
            "nullable": true
          },
          "endTime": {
            "type": "string",
            "description": "End time to send notifications (null = any time after start time (if applicable) within the day)",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "User notification schedule DTO"
      },
      "AlarmUserGroupSimpleInfoDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the Alarm User Group",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "Description of the Alarm User Group",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Alarm User Group Simple Info DTO"
      },
      "AlarmUserGroupsDto": {
        "type": "object",
        "properties": {
          "alarmIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Id of the related Alarm",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "description": "Id of the Alarm User Group",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "Description of the Alarm User Group",
            "nullable": true
          },
          "userIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Ids of Users that are in the group",
            "nullable": true
          },
          "notificationSchedules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmUserGroupNotificationScheduleDto"
            },
            "description": "If populated these schedules will be used to determine if user notifications should be sent for the group",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Alarm user groups DTO"
      },
      "AlarmUserNotificationCollectionDto": {
        "required": [
          "stateChanges",
          "userNotifications"
        ],
        "type": "object",
        "properties": {
          "stateChanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmStateChangeDetailsDto"
            },
            "description": "State changes that are detailed in the user notifications"
          },
          "userNotifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmUserNotificationDto"
            },
            "description": "User notifications related to alarm state"
          }
        },
        "additionalProperties": false,
        "description": "A collection of alarm user notifications"
      },
      "AlarmUserNotificationDto": {
        "type": "object",
        "properties": {
          "userId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the related user",
            "format": "int32"
          },
          "notificationState": {
            "$ref": "#/components/schemas/UserNotificationStates"
          },
          "emailNotification": {
            "$ref": "#/components/schemas/AlarmUserNotificationEmailDetailDto"
          },
          "smsNotification": {
            "$ref": "#/components/schemas/AlarmUserNotificationSmsDetailDto"
          },
          "webHookNotification": {
            "$ref": "#/components/schemas/AlarmUserNotificationWebHookDetailDto"
          }
        },
        "additionalProperties": false,
        "description": "Represents a collection of alarm user notifications for an alarm event"
      },
      "AlarmUserNotificationEmailDetailDto": {
        "required": [
          "emailAddress",
          "emailBody",
          "emailSubject",
          "stateChanges"
        ],
        "type": "object",
        "properties": {
          "stateChanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmStateChangeDetailsDto"
            },
            "description": "State changes that are detailed in the email"
          },
          "userNotificationType": {
            "$ref": "#/components/schemas/UserNotificationTypes"
          },
          "emailAddress": {
            "minLength": 1,
            "type": "string",
            "description": "Email address to send to"
          },
          "emailSubject": {
            "minLength": 1,
            "type": "string",
            "description": "Email subject"
          },
          "emailBody": {
            "minLength": 1,
            "type": "string",
            "description": "Email body"
          }
        },
        "additionalProperties": false,
        "description": "Represents an alarm user notification"
      },
      "AlarmUserNotificationSmsDetailDto": {
        "required": [
          "smsBody",
          "smsNumber"
        ],
        "type": "object",
        "properties": {
          "stateChange": {
            "$ref": "#/components/schemas/AlarmStateChangeDetailsDto"
          },
          "userNotificationType": {
            "$ref": "#/components/schemas/UserNotificationTypes"
          },
          "smsNumber": {
            "minLength": 1,
            "type": "string",
            "description": "SMS Number"
          },
          "smsBody": {
            "minLength": 1,
            "type": "string",
            "description": "SMS body"
          }
        },
        "additionalProperties": false,
        "description": "Represents an alarm user notification"
      },
      "AlarmUserNotificationWebHookDetailDto": {
        "required": [
          "routeTemplate",
          "stateChange"
        ],
        "type": "object",
        "properties": {
          "stateChange": {
            "$ref": "#/components/schemas/AlarmStateChangeDetailsDto"
          },
          "userNotificationType": {
            "$ref": "#/components/schemas/UserNotificationTypes"
          },
          "routeTemplate": {
            "type": "string",
            "description": "Route template"
          },
          "postBody": {
            "type": "string",
            "description": "Body for a POST (optional)",
            "nullable": true
          },
          "webHookId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the related Web Hook",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents an alarm user notification"
      },
      "AnimationInformationDto": {
        "type": "object",
        "properties": {
          "maxValue": {
            "type": "number",
            "description": "My maximum value possible to be sent",
            "format": "double"
          },
          "timeStepSeconds": {
            "type": "integer",
            "description": "The seconds between each frame",
            "format": "int32"
          },
          "numberOfFrames": {
            "type": "integer",
            "description": "The number of frames in the animation",
            "format": "int32"
          },
          "observationStartTime": {
            "type": "string",
            "description": "The start time of the observation data",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "observationEndTime": {
            "type": "string",
            "description": "The end time of the observation data",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastStartTime": {
            "type": "string",
            "description": "The start time of the forecast data",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastEndTime": {
            "type": "string",
            "description": "The end time of the forecast data",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "The dto for describing the animation display information"
      },
      "AssetAttributePrimitiveTypes": {
        "enum": [
          "Numeric",
          "Date",
          "Multi_Choice",
          "Boolean",
          "TEXT"
        ],
        "type": "string",
        "description": "An asset attribute's \"web\" input type, which controls how the value should be interpreted by\r\nthe web frontend, and the kinds of data types that may be used to represent it."
      },
      "AssetAttributeTypeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The ID of the asset attribute type.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of the asset attribute type.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "The description of the asset attribute type.",
            "nullable": true
          },
          "primitiveType": {
            "$ref": "#/components/schemas/AssetAttributePrimitiveTypes"
          },
          "allowedValues": {
            "type": "array",
            "items": { },
            "description": "If the data value type takes discrete values only, this field will indicate the canonical set of valid values.",
            "nullable": true
          },
          "additionalRepresentations": {
            "type": "array",
            "items": { },
            "description": "These values are accepted when updating the attribute, but are not the principal representations.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Detailed information about an asset attribute type."
      },
      "AssetAttributeTypeSimpleDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The ID of the asset attribute type.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of the asset attribute type.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "The description of the asset attribute type.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Simplified information about an asset attribute type."
      },
      "AssetDataExportFormats": {
        "enum": [
          "LandXml",
          "PoddieCsv",
          "PoddieShapefile"
        ],
        "type": "string",
        "description": "Formats that asset data can be downloaded as"
      },
      "AssetDataSourceDto": {
        "required": [
          "dataSourceType",
          "description",
          "name",
          "rank"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the asset data source",
            "format": "int32",
            "nullable": true
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string",
            "description": "Name of the asset data source"
          },
          "description": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string",
            "description": "Description of the asset data source"
          },
          "rank": {
            "type": "integer",
            "description": "Rank of the asset data source",
            "format": "int32"
          },
          "dataSourceType": {
            "$ref": "#/components/schemas/AssetDataSourceTypes"
          },
          "projectId": {
            "type": "integer",
            "description": "The Id of the project this Asset data source was created for",
            "format": "int32",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "description": "The user who created this Asset data source",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Asset data source"
      },
      "AssetDataSourceTypes": {
        "enum": [
          "Default",
          "Inspection",
          "WorkflowActioner",
          "Infoworks",
          "ShapeFile",
          "GeneralCsv",
          "UserInput"
        ],
        "oneOf": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ],
        "description": "Asset data source types"
      },
      "AssetDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier of this asset",
            "format": "int32"
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypes"
          },
          "assetTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetTypes"
            },
            "description": "A list of asset types associated with this asset",
            "nullable": true
          },
          "projectId": {
            "type": "integer",
            "description": "The identifier of the project this asset is related to",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of the asset",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of the asset",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "description": "The time this asset was last modified",
            "format": "date-time",
            "nullable": true
          },
          "modifiedBy": {
            "type": "string",
            "description": "The user that last modified this asset",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a physical object"
      },
      "AssetInfoThirdPartyIdDto": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "integer",
            "description": "Id of the Asset",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Name of the Asset",
            "nullable": true
          },
          "thirdPartyId": {
            "type": "string",
            "description": "Third party id",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Dto representing third party mapping for an asset"
      },
      "AssetOptionalThirdPartyMappingDto": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "integer",
            "description": "This is the id of the asset.",
            "format": "int32"
          },
          "projectId": {
            "type": "integer",
            "description": "This is the id of the asset's project.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "This is the name of the asset.",
            "nullable": true
          },
          "thirdPartyMappingType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "thirdPartyId": {
            "type": "string",
            "description": "This is the third party ID for the requested context, if one is applicable.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the most basic information about an asset which may include a third party mapping, if applicable."
      },
      "AssetRelationshipDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier of this asset relationship",
            "format": "int32"
          },
          "assetId": {
            "type": "integer",
            "description": "The identifier of the primary asset in the relationship",
            "format": "int32"
          },
          "relatedAssetId": {
            "type": "integer",
            "description": "The identifier of the related asset",
            "format": "int32"
          },
          "assetRelationshipType": {
            "$ref": "#/components/schemas/AssetRelationshipTypes"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a relationship between two assets"
      },
      "AssetRelationshipFieldDto": {
        "type": "object",
        "properties": {
          "fieldName": {
            "type": "string",
            "description": "Field that contains the third party ID",
            "nullable": true
          },
          "relationshipType": {
            "$ref": "#/components/schemas/AssetRelationshipTypes"
          },
          "targetAssetBaseType": {
            "$ref": "#/components/schemas/AssetTypes"
          }
        },
        "additionalProperties": false,
        "description": "Represents a field that designates a relationship between an asset of import to another already-existing asset by its third party ID"
      },
      "AssetRelationshipTypes": {
        "enum": [
          "None",
          "FromNode",
          "ToNode",
          "GaugeNode",
          "GaugeLink",
          "RainGauge",
          "FlowToGauge",
          "MeterToNode",
          "AssetToZone",
          "HydrantToNode",
          "MeterToZone",
          "PressureSource",
          "GaugeMeter",
          "PressureToFireFlow",
          "CatchmentToNode",
          "CSONodeToLink",
          "CSOtoWorksArea",
          "MeterToMB",
          "MBToZone",
          "CSONodeToOutlet",
          "OutletLinktoWorksArea",
          "PumpUpstreamNode",
          "PumpDownstreamNode",
          "PumpDownstreamLink",
          "SystemPerformanceToZone",
          "MeterToHydrant",
          "NodeToMB",
          "ProcessToProcessGroup",
          "ObservationToInspection",
          "ModelledToGauge",
          "AssetToCatchment",
          "GaugeToZone",
          "AssetToWorkflowComponent",
          "BatchToWorkPackage",
          "CRSDToCRS",
          "BuildingsToFloodPoint",
          "SubCatchmentToGaugeCatchment",
          "RegulationCurvesToControlNodes",
          "SubModelToCatchments",
          "BuildingsToMeter",
          "LagTimePathToCatchment",
          "OverflowToBeach",
          "InfoworksEOPToSWNetwork",
          "EmployeeSchoolHospitalToModelledNode",
          "HCCResidentialCentroidToParcel",
          "HCCRawDataToMeters",
          "BeachWaterTempRequestLocation",
          "USGaugeToDSGauge",
          "SampleToSite",
          "HwSafeNetworksInspectionWithSampleToSite",
          "HwSafeNetworksInspectionWoSampleToSite",
          "HwSafeNetworksCalibrationToInstrument",
          "HwAssetPendingData",
          "VertexToPipeRoute",
          "InputToOptimisedRoute"
        ],
        "oneOf": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ],
        "description": "Asset relationship types"
      },
      "AssetRelationshipsDto": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "integer",
            "description": "The asset id that the relationships belong to",
            "format": "int32"
          },
          "assetsRelatedTo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RelatedAssetDto"
            },
            "description": "The assets that the given asset is related to",
            "nullable": true
          },
          "assetsRelatedFrom": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RelatedAssetDto"
            },
            "description": "The assets that the given asset is related from",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of all the relationships of an asset"
      },
      "AssetResultDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier of this asset result",
            "format": "int64"
          },
          "scenarioId": {
            "type": "integer",
            "description": "The unique identifier of the scenario the result was generated from",
            "format": "int32"
          },
          "assetResultType": {
            "$ref": "#/components/schemas/AssetResultTypes"
          },
          "value": {
            "type": "string",
            "description": "The value of the result",
            "nullable": true
          },
          "assetResultTypeDisplayName": {
            "type": "string",
            "description": "The display name of the asset result type value",
            "nullable": true
          },
          "parentScenarioId": {
            "type": "integer",
            "description": "The Parent Scenario's id or just the scenarioId if no parent",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a particular result for an asset"
      },
      "AssetResultTypes": {
        "enum": [
          "None",
          "FlowClassificationAdjustedOrActualLength",
          "FlowClassificationAverageFlowChange",
          "FlowClassificationAverageFroudeNumber",
          "FlowClassificationFractionOfTimeDownCritical",
          "FlowClassificationFractionOfTimeDownDry",
          "FlowClassificationFractionOfTimeDry",
          "FlowClassificationFractionOfTimeSubCritical",
          "FlowClassificationFractionOfTimeSupCritical",
          "FlowClassificationFractionOfTimeUpCritical",
          "FlowClassificationFractionOfTimeUpDry",
          "HighestContinuityError",
          "HighestFlowInstabilityIndex",
          "LinkFlowMaximumDepthOverFullDepth",
          "LinkFlowMaximumFlow",
          "LinkFlowMaximumFlowOverFullFlow",
          "LinkFlowMaximumVelocity",
          "NodeDepthAverageDepth",
          "NodeDepthMaximumDepth",
          "NodeDepthMaximumHGL",
          "NodeFloodingHoursFlooded",
          "NodeFloodingMaximumPondedDepth",
          "NodeFloodingMaximumRate",
          "NodeFloodingTotalFloodVolume",
          "NodeInflowLateralInflowVolume",
          "NodeInflowMaximumLateralInflow",
          "NodeInflowMaximumTotalInflow",
          "NodeInflowTotalInflowVolume",
          "OutfallLoadingAverageFlow",
          "OutfallLoadingFlowFrequencyPercentage",
          "OutfallLoadingMaximumFlow",
          "OutfallLoadingTotalVolume",
          "PumpingSummaryAverageFlow",
          "PumpingSummaryPercentUtilized",
          "PumpingSummaryPowerUsage",
          "PumpingSummaryMaximumFlow",
          "PumpingSummaryMinimumFlow",
          "PumpingSummaryNumberOfStartups",
          "PumpingSummaryTimeOffPumpCurveHigh",
          "PumpingSummaryTimeOffPumpCurveLow",
          "PumpingSummaryTotalVolume",
          "StorageVolumeAveragePercentFull",
          "StorageVolumeAverageVolume",
          "StorageVolumeEIPercentageLoss",
          "StorageVolumeMaximumOutflow",
          "StorageVolumeMaximumPercentFull",
          "StorageVolumeMaximumVolume",
          "SubcatchmentRunoffPeakRunOff",
          "SubcatchmentRunoffRunOffCoefficient",
          "SubcatchmentRunoffTotalEvaporation",
          "SubcatchmentRunoffTotalInfiltration",
          "SubcatchmentRunoffTotalPrecipitation",
          "SubcatchmentRunoffTotalRunOff",
          "SubcatchmentRunoffTotalRunOffVolume",
          "SubcatchmentRunoffTotalRunOn",
          "EPANETLMinimumFlow",
          "EPANETLMaximumFlow",
          "EPANETLMinimumHeadloss",
          "EPANETLMaximumHeadloss",
          "EPANETLMinimumFlowTime",
          "EPANETLMaximumFlowTime",
          "EPANETLMinimumVelocity",
          "EPANETLMaximumVelocity",
          "EPANETNMinimumPressure",
          "EPANETNMaximumPressure",
          "EPANETNMinimumPressureTime",
          "EPANETNMaximumPressureTime",
          "EPANETNMinimumDemand",
          "EPANETNMaximumDemand",
          "EPANETNMinimumHead",
          "EPANETNMaximumHead",
          "EPANETNWaterAge",
          "HTMLSMaximumFlowTime",
          "HTMLSMaximumDepthTime",
          "HTMLSMaximumFlowOverFullFlow",
          "HTMLSDesignFlow",
          "HTMLSMaximumDepth",
          "HTMLSMaximumFlow",
          "HTMLSMaximumDepthOverFullDepth",
          "HTMLSVolume",
          "HTMNWMaximumDepthTime",
          "HTMNWMinimumDepthTime",
          "HTMNWMaximumDepth",
          "HTMNWMinimumDepth",
          "HTMWeirMaximumFlowTime",
          "HTMWeirMinimumFlowTime",
          "HTMWeirVolume",
          "HTMWeirMinimumFlow",
          "HTMWeirMaximumFlow",
          "IWPRNLMaximumDepthOverFullDepth",
          "IWPRNLMaximumDownstreamDepth",
          "IWPRNLMaximumUpstreamVolume",
          "IWPRNLMaximumUpstreamVelocity",
          "IWPRNLMaximumUpstreamFlow",
          "IWPRNLMaximumUpstreamDepth",
          "IWPRNLMaximumFlow",
          "IWPRNLSedimentDepth",
          "IWPRNLMaximumDownstreamFlow",
          "IWPRNLMaximumDownstreamVelocity",
          "IWPRNLMaximumDownstreamVolume",
          "IWPRNLMaximumFlowOverFullFlow",
          "IWPRNNInflow",
          "IWPRNNMaximumVolume",
          "IWPRNNFloodArea",
          "IWPRNNFloodDepth",
          "IWPRNNVolumeBalance",
          "IWPRNNVolumeBalancePercentage",
          "IWPRNNFloodVolume",
          "IWPRNNMaximumLevel",
          "IWPRNWeirPumpMaximumDownstreamVolume",
          "IWPRNWeirPumpMaximumDownstreamFlow",
          "IWPRNWeirPumpMaximumDownstreamDepth",
          "IWPRNWeirPumpMaximumUpstreamVolume",
          "IWPRNWeirPumpMaximumUpstreamFlow",
          "IWPRNWeirPumpMaximumUpstreamDepth",
          "HTMLVPosition",
          "HTMLVMinimumVelocity",
          "HTMLVMaximumVelocity",
          "HTMLVMinimumVelocityTime",
          "HTMLVMaximumVelocityTime",
          "EPANETFireflowFail",
          "EPANETFireflowFireClassID",
          "HTMPumpMaximumFlowTime",
          "HTMPumpMinimumFlowTime",
          "HTMPumpVolume",
          "HTMPumpMinimumFlow",
          "HTMPumpMaximumFlow",
          "EPANETLWaterAge",
          "EPANETNPressureFluctuation",
          "EPANETNFireFlowAvailable",
          "EPANETLFlowReversal",
          "PipeBreakMaxFlow",
          "PipeBreakPropertiesAffected",
          "EPANETNFireClassMinPressure",
          "EPANETNPumpStationCalculatedEnergy",
          "EPANETNPumpStationTotalRunHours"
        ],
        "type": "string",
        "description": "Asset result types"
      },
      "AssetSearchDto": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "integer",
            "description": "Id of the Asset",
            "format": "int32"
          },
          "projectId": {
            "type": "integer",
            "description": "Id of whe related Project",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Name of the asset",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the asset",
            "nullable": true
          },
          "thirdPartyId": {
            "type": "string",
            "description": "Name of the asset",
            "nullable": true
          },
          "feature": {
            "description": "Asset GeoJSON Feature",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Search specific asset"
      },
      "AssetThirdPartyMappingDto": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "integer",
            "description": "Id of the Asset",
            "format": "int32"
          },
          "thirdPartyMappingType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "thirdPartyId": {
            "type": "string",
            "description": "Third party id",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Dto representing third party mapping for an asset"
      },
      "AssetThirdPartyMappingWithGeometryDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier of this asset",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of the asset",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "The description of the asset",
            "nullable": true
          },
          "assetTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetTypes"
            },
            "description": "Asset types for asset",
            "nullable": true
          },
          "geometryWkt": {
            "type": "string",
            "description": "WKT of the asset geometry",
            "nullable": true
          },
          "thirdPartyMappingType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "thirdPartyId": {
            "type": "string",
            "description": "Third party id",
            "nullable": true
          },
          "isModelled": {
            "type": "boolean",
            "description": "Modelled status"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a physical object with geometry"
      },
      "AssetThirdPartyTypes": {
        "enum": [
          "AcSapid",
          "WslMeterId",
          "OutpostSiteId",
          "OutpostLoggerId",
          "AcTlaId",
          "WaikatoDcId",
          "InfoworksNode",
          "InfoworksLink",
          "InfoworksSubcatchment",
          "ShapeFileNode",
          "ShapeFileLink",
          "ShapeFileSubcatchment",
          "CsvNode",
          "CsvLink",
          "CsvSubcatchment",
          "AucklandCouncilInspectionId",
          "WaikatoDcInspectionId",
          "HealthyWatersNode",
          "HealthyWatersLink",
          "HealthyWatersSubcatchment",
          "HwSafeNetworksInspectionNode",
          "HwSafeNetworksInstrument",
          "FeatureServiceFeatureIds"
        ],
        "oneOf": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ],
        "description": "Third Party Mapping Type for Asset"
      },
      "AssetTypeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier of this asset type",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of this asset type",
            "nullable": true
          },
          "scenarioComponentType": {
            "$ref": "#/components/schemas/ScenarioComponentType"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a relationship between two assets"
      },
      "AssetTypes": {
        "enum": [
          "None",
          "All",
          "Node",
          "Link",
          "Gauge",
          "Subcatchment",
          "PlantFeature",
          "TradewasteConsent",
          "TradewasteAsset",
          "WaterMeter",
          "Schematic",
          "SurfaceSamplingPoint",
          "SamplingPoint",
          "Reactor",
          "SettlingTank",
          "Digester",
          "Pond",
          "Screen",
          "PondStation",
          "SludgeDewaterer",
          "Filter",
          "Disinfection",
          "Pump",
          "ChemicalDosingTanks",
          "Blowers",
          "PowerMeter",
          "WeatherStation",
          "Rainfall",
          "HVQ",
          "PSM",
          "MagFlow",
          "Weir",
          "Level",
          "Pressure",
          "HydrantFlow",
          "Insertion_Probe",
          "Flow_And_Salinity",
          "HS_Probe",
          "Bore_Hole_Meter",
          "Scan",
          "Virtual",
          "Level_And_Salinity",
          "Large_Users",
          "TotalCatchment",
          "ZoneBoundary",
          "NetCatchment",
          "Mapgrid",
          "Conduit",
          "Weirs",
          "LinkOrifice",
          "LinkPump",
          "PassiveFlowRegulation",
          "QHinOutlets",
          "Survey",
          "SecondaryNodes",
          "SecondaryLinks",
          "CRS2",
          "StorageNode2",
          "Outfall2",
          "NodeLoss",
          "CRSD",
          "System",
          "TabularData",
          "BioWinElement",
          "Report",
          "Photo",
          "TWCompany",
          "TWAsset",
          "HeadlossType",
          "WWTP",
          "SignificantAreas",
          "WaterSupplyZone",
          "ShapeConduit",
          "ShapeNode",
          "GaugeConnection",
          "OverflowPath",
          "GaugeCatchment2",
          "Cadastral",
          "FormResult",
          "IrrigationZone",
          "QualityorTreatmentDevice",
          "SupportDevice",
          "Flume",
          "UKAreasofOutstandingNaturalBeauty",
          "UKSpecialAreasofConservationEngland",
          "UKSpecialProtectionAreasEngland",
          "UKSSSIUnitsEngland",
          "Circular",
          "CRS",
          "Rectangular",
          "Oval",
          "Egg",
          "Square",
          "NaturalChannel",
          "Dummyconduit",
          "OverlandFlow",
          "PressureMain",
          "ConnectionLead",
          "Perforated",
          "Culvert",
          "ConnectionServiceLine",
          "CesspitLead",
          "CustomShape",
          "Manhole",
          "Basin",
          "Outfall",
          "StorageNode",
          "PumpStation",
          "Hydrant",
          "Valve",
          "ScourValve",
          "AirValve",
          "RoddingEye",
          "Joint",
          "ConnectionPoint",
          "SupportDevice2",
          "Catchpit",
          "Unknown",
          "Soakage",
          "CappedEnd",
          "Chamber",
          "Inspection",
          "Fitting",
          "Dummymanhole",
          "Transverse",
          "SideFlow",
          "Vnotch",
          "Trapezoidal",
          "Circular2",
          "Rectangular2",
          "CRS3",
          "FlowVol",
          "FlowDepth",
          "HeadFlow",
          "Variable",
          "VariableHeadFlow",
          "LinkWeirCrest",
          "LinkWeirLength",
          "LinkWeirHeight",
          "QmaxdH",
          "ClosedValve",
          "EpanetGPV",
          "IWWSValve",
          "EPAdummyvalveforVSDpump",
          "IWWSFloatValve",
          "OpenChannelXZClosed",
          "OpenChannelXZOpen",
          "ModelB",
          "UHMCurveNumber",
          "ModelCatchment",
          "GaugeCatchment3",
          "WatershedBoundary",
          "FreeOutlet",
          "Normal",
          "Fixed",
          "Tidal",
          "TIMESERIES",
          "RoundEdge",
          "SharpEdge",
          "Orifice",
          "NoChange",
          "EnergyLoss",
          "EffectiveFlow",
          "MeanEnergy",
          "CurvesTypePumpQH",
          "CurvesTypePumpEfficiency",
          "CurvesTypeStorageVolumeorBasinGeometry",
          "CurvesTypeHeadLoss",
          "CurvesTypePattern",
          "CurvesTypePumpQDH",
          "ValveSetting",
          "Normal2",
          "Sealed",
          "Spilling",
          "PMNode",
          "PMReceving",
          "DarcyWeisbachorColebrookwhiteinmm",
          "HazenWilliams",
          "ChezyManning",
          "DarcyWeisbachfnounit",
          "ProjectExtent",
          "Valve2",
          "CV",
          "PRV",
          "PSV",
          "PBV",
          "FCV",
          "TCV",
          "GPV",
          "Quality",
          "EnvironmentalAsset",
          "StormwaterInfrastructure",
          "NonControlValve",
          "LargeUser",
          "NormalUser",
          "DedicatedMain",
          "NormalMain",
          "BulkSupplyMeter",
          "Reservoir",
          "PumpStationMeter",
          "PRV2",
          "ActuatedValveMeter",
          "WTPMeter",
          "ProcessCollection",
          "StandardPatternUser",
          "FlowMeter",
          "CCTVObservation",
          "WaterSamplingPoint",
          "SRTVariablesSummary",
          "LinkScreen",
          "WastewaterCatchment",
          "StormwaterCatchment",
          "CombinedCatchment",
          "OtherCatchment",
          "Stored",
          "PumpStorage",
          "GWRCRainfall",
          "Watershed",
          "CSO",
          "RatedStreamGauge",
          "CSOOutlet",
          "WorksArea",
          "Meshblock",
          "ClosedValve2",
          "Tunnel",
          "PipeJack",
          "PropertyBoundary",
          "TunnelShaft",
          "SystemPerformanceIssue",
          "LowPressureIssue",
          "HighPressureIssue",
          "FireFlowIssue",
          "PipeCriticalityIssue",
          "ZoneValves",
          "FireSprinkler",
          "Business",
          "CommunityFacilities",
          "Industrial",
          "Recreational",
          "Residential",
          "Road",
          "FutureGrowthArea",
          "Field",
          "FutureMeter",
          "ProposedFlowMeter",
          "ProposedPressureMeter",
          "Bifurcationmanhole",
          "DistrictMeteredAreaDMA",
          "TransmissionLine",
          "TrunkLine",
          "Overflow",
          "TrunkMain",
          "EndPoint",
          "Junction",
          "GullyTrap",
          "Stormwater",
          "LocalNetworkPS",
          "TransmissionNetworkPS",
          "CSOTypeI",
          "CSOTypeII",
          "CSOTypeIII",
          "CSOTypeIV",
          "Aerator",
          "OverflowConfirmedbyOps",
          "FloodComponents",
          "FloodPoint",
          "FloodSection",
          "WWTP2",
          "SubCatchment2",
          "Development",
          "PRV3",
          "DistrictMeter",
          "BSP",
          "ProposedBSP",
          "DistrictMeter2",
          "FlumeGauge",
          "STPMunicipal",
          "STPIndustrial",
          "STPLand",
          "STPFuture",
          "WTP",
          "WTPMunicipal",
          "WTPIndustrial",
          "WTPSource",
          "WTPFuture",
          "EnvironmentalSite",
          "WorkflowComponent",
          "Workpackage",
          "Batch",
          "NRV",
          "FloodHazardArea",
          "Wastewater",
          "PartiallySeparated",
          "Combined",
          "Stormwater2",
          "Wastewater2",
          "PartiallySeparated2",
          "Combined2",
          "UserDefinedNode",
          "UserDefinedLink",
          "SeparationProperty",
          "Buildings",
          "AreaofSignificantFlooding",
          "TrunkMainRect",
          "StormwaterPonds",
          "SHA",
          "MainDischargeTributary",
          "CoastalWaterSamplingPoint",
          "SedimentSamplingPoint",
          "Intertidal",
          "Subtidal",
          "StormwaterOutlet",
          "SWOutletPipetoOpenChannel",
          "SWOutletOpenChanneltoNaturalWaterway",
          "SWOutletPipetoNaturalWaterway",
          "WDCLandUse",
          "BusinessCommercial",
          "Industrial2",
          "ResidentialHighDensity",
          "ResidentialSuburban",
          "ResidentialRural",
          "Airport",
          "MarineManagementArea",
          "Conservation",
          "Mooring",
          "PortFacilities",
          "Protection",
          "MarineFarm",
          "StormwaterPond",
          "River",
          "CoastalManagementArea",
          "Break",
          "PotentialMonitoringSite",
          "RevisedExistingMonitoringSite",
          "DummynodeforFCV",
          "DevelopmentServicePoint",
          "DummyWeir",
          "ACLandUse",
          "NSCCLandUse",
          "Business2",
          "PublicOpenSpace",
          "Residential2",
          "General",
          "Coastal",
          "SpecialPurpose",
          "Business112",
          "Recreation14",
          "Residential17",
          "Road2",
          "Sea",
          "SpecialPurpose115",
          "Outfall3",
          "SWDCLandUse",
          "WWTP3",
          "ProposedLandDisposalSite",
          "AdjacentLandPotentialLandDisposalSite",
          "QEIICovenantedOpenSpace",
          "WaterPressureZone",
          "RWTP",
          "Submodelcatchmentextents",
          "QueenstownFutureGrowthCatchments",
          "WBPDCLandUse",
          "WBPDCLandUseRural",
          "WBPDCLandUseCommercial",
          "WBPDCLandUseResidential",
          "WBPDCLandUseRuralResidential",
          "PumpStationCatchment",
          "RainRadarCatchment",
          "Dedicatedmainmanhole",
          "ACCOM",
          "AGR",
          "BULK",
          "COM",
          "CONMAN",
          "DOM",
          "FOMAN",
          "HOSPTL",
          "INDUST",
          "MATMAN",
          "POOL",
          "RETAIL",
          "SCHOOL",
          "SPREC",
          "WARE",
          "ACCOM2",
          "AGR2",
          "COM2",
          "COMMUN",
          "CONMAN2",
          "DOM2",
          "EDUTRN",
          "FOMAN2",
          "HOSPTL2",
          "INDUST2",
          "MATMAN2",
          "RETAIL2",
          "SCHOOL2",
          "SPREC2",
          "WARE2",
          "FlapValve",
          "Siphon",
          "Sluice",
          "UserControl",
          "ModelInformation",
          "ARCH",
          "BoxCulvert",
          "Elliptical",
          "OREC",
          "OVAL2",
          "Pond2",
          "PathforLagTime",
          "FlowManagementZone",
          "FlowManagementZone2",
          "BroadCrested",
          "BeachWaterQualityMonitoringPoint",
          "Employees",
          "SchoolsEceOrHospital",
          "GaugeGrouping",
          "RequestForService",
          "Route",
          "Crosswalks",
          "PedestrianAccident",
          "StreetLights",
          "NonCityStreets",
          "OneWayStreets",
          "PublicStreets",
          "Lanes",
          "HabitableBuildingFloodArea",
          "NonHabitableBuildingFloodArea",
          "TenYearFloodZone",
          "OneHundredYearFloodZone",
          "OverflowPathSmallFlow",
          "BeachWaveMonitoringPoint",
          "SeaTemperatureMonitoringPoint",
          "PipeBurstLocation",
          "WaterQualitySample",
          "WaterQualitySite",
          "HwSafeNetworksSite",
          "HwSafeNetworksInspection",
          "HwSafeNetworksInspectionWithSample",
          "HwSafeNetworksInspectionWithoutSample",
          "HwSafeNetworksInstrument",
          "HwSafeNetworksInstrumentCalibration",
          "PipeRouteInput",
          "PipeRouteInputNodes",
          "PipeRouteResolved",
          "PipeRouteResolvedVertex",
          "WashoutValve",
          "SectionalValve",
          "NoDigCrossingEnd",
          "NoDigCrossingStart",
          "OpenCutCrossing",
          "NoDigCenter",
          "UrbanAreas",
          "PipeRouteInput2d",
          "PipeRouteResolved2d",
          "GoArea",
          "NoGoArea",
          "UtilityElectricity",
          "UtilityGas",
          "UtilityPipeline",
          "UtilitySewer",
          "UtilityTelecom",
          "UtilityWater",
          "PipeRouteGravityInput2d",
          "PipeRouteGravityResolved2d",
          "PipeRouteGravityInput2dP",
          "PipeRouteGravityResolved2dP",
          "UtilityElectric11kv",
          "UtilityElectric132kv",
          "UtilityElectric20kv",
          "UtilityElectric275kv",
          "UtilityElectric33kv",
          "UtilityElectric400kv",
          "UtilityElectric66kv",
          "UtilityGasHP200mm",
          "UtilityGasHP500mm",
          "UtilityGasLP200mm",
          "UtilityGasLP500mm",
          "UtilityGasMP200mm",
          "UtilityGasMP500mm",
          "UtilityGasMP600mm",
          "UtilityGasMP900mm",
          "UrbanAreasStartMarker",
          "UrbanAreasEndMarker",
          "ThirdPartyDummyAsset"
        ],
        "oneOf": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ],
        "description": "Asset types"
      },
      "AssetValidationErrorDto": {
        "type": "object",
        "properties": {
          "assetDescriptor": {
            "type": "string",
            "description": "Information which can be used to identify the specific asset from the batch import that failed validation.",
            "nullable": true
          },
          "failReason": {
            "type": "string",
            "description": "The reason why the asset failed validation.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Indicates a validation failure for a single asset in a batch import job."
      },
      "AssetWithGeometryDto": {
        "type": "object",
        "properties": {
          "geometryWkt": {
            "type": "string",
            "description": "WKT of the asset geometry",
            "nullable": true
          },
          "geometrySrId": {
            "type": "integer",
            "description": "SRID of the geometry attached to the asset",
            "format": "int32",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "description": "The identifier of this asset",
            "format": "int32"
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypes"
          },
          "assetTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetTypes"
            },
            "description": "A list of asset types associated with this asset",
            "nullable": true
          },
          "projectId": {
            "type": "integer",
            "description": "The identifier of the project this asset is related to",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of the asset",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of the asset",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "description": "The time this asset was last modified",
            "format": "date-time",
            "nullable": true
          },
          "modifiedBy": {
            "type": "string",
            "description": "The user that last modified this asset",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a physical object with geometry"
      },
      "AssetWithPermissionsDto": {
        "type": "object",
        "properties": {
          "canRequestNotes": {
            "type": "boolean",
            "description": "User can request Notes for the asset"
          },
          "canRequestTraces": {
            "type": "boolean",
            "description": "User can request Traces for the asset"
          },
          "canRequestResults": {
            "type": "boolean",
            "description": "User can request Results for the asset"
          },
          "canRequestAttributes": {
            "type": "boolean",
            "description": "User can request Attributes for the asset"
          },
          "canRequestRelatedAssets": {
            "type": "boolean",
            "description": "User can request related Assets for the asset"
          },
          "id": {
            "type": "integer",
            "description": "The identifier of this asset",
            "format": "int32"
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypes"
          },
          "assetTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetTypes"
            },
            "description": "A list of asset types associated with this asset",
            "nullable": true
          },
          "projectId": {
            "type": "integer",
            "description": "The identifier of the project this asset is related to",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of the asset",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of the asset",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "description": "The time this asset was last modified",
            "format": "date-time",
            "nullable": true
          },
          "modifiedBy": {
            "type": "string",
            "description": "The user that last modified this asset",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a physical object with added permission flags"
      },
      "AttributeDisplayInfoDto": {
        "type": "object",
        "properties": {
          "attributeDisplayInfoId": {
            "type": "integer",
            "description": "The attribute display info identifier",
            "format": "int32"
          },
          "projectId": {
            "type": "integer",
            "description": "The project identifier",
            "format": "int32",
            "nullable": true
          },
          "projectTypeId": {
            "type": "integer",
            "description": "Identifier of the project type",
            "format": "int32",
            "nullable": true
          },
          "assetTypeId": {
            "type": "integer",
            "description": "Identifier of the asset type",
            "format": "int32",
            "nullable": true
          },
          "attributeTypeId": {
            "type": "integer",
            "description": "Identifier of the attribute type",
            "format": "int32"
          },
          "isEditable": {
            "type": "boolean",
            "description": "Indicates whether this attribute type can be edited by a user in the UI"
          },
          "isVisible": {
            "type": "boolean",
            "description": "Indicating whether this attribute type is visible to the user within the UI"
          },
          "alias": {
            "type": "string",
            "description": "An alias name of the attribute",
            "nullable": true
          },
          "ordering": {
            "type": "integer",
            "description": "Affects how the attribute is ordered with other attributes, higher values are ordered lower",
            "format": "int32"
          },
          "attributeDisplayType": {
            "$ref": "#/components/schemas/AssetAttributePrimitiveTypes"
          },
          "precision": {
            "type": "integer",
            "description": "Determines how numeric values are rounded",
            "format": "int32",
            "nullable": true
          },
          "hasFunction": {
            "type": "boolean",
            "description": "A flag to indicate that the attribute display depends on a SQL function"
          },
          "displayDataVariableUnitId": {
            "type": "integer",
            "description": "The display data variable unit identifier",
            "format": "int32",
            "nullable": true
          },
          "defaultUiEditorValue": {
            "type": "string",
            "description": "Indicates the default value that will be shown to the user within the UI.\r\nIf a default value is not present the default for the asset attributes data type will be used.\r\nDefault values for the types: text, numeric and boolean should use their string representation.\r\nDefault values for the Date type should use the ISO8601 syntax.\r\nDefault values for multi-choice should be defined using their alias (string) value.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information on how an attribute is displayed externally"
      },
      "AttributeTypes": {
        "enum": [
          "None",
          "CRSD_RL",
          "L_Dia",
          "L_DSD",
          "L_DSI",
          "L_Mat",
          "L_Typ",
          "L_USD",
          "L_USI",
          "N_Dep",
          "N_Dia",
          "N_IL",
          "N_LL",
          "O_Dia",
          "O_IL",
          "O_Typ",
          "SC_Imp",
          "SC_Len",
          "SC_Pop",
          "SC_Slp",
          "IsModelled",
          "DatasetID1",
          "DatasetID2",
          "NDmd",
          "NMinLvl",
          "NMinVol",
          "InitialStatus",
          "PumpSpeed",
          "RainGaugeID",
          "SCPerv1",
          "SCPerv2",
          "SCImp2",
          "PumpStart",
          "PumpStop",
          "SCArea",
          "AvgLoss",
          "PumpSet",
          "FireClassID",
          "WaterLevel",
          "FlowToGauge",
          "Settings",
          "PumpRate",
          "ComponentType",
          "ModifiedBy",
          "ModifiedLast",
          "Created",
          "TypeNo",
          "OutletShape",
          "N_Status",
          "D_NCheck",
          "Inflow",
          "MapGridOID",
          "CoverTyp",
          "Hydrant",
          "Description",
          "UserText",
          "HydrlcChildren",
          "FOID",
          "TOID",
          "CRSS_ID",
          "TOPOID",
          "Height",
          "Width",
          "Roughness",
          "USLoss",
          "DSLoss",
          "PressureMain",
          "D_LCheck",
          "FlowToGauge_Link",
          "Length",
          "CCTV_Grade",
          "Install_Date",
          "Population_Serviced",
          "Location",
          "SCModelID",
          "LocationOID",
          "HydroChildren",
          "SubCatchmentTypeID",
          "Perimeter",
          "Area",
          "TotalPipeLength",
          "CatchmentArea",
          "GaugeTypeID",
          "Name",
          "HydstraID",
          "Address",
          "Import",
          "IsActive",
          "IsTelemetered",
          "DataFile",
          "GaugeDetailID",
          "SiltDepth",
          "AntecedentCoefficient",
          "GaugeLink_NodeID",
          "GaugeLink_LinkID",
          "SCCal_SCModelID",
          "SCCal_Modelled",
          "SCCal_SC_CN",
          "SCCal_SC_Slp",
          "SCCal_SC_Len",
          "SCCal_SC_Imp1",
          "SCCal_SC_Imp2",
          "SCCal_SC_Per1",
          "SCCal_SC_Per2",
          "SCCal_SC_Imp_Man",
          "SCCal_SC_Per_Man",
          "SCCal_SC_Imp_Stor",
          "SCCal_SC_Per_Stor",
          "SCCal_SC_HydConn",
          "SCCal_SC_MaxInf",
          "SCCal_SC_MinInf",
          "SCCal_SC_DryTime",
          "SCCal_SC_Decay",
          "SCCal_SC_DW_Prod",
          "SCCal_SC_R1",
          "SCCal_SC_R2",
          "SCCal_SC_R3",
          "SCCal_SC_T1",
          "SCCal_SC_T2",
          "SCCal_SC_T3",
          "SCCal_SC_K1",
          "SCCal_SC_K2",
          "SCCal_SC_K3",
          "SCCal_Created",
          "SCCal_ModifiedLast",
          "SCCal_ModifiedBy",
          "SCCal_ZArea",
          "SCCal_UH_MaxDep",
          "SCCal_UH_RecRate",
          "SCCal_UH_IntDep",
          "SCCal_UH_MaxDep2",
          "SCCal_UH_RecRate2",
          "SCCal_UH_IntDep2",
          "SCCal_UH_MaxDep3",
          "SCCal_UH_RecRate3",
          "SCCal_UH_IntDep3",
          "SCCal_RDI_Umax",
          "SCCal_RDI_CK",
          "SCCal_RDI_Lmax",
          "SCCal_RDI_CKIF",
          "SCCal_RDI_CQof",
          "SCCal_RDI_CKbf",
          "SCCal_RDI_Carea",
          "SCCal_RDI_Area",
          "SCCal_RDI_Sy",
          "SCCal_RDI_GWLbf0",
          "Diameter",
          "Volume",
          "DO_SetPoint",
          "AirSupplyRate",
          "UnAerated",
          "PowerInput",
          "LocalTemperature",
          "Ratio",
          "Fraction",
          "Underflow",
          "FlowPacing",
          "PercentRemoval",
          "Tank_pH",
          "SludgeBlanket",
          "NumberOfDiffusers",
          "StreamName",
          "Subcatchment",
          "Erosion",
          "FishType",
          "StructureType",
          "Maintenance",
          "StructuralMean",
          "StructuralPeak",
          "DateInspected",
          "LOFReviewType",
          "LOFScore",
          "LOFAssesmentRule",
          "CriticalityFactor",
          "CriticalityFactorBand1",
          "CriticalityFactorBand2",
          "CriticalityFactorBand3",
          "CriticalityFactorBand4",
          "CriticalityFactorBand5",
          "CriticalityMinDiaBand1",
          "CriticalityMaxDiaBand1",
          "CriticalityMinDepBand1",
          "CriticalityMaxDepBand1",
          "CriticalityMinDiaBand2",
          "CriticalityMaxDiaBand2",
          "CriticalityMinDepBand2",
          "CriticalityMaxDepBand2",
          "CriticalityMinDiaBand3",
          "CriticalityMaxDiaBand3",
          "CriticalityMinDepBand3",
          "CriticalityMaxDepBand3",
          "CriticalityMinDiaBand4",
          "CriticalityMaxDiaBand4",
          "CriticalityMinDepBand4",
          "CriticalityMaxDepBand4",
          "CriticalityMinDiaBand5",
          "CriticalityMaxDiaBand5",
          "CriticalityMinDepBand5",
          "CriticalityMaxDepBand5",
          "AssessmentStatus2",
          "MaintenanceRequired",
          "TypeofMaintenance",
          "NumberofRepairs",
          "RenewalDeferrable",
          "N_Mat",
          "PipeLength",
          "RiskTimetoFailure",
          "ReplacementPriorityScore",
          "Upgrade",
          "Safety",
          "Size",
          "IsLongTerm",
          "N_Name",
          "Population",
          "TotalDemandfromLargeUsers",
          "TotalDemandfromNormalMeteredUsers",
          "PercentageofDemand",
          "IsAbandoned",
          "TotalDemandfromNonRevenueWater",
          "DatasetID",
          "InitialStatus2",
          "FlowLd",
          "SRTDays",
          "Capture",
          "SolidsStreamConcentrationmgl",
          "CaptureCOD",
          "CaptureTSS",
          "CaptureVSS",
          "N_IL2",
          "StartTime",
          "EndTime",
          "FireHydrantTestFlow",
          "CCTVStructuralMeanGrade",
          "PercentageofNRW",
          "NRWEventID",
          "CatchmentAreaha",
          "ConnectionCount",
          "AvgDryWeatherFlowm3day",
          "IsFaulty",
          "FloodType",
          "FloodLevel",
          "ChamberRoof",
          "ChamberArea",
          "ShaftArea",
          "BottomRoughness",
          "TopRoughness",
          "SedimentsDepth",
          "NotchHeigth",
          "NotchAngle",
          "NotchWidth",
          "NumberOfNotch",
          "Kirschmer",
          "BarWidth",
          "BarSpacing",
          "USHeadlossType",
          "DSHeadlossType",
          "PageName",
          "UserAssignment",
          "CCTV_Status",
          "OwnedByGWRC",
          "ObservedDiameter",
          "ObservedMaterial",
          "ObservedLength",
          "PercentageRoad",
          "PercentageRoof",
          "PercentagePaved",
          "IsExisting",
          "ObservedShape",
          "PipeLengthCalculatedfromGIS",
          "OperatingDays",
          "DebtorContactID",
          "Reference",
          "InvoiceAttn",
          "ConsentID",
          "IsShortTerm",
          "SecondaryLabelID",
          "MaxAllowedPassForwardFlowRate",
          "SizeOfTrap",
          "TypeOfTrap",
          "Condition",
          "LastInspected",
          "InspectedBy",
          "LastCleaned",
          "SeverityCode",
          "ConditionCode",
          "VideoReference",
          "Dryweatherevent",
          "FieldCapacity",
          "IsPriority",
          "IsOption",
          "IrrigationAream2",
          "DailyDemandperPerson",
          "NodeSurveyType",
          "ConditionsStatus",
          "CustomerID",
          "Surveyrecommended",
          "DischargeEnvironment",
          "ExpiryDate",
          "MouseLossParID",
          "RelatedHeadpressureGaugesummaryid",
          "PopulationGrowth",
          "FuturePopulationGrowth",
          "OverflowLevel",
          "ProjectPhase",
          "ProgrammeType",
          "HorizonProjectID",
          "ProjectName",
          "PortfolioProjectManager",
          "AssignedTeam",
          "CCTVStructuralGrade",
          "CCTVStructuralPeakGrade",
          "CCTVServiceGrade",
          "ServicePeak",
          "CCTVServicePeakGrade",
          "ServiceMean",
          "CCTVServiceMeanGrade",
          "SCCal_SC_DWProd_Weekend",
          "Rastersetid",
          "LinkSuffix",
          "DatasetID_Control",
          "ConditionGrade",
          "LandUse",
          "FlowToGauge_SubCatchment",
          "RainGauge_SubCatchment",
          "SC_Infil",
          "L_Peak_D_Dia_Ratio",
          "L_Peak_Flow_F_Cap_Ratio",
          "L_Peak_US_Vel",
          "L_Relined_Date",
          "SC_PWWF_ADWF",
          "CCTVAction",
          "CCTVCompletionStatus",
          "AssignedContractor",
          "AssignedAuditor",
          "AuditStatus",
          "AssessmentStatus",
          "RenewalStatus",
          "BatchCount",
          "WorkflowAdmin",
          "TLACode",
          "DefaultAuditor",
          "SC_Inflow_Infil_Rank",
          "Intereventalarmthreshold",
          "CCTVAction2",
          "ProgressStatus",
          "SentinentID",
          "SentinentProjectRecordStatus",
          "SentinentActiveProjectPhase",
          "EstimatedStartTime",
          "EstimatedEndTime",
          "GISIssue",
          "Workflowcompleted",
          "DepthDurationFrequency",
          "IsConnectedToMainNetwork",
          "SeparationStatus",
          "PrivateDrainageRecords",
          "SeparationStatusHow",
          "SeparationStatusConfidence",
          "SeparationStudyLinearAssetType",
          "SeparationStudyNodalAssetType",
          "Building1stfloorElevation",
          "SeparationPropertyType",
          "ModelledMaterial",
          "RelatedInspectionBatch",
          "Is_Bifurcation",
          "NetworkIssue",
          "Surveyresult",
          "SC_LandUse",
          "ConfirmedOverflow",
          "SCCal_RDI_GwCarea",
          "SCCal_RDI_SnowmeltNo",
          "SCCal_RDI_SnowmeltC",
          "SCCal_RDI_Tof",
          "SCCal_RDI_Tif",
          "SCCal_RDI_Tg",
          "SCCal_RDI_InitU",
          "SCCal_RDI_InitL",
          "SCCal_RDI_InitGwl",
          "IsGridMap",
          "SCCal_RDI_InitOf",
          "SCCal_RDI_InitIf",
          "SCCal_RDI_GwLmin",
          "SCCal_RDI_GWLfI1",
          "BuildinggarageElevation",
          "WeirLevelmAD",
          "WeirLengthm",
          "SystemID",
          "SubSystemID",
          "PumpCurve",
          "MU_RMTailNode",
          "SC_Imp_AISteep",
          "Owner",
          "ImperviousLagTime",
          "PerviousLagTime",
          "SchoolPopulation",
          "Is_Future",
          "SCTradeWasteFlow",
          "L_Dia_Ft",
          "SCFlowAreabased",
          "SCFlowPEbased",
          "DWFGaugeSummary",
          "DWFEventID",
          "Is_Junction",
          "CCTVStructuralMeanGradeAdj",
          "CCTVStructuralPeakGradeAdj",
          "CCTVServicePeakGradeAdj",
          "CCTVServiceMeanGradeAdj",
          "CCTVLogSheetContractNo",
          "CCTVLogSheetContractor",
          "CCTVLogSheetOperator",
          "CCTVLogSheetDrawingNo",
          "CCTVLogSheetVideoNo",
          "CCTVLogSheetCompletionStatus",
          "CCTVLogSheetSetup",
          "CCTVLogSheetPipeStatus",
          "CCTVLogSheetUpNodeType",
          "CCTVLogSheetUpNodeNo",
          "CCTVLogSheetDepthAtUpstream",
          "CCTVLogSheetUpLocationStreetNo",
          "CCTVLogSheetDepthAtDownstream",
          "CCTVLogSheetUpLocationStreetName",
          "CCTVLogSheetDownNodeType",
          "CCTVLogSheetDownNodeNo",
          "CCTVLogSheetDownLocationStreetNo",
          "CCTVLogSheetDownLocationStreetName",
          "CCTVLogSheetSurveyedLength",
          "CCTVLogSheetShape",
          "CCTVLogSheetJointSpacing",
          "CCTVLogSheetUse",
          "CCTVLogSheetWeather",
          "CCTVLogSheetComments",
          "IncidentDate",
          "IncidentRepeatStatus",
          "IncidentFullAddress",
          "IncidentRepeatCause",
          "IncidentRainfallAmount",
          "YearOfStartOfEmploymentUnixDateTime",
          "SchoolRollOrHospitalBeds",
          "RelativeDistance",
          "Continuity",
          "MeasureFrom",
          "PositionFrom",
          "PositionTo",
          "PhotoNo",
          "Remarks",
          "HealthyWatersEnterococci",
          "HealthyWatersEcoli",
          "LinkWeirCrest",
          "LinkWeirLength",
          "LinkWeirHeight",
          "CCTV_UPSTREAM_SERVICE_PLOT",
          "CCTV_DOWNSTREAM_SERVICE_PLOT",
          "CCTV_UPSTREAM_STRUCTURAL_PLOT",
          "CCTV_DOWNSTREAM_STRUCTURAL_PLOT",
          "AucklandCouncilRFSWONumber",
          "AucklandCouncilRFSWOStatus",
          "AucklandCouncilRFSFailure",
          "AucklandCouncilRFSLoggedDate",
          "AucklandCouncilRFSActivityType",
          "AucklandCouncilRFSFinishKPI",
          "AucklandCouncilRFSStartKPI",
          "AucklandCouncilRFSStartDate",
          "AucklandCouncilRFSEndDate",
          "AucklandCouncilRFSDescription",
          "AucklandCouncilRFSOutcome",
          "AucklandCouncilRFSProblemType",
          "AucklandCouncilRFSPlannerGroup",
          "ShallowestPositiveGradient",
          "ShallowestNegativeGradient",
          "MaximumCurvatureRadius",
          "MaxPositiveLongitudinalGradient",
          "MaxNegativeLongitudinalGradient",
          "StartInvertLevel",
          "EndInvertLevel",
          "PowerCost",
          "DiscountRate",
          "DesignLife",
          "ExcavationDepthCost",
          "AirValveCosts",
          "WashoutCosts",
          "MinimumCoverField",
          "SideTrenchWidth",
          "BeddingThickness",
          "TOTEXTimeFrame",
          "TOTEX",
          "PipelineLength",
          "CAPEX",
          "OPEX",
          "EarthworksQuantity",
          "ImportedBedingAndSurroundQuantity",
          "InfrastructureCrossingQuantity",
          "AirValveQuantity",
          "WashoutQuantity",
          "ChamberQuantity",
          "EarthworksCost",
          "AveragePipeDepth",
          "AverageFlowRate",
          "Chainage",
          "PipeCentreLevel",
          "GroundLevel",
          "HydraulicGradeLine",
          "RouteTag",
          "TopWaterLevel",
          "EmbankmentAngle",
          "PipeOuterDiameter",
          "PipeInternalDiameter",
          "MotorwayCrossingCount",
          "ARoadCrossingCount",
          "BRoadCrossingCount",
          "RailCrossingCount",
          "InfrastructureCrossingTotal",
          "PipeDescription",
          "ChamberSize",
          "ChamberWallThickness",
          "ChamberDescription",
          "RiverCrossingCount",
          "RiskCost",
          "NumberOfDutyPumps",
          "NumberOfStandbyPumps",
          "MechanicalReplacementCycle",
          "EicaReplacementCycle",
          "PercentageMechanicalCostOfTotalMeica",
          "PsMAndECost",
          "PsCivilCost",
          "PsMeicaReplacementCostsPerYear",
          "OperationalPowerRequirements",
          "InstalledPowerRequirements",
          "MinCover",
          "MaxCover",
          "FrictionHead",
          "StaticHead",
          "TotalPumpingHead",
          "PsCivilCostCurve",
          "PsMeicaCostCurve",
          "PressureLine",
          "CCTVLogSheetStandard",
          "CCTVLogSheetParallelLine",
          "CCTVLogSheetStorageMediumForVideo",
          "CCTVLogSheetPurposeOfInspection",
          "CCTVLogSheetNameOfCoder",
          "CCTVLogSheetLiningType",
          "CCTVLogSheetLiningMaterial",
          "CCTVLogSheetOperationOfPipeline",
          "CCTVLogSheetCleaningStatus",
          "CCTVLogSheetUpNodeCoordinate",
          "CCTVLogSheetDownNodeCoordinate",
          "CCTVLogSheetLocation",
          "CCTVLogSheetLocationType",
          "CCTVLogSheetAssetOwner",
          "CCTVLogSheetTownOrSuburb",
          "CCTVLogSheetDistrictCatchment",
          "CCTVLogSheetNameOfPipeSystem",
          "CCTVLogSheetLandOwnership",
          "CCTVLogSheetOriginalCodingSystem",
          "CCTVLogSheetMethodOfInspection",
          "CCTVLogSheetOperatorsReference",
          "CCTVLogSheetDateOfDataEntry",
          "CCTVLogSheetJointingMethod",
          "CCTVLogSheetPrecipitation",
          "CCTVLogSheetTemperature",
          "CCTVLogSheetFlowControlMeasures",
          "CCTVLogSheetTidalInfluence",
          "CCTVLogsheetCircumferentialLocationPositionFrom",
          "CCTVLogsheetCircumferentialLocationPositionTo",
          "HealthyWatersEcoliWA_MF_MTEC_A",
          "HealthyWatersEnterococciWA_MP_MEI_A"
        ],
        "oneOf": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ],
        "description": "Asset attributes / data types"
      },
      "ClaimsQueryDto": {
        "type": "object",
        "properties": {
          "workId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The work ID for the scope of this query.",
            "format": "int32"
          },
          "operation": {
            "$ref": "#/components/schemas/AccessOperations"
          },
          "target": {
            "$ref": "#/components/schemas/AccessTargets"
          },
          "targetId": {
            "type": "integer",
            "description": "The unique ID that the user is trying to get access to. If null, we are requesting whether the user has access for all targets of this\r\ntype for this work.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a query about a user's authorization of the form, \"Can I (verb) this (noun)?\"."
      },
      "ClaimsResponseDto": {
        "type": "object",
        "properties": {
          "allowed": {
            "type": "boolean",
            "description": "Whether the user is able to perform the action queried."
          },
          "workId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The work ID for the scope of this query.",
            "format": "int32"
          },
          "operation": {
            "$ref": "#/components/schemas/AccessOperations"
          },
          "target": {
            "$ref": "#/components/schemas/AccessTargets"
          },
          "targetId": {
            "type": "integer",
            "description": "The unique ID that the user is trying to get access to. If null, we are requesting whether the user has access for all targets of this\r\ntype for this work.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A response to a query about a user's authorization of the form, \"Can I (verb) this (noun)?\"."
      },
      "ComplexHealthCheckDto": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Current status of the API",
            "nullable": true
          },
          "checks": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "The current status of the internal services",
            "nullable": true
          },
          "duration": {
            "type": "string",
            "description": "The amount of time it took to check the status",
            "example": "00:00:00"
          }
        },
        "additionalProperties": false,
        "description": "Provides information on the health of the api and internal services"
      },
      "ComplexTraceDataCollectionDto": {
        "type": "object",
        "properties": {
          "geometries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComplexTraceDataGeometryDto"
            },
            "description": "The list of trace complex data items requested",
            "nullable": true
          },
          "filesKeyAccess": {
            "$ref": "#/components/schemas/ComplexTraceDataFileKeyAccessDto"
          }
        },
        "additionalProperties": false,
        "description": "Response for complex trace data request"
      },
      "ComplexTraceDataFileKeyAccessDto": {
        "type": "object",
        "properties": {
          "federatedS3AccessToken": {
            "type": "string",
            "description": "The token to use when requesting for federated access",
            "nullable": true
          },
          "fileKeys": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComplexTraceDataFileKeyDto"
            },
            "description": "List of file-keys and their timestamps",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Complex trace data for file-keys"
      },
      "ComplexTraceDataFileKeyDto": {
        "type": "object",
        "properties": {
          "fileKey": {
            "type": "string",
            "description": "S3 file-key",
            "nullable": true
          },
          "time": {
            "type": "string",
            "description": "The time when the value was recorded represented",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Complex trace data of file-key type"
      },
      "ComplexTraceDataGeometryDto": {
        "required": [
          "geometryWkt",
          "time"
        ],
        "type": "object",
        "properties": {
          "geometryWkt": {
            "minLength": 1,
            "type": "string",
            "description": "Well Known Text in WGS84 projected coordinate system for the geometry"
          },
          "time": {
            "minLength": 1,
            "type": "string",
            "description": "The time when the value was recorded represented",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Complex trace data of geometry type"
      },
      "ComplexTraceDataTemporaryFileDto": {
        "required": [
          "temporaryFileReference",
          "time"
        ],
        "type": "object",
        "properties": {
          "temporaryFileReference": {
            "minLength": 1,
            "type": "string",
            "description": "The FileReference provided when uploading to the temporary file",
            "format": "uuid"
          },
          "time": {
            "minLength": 1,
            "type": "string",
            "description": "The time when the value was recorded represented",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Complex trace data of temporary file type"
      },
      "ComponentReport": {
        "type": "object",
        "properties": {
          "reportUri": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "reportId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "reportDescription": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/ReportComponentTypes"
          },
          "parameters": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true,
            "readOnly": true
          },
          "configuration": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "nullable": true,
            "readOnly": true
          },
          "isHidden": {
            "type": "boolean",
            "readOnly": true
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "projectId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "requiresUserInfo": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreateAccessGroupDto": {
        "required": [
          "access",
          "description",
          "globalGroupId",
          "name"
        ],
        "type": "object",
        "properties": {
          "globalGroupId": {
            "minLength": 1,
            "type": "string",
            "description": "The global unique identifier of the access-group",
            "format": "uuid"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string",
            "description": "Name of the access-group"
          },
          "description": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string",
            "description": "Description of the access-group"
          },
          "access": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectAccess"
            },
            "description": "Access permission on the project"
          }
        },
        "additionalProperties": false,
        "description": "A representation of an access-group created on a project in the system."
      },
      "CreateAlarmDto": {
        "required": [
          "description"
        ],
        "type": "object",
        "properties": {
          "traceId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The trace identifier",
            "format": "int32"
          },
          "alarmType": {
            "$ref": "#/components/schemas/AlarmTypes"
          },
          "description": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string",
            "description": "Name of the alarm"
          }
        },
        "additionalProperties": false,
        "description": "Create alarm Dto"
      },
      "CreateAssetDataFileDownloadDto": {
        "required": [
          "assetId",
          "exportFormat",
          "name",
          "scenarioId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The user specified name for this particular download"
          },
          "assetId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The asset id to generate data for.",
            "format": "int32"
          },
          "scenarioId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The scenario id.",
            "format": "int32"
          },
          "exportFormat": {
            "$ref": "#/components/schemas/AssetDataExportFormats"
          }
        },
        "additionalProperties": false,
        "description": "Dto to use for starting the asset download file creation."
      },
      "CreateAssetRelationshipDto": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "integer",
            "description": "The identifier of the primary asset in the relationship",
            "format": "int32"
          },
          "relatedAssetId": {
            "type": "integer",
            "description": "The identifier of the related asset",
            "format": "int32"
          },
          "assetRelationshipType": {
            "$ref": "#/components/schemas/AssetRelationshipTypes"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a relationship between two assets"
      },
      "CreateAssetWithGeometryDto": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "integer",
            "description": "Id of Project",
            "format": "int32"
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypes"
          },
          "name": {
            "type": "string",
            "description": "Name",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description",
            "nullable": true
          },
          "projectionType": {
            "$ref": "#/components/schemas/GeometryProjectionTypes"
          },
          "shapeType": {
            "$ref": "#/components/schemas/GeometryShapeTypes"
          },
          "geometryWkt": {
            "type": "string",
            "description": "Optional WKT of the geometry",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a new asset with optional geometry"
      },
      "CreateBulkTraceSetDataDto": {
        "type": "object",
        "properties": {
          "dayTimeStamp": {
            "type": "string",
            "description": "The date of the day all the data will be within",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "isErrors": {
            "type": "boolean",
            "description": "Whether this data is error data or normal data"
          },
          "pixelData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PixelDataDto"
            },
            "description": "The data for each pixel",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Dto for creating data for a single pixel"
      },
      "CreateCustomNotificationForMultiAlarmsDto": {
        "required": [
          "alarmIds",
          "emailMessage",
          "emailSubject",
          "smsMessage"
        ],
        "type": "object",
        "properties": {
          "alarmIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Alarm ids for creating the custom notification."
          },
          "emailSubject": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string",
            "description": "Email subject"
          },
          "emailMessage": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "Email message"
          },
          "smsMessage": {
            "maxLength": 160,
            "minLength": 1,
            "type": "string",
            "description": "SMS message"
          }
        },
        "additionalProperties": false,
        "description": "Create Custom Notification for multi alarms Dto"
      },
      "CreateCustomNotificationForSingleAlarmDto": {
        "required": [
          "alarmUserGroupIds",
          "emailMessage",
          "emailSubject",
          "smsMessage"
        ],
        "type": "object",
        "properties": {
          "alarmUserGroupIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Alarm user group recipient ids."
          },
          "emailSubject": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string",
            "description": "Email subject"
          },
          "emailMessage": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "Email message"
          },
          "smsMessage": {
            "maxLength": 160,
            "minLength": 1,
            "type": "string",
            "description": "SMS message"
          }
        },
        "additionalProperties": false,
        "description": "Create Custom Notification for single alarm Dto"
      },
      "CreateDataExportFileDownloadDto": {
        "required": [
          "endTimeUtc",
          "name",
          "startTimeUtc"
        ],
        "type": "object",
        "properties": {
          "traceSetCollectionId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the trace set collection",
            "format": "int32"
          },
          "traceSetExportId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the trace set export",
            "format": "int32"
          },
          "startTimeUtc": {
            "type": "string",
            "description": "Start time of the data",
            "format": "date-time"
          },
          "endTimeUtc": {
            "type": "string",
            "description": "End time of the data",
            "format": "date-time"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "User specified name for the download"
          }
        },
        "additionalProperties": false,
        "description": "Dto to use for starting the trace set data export file creation"
      },
      "CreateForecastExportFileDownloadDto": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "traceSetCollectionId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the trace set collection",
            "format": "int32"
          },
          "traceSetExportId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the trace set export",
            "format": "int32"
          },
          "forecastTimeUtc": {
            "type": "string",
            "description": "Time of the forecast",
            "format": "date-time"
          },
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "User specified name for the download"
          }
        },
        "additionalProperties": false,
        "description": "Dto to use for starting the trace set forecast export file creation"
      },
      "CreateInspectionsObservationDto": {
        "required": [
          "measureFrom",
          "remarks"
        ],
        "type": "object",
        "properties": {
          "surveyAssetId": {
            "type": "integer",
            "description": "Id of the survey asset",
            "format": "int32"
          },
          "assetDataSourceId": {
            "type": "integer",
            "description": "Id of the inspection data source",
            "format": "int32"
          },
          "measureFrom": {
            "minLength": 1,
            "type": "string",
            "description": "MeasureFrom attribute"
          },
          "relativeDistance": {
            "type": "number",
            "description": "RelativeDistance attribute",
            "format": "double"
          },
          "remarks": {
            "minLength": 1,
            "type": "string",
            "description": "Text of note"
          }
        },
        "additionalProperties": false,
        "description": "info for creating new observation"
      },
      "CreateNoteAttachmentDto": {
        "required": [
          "description",
          "tempFileReference"
        ],
        "type": "object",
        "properties": {
          "tempFileReference": {
            "minLength": 1,
            "type": "string",
            "description": "The GUID of the temporary file which must already have been uploaded.",
            "format": "uuid"
          },
          "description": {
            "type": "string",
            "description": "A succinct description of what this attachment is."
          }
        },
        "additionalProperties": false,
        "description": "Encodes a request to create a note file attachment based on an existingly uploaded temporary file."
      },
      "CreateNoteAttachmentItemDto": {
        "type": "object",
        "properties": {
          "tempFileReference": {
            "type": "string",
            "description": "The GUID of the temporary file. The file must already have been uploaded.",
            "format": "uuid"
          },
          "description": {
            "type": "string",
            "description": "A succinct description of what this attachment is.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Model representing an attachment created with the note."
      },
      "CreateNoteDto": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The contents of the note",
            "nullable": true
          },
          "isPublic": {
            "type": "boolean",
            "description": "Whether this note is publically accessible"
          },
          "noteType": {
            "$ref": "#/components/schemas/NoteTypes"
          },
          "fileAttachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateNoteAttachmentItemDto"
            },
            "description": "If there are file attachments already temporarily stored to provide with this note, you can specify them here by their FileReference GUID. See /uploads/upload-token.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "An instruction to create a new note, which will be attached to an asset."
      },
      "CreateNoteReferenceDto": {
        "type": "object",
        "properties": {
          "foreignDescriptorType": {
            "$ref": "#/components/schemas/ForeignDescriptorTypes"
          },
          "foreignId": {
            "type": "integer",
            "description": "The unique identifier of the entity that is related to the note.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "An instruction to create a relationship between a note and another entity determined by the ForeignDescriptorType property."
      },
      "CreateProjectDto": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string",
            "description": "The name of this project."
          },
          "description": {
            "maxLength": 2048,
            "type": "string",
            "description": "A description of this project.",
            "nullable": true
          },
          "externalId": {
            "type": "integer",
            "description": "Optional Id for the external project system",
            "format": "int32",
            "nullable": true
          },
          "latitudeCenter": {
            "type": "number",
            "description": "The latitude of the physical location this project is located at.",
            "format": "double",
            "nullable": true
          },
          "longitudeCenter": {
            "type": "number",
            "description": "The longitude of the physical location this project is located at.",
            "format": "double",
            "nullable": true
          },
          "mapZoom": {
            "type": "integer",
            "description": "The preferred zoom level of the map for this project.",
            "format": "int32",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "description": "The TimeZone name from the Olson database",
            "nullable": true
          },
          "srId": {
            "type": "string",
            "description": "The spatial reference identifier used by the geometries in this project.",
            "nullable": true
          },
          "productId": {
            "type": "integer",
            "description": "The product that the project belongs to.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a project's information to create"
      },
      "CreateScenarioDto": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "projectId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The id of the Project that this scenario belongs to.",
            "format": "int32"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string",
            "description": "The name of this scenario."
          },
          "description": {
            "maxLength": 2048,
            "type": "string",
            "description": "A description of this scenario.",
            "nullable": true
          },
          "isVisible": {
            "type": "boolean",
            "description": "Is Visible (default false)"
          }
        },
        "additionalProperties": false,
        "description": "The information needed to create a scenario"
      },
      "CreateTraceAttributeDto": {
        "required": [
          "value"
        ],
        "type": "object",
        "properties": {
          "traceAttributeType": {
            "$ref": "#/components/schemas/TraceAttributeTypes"
          },
          "value": {
            "description": "The value of the attribute"
          },
          "utcTimestamp": {
            "type": "string",
            "description": "the UTC time stamp",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A Dto to be used when adding new attribute of a trace"
      },
      "CreateTraceDataFileDownloadDto": {
        "required": [
          "assetIds",
          "exportFormat",
          "from",
          "groupingDataType",
          "timeIntervalSeconds",
          "to"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The user specified name for this particular download",
            "nullable": true
          },
          "assetIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "A list of asset ids to parse the data for."
          },
          "timeIntervalSeconds": {
            "type": "integer",
            "description": "The number of seconds between each data point.",
            "format": "int32"
          },
          "from": {
            "type": "string",
            "description": "The start DateTime for which to get data points.",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "to": {
            "type": "string",
            "description": "The end DateTime for which to get data points.",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "groupingDataType": {
            "$ref": "#/components/schemas/GroupingDataTypes"
          },
          "exportFormat": {
            "$ref": "#/components/schemas/TraceDataExportFormats"
          },
          "traceFilterType": {
            "$ref": "#/components/schemas/TraceFilterTypes"
          }
        },
        "additionalProperties": false,
        "description": "Dto to use for starting the trace data file creation"
      },
      "CreateTraceDto": {
        "type": "object",
        "properties": {
          "assetId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The id of the gauge this trace is associated with.",
            "format": "int32"
          },
          "dataVariableTypeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The id of the data variable type this trace is recording.",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "A description of the trace",
            "nullable": true
          },
          "resolution": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The resolution of data collection in seconds",
            "format": "int32"
          },
          "scenarioId": {
            "type": "integer",
            "description": "An optional scenario the trace is related to.",
            "format": "int32",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "description": "An optional TimeZone string if this trace's data time differs from the project's data TimeZone",
            "nullable": true
          },
          "multiplier": {
            "type": "number",
            "description": "An optional Multiplier value if this trace's multiplier is not zero",
            "format": "double",
            "nullable": true
          },
          "styleConfig": {
            "description": "Either from Trace or its DataVariableType (Trace StyleConfig takes precedence)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A dto used to specify the parameters for creating a new trace."
      },
      "CreateTraceSetDataDto": {
        "required": [
          "data"
        ],
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string",
            "description": "The timestamp the data is for.",
            "format": "date-time"
          },
          "isRealTimeData": {
            "type": "boolean",
            "description": "Whether this data is realtime data (which goes into the trace set data buffer). False if calibrated or archive data."
          },
          "data": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "float",
              "nullable": true
            },
            "description": "The values of each pixel for this timestamp."
          }
        },
        "additionalProperties": false,
        "description": "A representation of a collection of data to save for a trace set."
      },
      "CreateTraceSimpleDto": {
        "type": "object",
        "properties": {
          "dataVariableTypeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The id of the data variable type this trace is recording.",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "A description of the trace",
            "nullable": true
          },
          "resolution": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The resolution of data collection in seconds",
            "format": "int32"
          },
          "styleConfig": {
            "description": "Either from Trace or its DataVariableType (Trace StyleConfig takes precedence)",
            "nullable": true
          },
          "thirdPartyAssetName": {
            "type": "string",
            "description": "Optional override for Name for third party placeholder Asset upon creation only (this value is ignored if the Asset already exists)",
            "nullable": true
          },
          "thirdPartyAssetDescription": {
            "type": "string",
            "description": "Optional override for Description for third party placeholder Asset upon creation only (this value is ignored if the Asset already exists)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A dto used to create a trace with minimal fields."
      },
      "CreateTraceThresholdDto": {
        "required": [
          "alarmDescription",
          "name"
        ],
        "type": "object",
        "properties": {
          "alarmDescription": {
            "minLength": 1,
            "type": "string",
            "description": "Description of the alarm for the trace threshold"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string",
            "description": "Name of the trace threshold"
          },
          "value": {
            "type": "number",
            "description": "Value of the trace threshold",
            "format": "double"
          },
          "thresholdType": {
            "$ref": "#/components/schemas/TraceThresholdTypes"
          },
          "thresholdCategoryId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Identifier for threshold category",
            "format": "int32"
          },
          "isCritical": {
            "type": "boolean",
            "description": "Is a critical threshold"
          }
        },
        "additionalProperties": false,
        "description": "Create Trace Threshold DTO"
      },
      "CreatedAssetRelationshipDto": {
        "type": "object",
        "properties": {
          "assetRelationshipID": {
            "type": "integer",
            "description": "The asset relationship identifier.",
            "format": "int32"
          },
          "assetID": {
            "type": "integer",
            "description": "The asset identifier.",
            "format": "int32"
          },
          "relatedAssetID": {
            "type": "integer",
            "description": "The related asset identifier.",
            "format": "int32"
          },
          "assetRelationshipTypeID": {
            "type": "integer",
            "description": "The asset relationship type identifier.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a created relationship between two assets."
      },
      "CsvUpdateScenarioAssetsDto": {
        "required": [
          "primaryKeyFieldName"
        ],
        "type": "object",
        "properties": {
          "geometryFieldName": {
            "type": "string",
            "description": "The name of the CSV field that contains the geometry, supplied as well-known text (WKT).",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "description": "If provided, any ambiguous date times will be interpreted as this time zone. Takes a Locale Identifier (LCID)",
            "nullable": true
          },
          "srId": {
            "type": "integer",
            "description": "If provided, the spatial reference identifier used by the geometries in this import.\r\nDefaults to the project's SrId.",
            "format": "int32",
            "nullable": true
          },
          "assetNoteAttachmentsZipUploadKey": {
            "type": "string",
            "description": "If provided, will contain a upload key to a ZIP file which will contain any attachment files that were related to the features being imported with the internal\r\nstructure /{featurePrimaryKey}/{originalfilename_attachmentid.originalextension}",
            "nullable": true
          },
          "existingCorrelationIdentifier": {
            "type": "string",
            "description": "If you are continuing a import, provide the existing correlation identifier",
            "format": "uuid",
            "nullable": true
          },
          "primaryKeyFieldName": {
            "minLength": 1,
            "type": "string",
            "description": "The field which is unique in their system and provided in the file"
          },
          "assetTypeFieldName": {
            "type": "string",
            "description": "The field which describes the asset type for each asset provided in the file",
            "nullable": true
          },
          "defaultAssetTypeId": {
            "$ref": "#/components/schemas/AssetTypes"
          },
          "defaultAssetDataSourceId": {
            "type": "integer",
            "description": "The default AssetData source that will be used for imported assetData",
            "format": "int32",
            "nullable": true
          },
          "modelImportUserSuppliedDetails": {
            "$ref": "#/components/schemas/ModelImportUserSuppliedDetailsDto"
          },
          "allowAssetsToBeUnmodelled": {
            "type": "boolean",
            "description": "A flag to allow assets to be unmodelled if they are missing form this model"
          },
          "ignoreNullGeometries": {
            "type": "boolean",
            "description": "If true, geometries in this import may be omitted."
          },
          "nullGeometryBaseType": {
            "$ref": "#/components/schemas/ImportAssetBaseTypes"
          },
          "assetRelationship": {
            "$ref": "#/components/schemas/AssetRelationshipFieldDto"
          },
          "allowAssetRelationshipsToBeOptional": {
            "type": "boolean",
            "description": "If true, then if a target asset is missing for a relationship the relationship will not be created (instead of import failure)"
          },
          "assetNameFieldName": {
            "type": "string",
            "description": "Optional name of the field that should be used for setting the asset's name value",
            "nullable": true
          },
          "nodeThirdPartyMappingType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "linkThirdPartyMappingType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "subcatchmentThirdPartyMappingType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "postImportWebhooks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostImportWebhookDto"
            },
            "description": "Optional collection of web hooks to call post import",
            "nullable": true
          },
          "postImportMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DynamicMessageDto"
            },
            "description": "Optional collection of messages to send onwards post import",
            "nullable": true
          },
          "relatedAssetId": {
            "type": "integer",
            "description": "Optionally you may relate every asset in this import with a single asset, identified by its numeric asset ID. You must also\r\nsupply RelatedAssetRelationshipType, which specifies the type of the relationship to create.",
            "format": "int32",
            "nullable": true
          },
          "relatedAssetRelationshipType": {
            "$ref": "#/components/schemas/AssetRelationshipTypes"
          },
          "defaultAssetDataSourceName": {
            "type": "string",
            "description": "The default asset data source name for the asset being imported.",
            "nullable": true
          },
          "dataSourceColumns": {
            "$ref": "#/components/schemas/DataSourceColumnConfigurationDto"
          }
        },
        "additionalProperties": false,
        "description": "Dto which provides context for a model being imported via CSV"
      },
      "DataImportMappingDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier of this import mapping",
            "format": "int32"
          },
          "isArchived": {
            "type": "boolean",
            "description": "True if the mapping reflects archived data."
          },
          "gaugeSummaryId": {
            "type": "integer",
            "description": "The identifier of the gauge summaryId, if defined for this mapping.\r\nDefaults to 0 if no gauge summaryId exists.",
            "format": "int32"
          },
          "importOptionSetId": {
            "type": "integer",
            "description": "The key of the import options set.",
            "format": "int32"
          },
          "lastImported": {
            "type": "string",
            "description": "The last time this mapping was imported",
            "format": "date-time",
            "nullable": true
          },
          "importOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceImportOptionDto"
            },
            "description": "The import options associated with this mapping.",
            "nullable": true
          },
          "state": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Optional state for the mapping",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a parameter used when importing data for a particular data source."
      },
      "DataImportParsers": {
        "enum": [
          "None",
          "HilltopWebserviceParser",
          "DataWiseWebserviceParser",
          "OutpostWebServiceParser",
          "NiwaNeonWebServiceParser",
          "CsvImporter",
          "MetOceanWebServiceParser",
          "AucklandCouncilRfsImporter",
          "TelogWebApiImporter",
          "WaterwatchApiImporter",
          "HealthyWatersArcGisWqSampleImporter",
          "HealthyWatersLabResultImporter",
          "OnaFormSubmissionImporter",
          "HealthyWatersArcGisCalibrationResultImporter",
          "HealthyWatersPeriodicCalibrationRelationshipBuilder",
          "VtArcGisImporter"
        ],
        "type": "string",
        "description": "Types of import parser types"
      },
      "DataImportSourceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique identifier of this data import source",
            "format": "int32"
          },
          "parser": {
            "$ref": "#/components/schemas/DataImportParsers"
          },
          "lastChecked": {
            "type": "string",
            "description": "The last date/time this data import source had data imported.",
            "format": "date-time",
            "nullable": true
          },
          "checkFrequencySeconds": {
            "type": "integer",
            "description": "The frequency that the data import source should be checked in seconds.",
            "format": "int64"
          },
          "queuePriority": {
            "type": "integer",
            "description": "The priority of this source, 0 being the lowest, 10 being the highest",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a source for importing data"
      },
      "DataImportSourceFileMappingDto": {
        "type": "object",
        "properties": {
          "dataImportSourceFileMappingId": {
            "type": "integer",
            "description": "The primary identifier",
            "format": "int32"
          },
          "dataImportSourceId": {
            "type": "integer",
            "description": "The data import source that matches the folder and file regex",
            "format": "int32"
          },
          "filePrefix": {
            "type": "string",
            "description": "The file prefix / folder of the files",
            "nullable": true
          },
          "fileRegex": {
            "type": "string",
            "description": "The regex to match on the filename",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A FileKey to DataImportSourceId mapping for identifying what datasource handles which file"
      },
      "DataSourceColumnConfigurationDto": {
        "type": "object",
        "properties": {
          "nameColumn": {
            "type": "string",
            "description": "Required. This column contains the name of the asset data source.",
            "nullable": true
          },
          "rankColumn": {
            "type": "string",
            "description": "Optional. This column contains the rank of the asset data source if a data source of the given data source of name in NameColumn does not yet exist (otherwise uses default).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Configuration for an asset data source column. It's not necessary to provide this configuration, but if provided you must supply at least a NameColumn."
      },
      "DataSourceImportOptionDto": {
        "type": "object",
        "properties": {
          "typeId": {
            "type": "integer",
            "description": "The type identifier of this option",
            "format": "int32"
          },
          "key": {
            "type": "string",
            "description": "The option key",
            "nullable": true
          },
          "value": {
            "type": "string",
            "description": "The option value",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a parameter used when importing data for a particular data source."
      },
      "DataVariableTypeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of the data variable type.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of the data variable type.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of the data variable type.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "The type of data this variable is recording. I.e. 'Rain'",
            "nullable": true
          },
          "isZeroRelevant": {
            "type": "boolean",
            "description": "Whether zero value make sense for this data variable type."
          },
          "order": {
            "type": "integer",
            "description": "Specifies the suggested order of the data variable type.",
            "format": "int32"
          },
          "units": {
            "$ref": "#/components/schemas/DataVariableUnitDto"
          },
          "styleConfig": {
            "description": "Optional style config JSON for the data variable type.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of the details of a gauge summary (variable) type."
      },
      "DataVariableUnitDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this unit.",
            "format": "int32"
          },
          "label": {
            "type": "string",
            "description": "The label of the unit. Can be used for rendering plots.",
            "nullable": true
          },
          "isTotalRelevant": {
            "type": "boolean",
            "description": "Whether specifying \"Total\" for a data type when querying data is relevant for this variable"
          },
          "baseUnitConversion": {
            "type": "number",
            "description": "The conversion factor over the base unit.",
            "format": "double"
          },
          "isIntegrationRelevant": {
            "type": "boolean",
            "description": "Whether integrating this unit is relevant"
          },
          "integrationBaseUnitConversion": {
            "type": "number",
            "description": "The converstion factor when using the integrated value",
            "format": "double"
          },
          "integrationUnitLabel": {
            "type": "string",
            "description": "The label to use for the integrated unit.",
            "nullable": true
          },
          "timeBaseUnitConversion": {
            "type": "number",
            "description": "The conversion factor for time.",
            "format": "double"
          },
          "unitTypeName": {
            "type": "string",
            "description": "Optional type name of the related data variable unit type",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of the units a given gauge summary (variable) is recorded in."
      },
      "DateRangeDto": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "The start of the date range",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "description": "The end of the date range",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Encapsulation of a date range."
      },
      "DayOfWeek": {
        "enum": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ],
        "type": "string"
      },
      "DerivedTraceCalcType": {
        "enum": [
          "ApiTraceData",
          "CloudFunction",
          "CloudHook"
        ],
        "type": "string"
      },
      "DisplayAssetAttributeDto": {
        "type": "object",
        "properties": {
          "assetId": {
            "type": "integer",
            "description": "The ID of the asset",
            "format": "int32"
          },
          "typeId": {
            "type": "integer",
            "description": "The ID of the value's attribute type.",
            "format": "int32"
          },
          "sourceId": {
            "type": "integer",
            "description": "The unique identifier of the source of this attribute",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "The Description of this Attribute",
            "nullable": true
          },
          "displaySource": {
            "type": "string",
            "description": "The Source Description",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "description": "The last modified time of this attribute",
            "format": "date-time",
            "nullable": true
          },
          "modifiedBy": {
            "type": "string",
            "description": "The user that last modified this attribute",
            "nullable": true
          },
          "displayValue": {
            "description": "The value of the attribute",
            "nullable": true
          },
          "assetDataValueType": {
            "$ref": "#/components/schemas/AssetAttributePrimitiveTypes"
          },
          "allowedValues": {
            "type": "array",
            "items": { },
            "description": "If the data value type takes discrete values only, this field will indicate the set of valid values.",
            "nullable": true
          },
          "alternativeRepresentations": {
            "type": "array",
            "items": { },
            "description": "Non-canonical, but allowed representations that can be used for update.",
            "nullable": true
          },
          "isVisible": {
            "type": "boolean",
            "description": "Should this attribute be displayed in regular attribute listings?"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a particular attribute for an asset for display purposes. Uniquely identified by the asset ID, scenario ID, source ID and\r\ntype ID."
      },
      "DisplayAssetAttributeUpsertDto": {
        "required": [
          "value"
        ],
        "type": "object",
        "properties": {
          "attributeTypeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The unique identifier of the attribute type of this asset attribute",
            "format": "int32"
          },
          "attributeSourceId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The unique identifier of the source of this attribute",
            "format": "int32"
          },
          "scenarioId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The scenario of the attribute to upsert.",
            "format": "int32"
          },
          "value": {
            "description": "The value of the attribute"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a particular attribute for an asset"
      },
      "DisplayAssetAttributeWithPermissionsDto": {
        "type": "object",
        "properties": {
          "isEditable": {
            "type": "boolean",
            "description": "Can this asset data value be edited?"
          },
          "assetId": {
            "type": "integer",
            "description": "The ID of the asset",
            "format": "int32"
          },
          "typeId": {
            "type": "integer",
            "description": "The ID of the value's attribute type.",
            "format": "int32"
          },
          "sourceId": {
            "type": "integer",
            "description": "The unique identifier of the source of this attribute",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "The Description of this Attribute",
            "nullable": true
          },
          "displaySource": {
            "type": "string",
            "description": "The Source Description",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "description": "The last modified time of this attribute",
            "format": "date-time",
            "nullable": true
          },
          "modifiedBy": {
            "type": "string",
            "description": "The user that last modified this attribute",
            "nullable": true
          },
          "displayValue": {
            "description": "The value of the attribute",
            "nullable": true
          },
          "assetDataValueType": {
            "$ref": "#/components/schemas/AssetAttributePrimitiveTypes"
          },
          "allowedValues": {
            "type": "array",
            "items": { },
            "description": "If the data value type takes discrete values only, this field will indicate the set of valid values.",
            "nullable": true
          },
          "alternativeRepresentations": {
            "type": "array",
            "items": { },
            "description": "Non-canonical, but allowed representations that can be used for update.",
            "nullable": true
          },
          "isVisible": {
            "type": "boolean",
            "description": "Should this attribute be displayed in regular attribute listings?"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a particular attribute for an asset for display purposes, including permission information.\r\nUniquely identified by the asset ID, scenario ID, source ID and type ID."
      },
      "DownloadStatuses": {
        "enum": [
          "Started",
          "Processing",
          "Completed",
          "Failed"
        ],
        "type": "string",
        "description": "The varies available statuses for a download process"
      },
      "DynamicMessageDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Text presentation of the type of the message, it must be a type within H2k.Messaging.Messages assembly",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Text presentation of the message",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Dynamic message which is able to deserialize to the specific type of message"
      },
      "FederatedS3AccessCredentialsDto": {
        "type": "object",
        "properties": {
          "accessKey": {
            "type": "string",
            "description": "The AWS temporary user access-key",
            "nullable": true
          },
          "secretKey": {
            "type": "string",
            "description": "The AWS temporary user secret-key",
            "nullable": true
          },
          "sessionToken": {
            "type": "string",
            "description": "The AWS temporary user session-token",
            "nullable": true
          },
          "expiry": {
            "type": "string",
            "description": "The date-time of when this temporary user will expire",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Temporary credentials for S3"
      },
      "FederatedS3AccessDto": {
        "type": "object",
        "properties": {
          "credentials": {
            "$ref": "#/components/schemas/FederatedS3AccessCredentialsDto"
          },
          "awsRegion": {
            "type": "string",
            "description": "The AWS region your resources are in e.g. ap-southeast-2",
            "nullable": true
          },
          "serviceName": {
            "type": "string",
            "description": "The service name of S3. Casing is import when requesting from S3",
            "nullable": true
          },
          "httpVerb": {
            "type": "string",
            "description": "Specify GET to help clarify how to make the resource request",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Temporary access information to use for access to S3"
      },
      "FileDownloadDto": {
        "type": "object",
        "properties": {
          "uri": {
            "type": "string",
            "description": "Uri formatted location of the file resource.",
            "format": "uri",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Points to a static web file resource."
      },
      "FileUploadDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Unique file identifier.",
            "nullable": true
          },
          "uri": {
            "type": "string",
            "description": "Uri formatted location of where to upload the file.",
            "format": "uri",
            "nullable": true
          },
          "verb": {
            "type": "string",
            "description": "Http verb contraint for uploading data.",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "description": "Content type header required to be specified by client when making GET request for file.",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false,
        "description": "Points to a static web file resource upload container."
      },
      "ForeignDescriptorTypes": {
        "enum": [
          "USER",
          "ROLE",
          "DOCUMENT",
          "NOTE",
          "NOTEATTACHMENT",
          "TAG",
          "ASSETTYPE",
          "LAYERTREE"
        ],
        "type": "string",
        "description": "Foreign Descriptor types"
      },
      "GeometryProjectionTypes": {
        "enum": [
          "None",
          "Nztm2193",
          "Wgs84WorldMercator",
          "Wgs844326",
          "BritishNationalGrid",
          "Gda945328353",
          "Gda945528355",
          "Gda945628356",
          "Epsg32647"
        ],
        "type": "string",
        "description": "List of valid geometry projection system types."
      },
      "GeometryShapeTypes": {
        "enum": [
          "None",
          "Point",
          "Line",
          "Polygon",
          "Raster",
          "TiledRaster",
          "TiledPoint",
          "TiledLine",
          "TiledPolygon"
        ],
        "type": "string",
        "description": "List of valid geometry shape types."
      },
      "GetTraceSetDataExportDataDto": {
        "required": [
          "bottomRightX",
          "bottomRightY",
          "endTimeUtc",
          "geometryProjectionType",
          "limit",
          "offset",
          "pixelWidth",
          "startTimeUtc",
          "topLeftX",
          "topLeftY"
        ],
        "type": "object",
        "properties": {
          "startTimeUtc": {
            "type": "string",
            "description": "Data Start time",
            "format": "date-time"
          },
          "endTimeUtc": {
            "type": "string",
            "description": "Data End time",
            "format": "date-time"
          },
          "topLeftX": {
            "type": "number",
            "description": "Top Left X",
            "format": "double"
          },
          "topLeftY": {
            "type": "number",
            "description": "Top Left Y",
            "format": "double"
          },
          "bottomRightX": {
            "type": "number",
            "description": "Bottom Right X",
            "format": "double"
          },
          "bottomRightY": {
            "type": "number",
            "description": "Bottom Right Y",
            "format": "double"
          },
          "pixelWidth": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Pixel width for the export",
            "format": "int32"
          },
          "geometryProjectionType": {
            "$ref": "#/components/schemas/GeometryProjectionTypes"
          },
          "limit": {
            "maximum": 10000,
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Limit of records to return",
            "format": "int32"
          },
          "offset": {
            "minimum": 0,
            "type": "integer",
            "description": "Offset of records to return",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Dto to use for querying for trace set forecast export data"
      },
      "GetTraceSetForecastExportDataDto": {
        "required": [
          "bottomRightX",
          "bottomRightY",
          "forecastTimeUtc",
          "geometryProjectionType",
          "limit",
          "offset",
          "pixelWidth",
          "topLeftX",
          "topLeftY"
        ],
        "type": "object",
        "properties": {
          "forecastTimeUtc": {
            "type": "string",
            "description": "Time of the forecast",
            "format": "date-time"
          },
          "topLeftX": {
            "type": "number",
            "description": "Top Left X",
            "format": "double"
          },
          "topLeftY": {
            "type": "number",
            "description": "Top Left Y",
            "format": "double"
          },
          "bottomRightX": {
            "type": "number",
            "description": "Bottom Right X",
            "format": "double"
          },
          "bottomRightY": {
            "type": "number",
            "description": "Bottom Right Y",
            "format": "double"
          },
          "pixelWidth": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Pixel width for the export",
            "format": "int32"
          },
          "geometryProjectionType": {
            "$ref": "#/components/schemas/GeometryProjectionTypes"
          },
          "limit": {
            "maximum": 10000,
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Limit of records to return",
            "format": "int32"
          },
          "offset": {
            "minimum": 0,
            "type": "integer",
            "description": "Offset of records to return",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Dto to use for querying for trace set forecast export data"
      },
      "GetTraceSetsDataAggregateDto": {
        "required": [
          "pi",
          "tsId"
        ],
        "type": "object",
        "properties": {
          "tsId": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Collection of Ids of the Trace Sets"
          },
          "startTime": {
            "type": "string",
            "description": "Start Time of the data",
            "format": "date-time"
          },
          "endTime": {
            "type": "string",
            "description": "End Time of the data",
            "format": "date-time"
          },
          "pi": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Collection of Pixel Indices"
          },
          "aggregateType": {
            "$ref": "#/components/schemas/AggregateTypes"
          },
          "aggregateParameter": {
            "type": "number",
            "description": "Additional parameter for the aggregate if applicable, i.e. if AggregateType is quantile, what is tau?",
            "format": "double",
            "nullable": true
          },
          "resolutionSecs": {
            "type": "integer",
            "description": "Optional time resolution in seconds to aggregate to. Must be a multiple of the original resolution.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Requests an aggregate of trace set data across the configured pixels and trace sets, for each time in the data.\r\nThe trace sets selected must all share the same data interval."
      },
      "GetTraceSetsDataDto": {
        "required": [
          "pi",
          "tsId"
        ],
        "type": "object",
        "properties": {
          "tsId": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Collection of Ids of the Trace Sets"
          },
          "startTime": {
            "type": "string",
            "description": "Start Time of the data",
            "format": "date-time"
          },
          "endTime": {
            "type": "string",
            "description": "End Time of the data",
            "format": "date-time"
          },
          "pi": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Collection of Pixel Indices"
          }
        },
        "additionalProperties": false,
        "description": "A request for raw traceset forecast data"
      },
      "GetTraceSetsForecastDataAggregateDto": {
        "required": [
          "pi",
          "tsId"
        ],
        "type": "object",
        "properties": {
          "tsId": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Collection of Ids of the Trace Sets"
          },
          "forecastTime": {
            "type": "string",
            "description": "Time of the Forecast",
            "format": "date-time"
          },
          "pi": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Collection of Pixel Indices"
          },
          "aggregateType": {
            "$ref": "#/components/schemas/AggregateTypes"
          },
          "aggregateParameter": {
            "type": "number",
            "description": "Additional parameter for the aggregate if applicable, i.e. if AggregateType is quantile, what is tau?",
            "format": "double",
            "nullable": true
          },
          "resolutionSecs": {
            "type": "integer",
            "description": "Optional time resolution in seconds to aggregate to. Must be a multiple of the original resolution.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Requests an aggregate of trace set forecast data across the configured pixels and trace sets, for each time in the data.\r\nThe trace sets selected must all share the same data interval."
      },
      "GetTraceSetsForecastDataDto": {
        "required": [
          "pi",
          "tsId"
        ],
        "type": "object",
        "properties": {
          "tsId": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Collection of Ids of the Trace Sets"
          },
          "forecastTime": {
            "type": "string",
            "description": "Time of the Forecast",
            "format": "date-time"
          },
          "pi": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Collection of Pixel Indices"
          }
        },
        "additionalProperties": false,
        "description": "A request for raw traceset forecast data"
      },
      "GroupingDataTypes": {
        "enum": [
          "Mean",
          "Maximum",
          "Minimum",
          "Start",
          "End",
          "First",
          "Last",
          "Total",
          "None"
        ],
        "type": "string",
        "description": "The method used for grouping the data"
      },
      "ImportAssetAttributeDto": {
        "required": [
          "value"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The identifier of the asset that this attribute corresponds to.",
            "format": "int32"
          },
          "assetDataTypeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The identifier of the asset data type related to this attribute.",
            "format": "int32"
          },
          "assetDataSourceId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The identifier of the asset data source related to this attribute.",
            "format": "int32"
          },
          "scenarioComponentId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The scenariocomponentid related to this attribute.",
            "format": "int32"
          },
          "use": {
            "type": "boolean",
            "description": "Whether the asset attribute should be used."
          },
          "value": {
            "description": "The value of this asset attribute, represented as the most appropriately typed, json-compatible object representation for its primitive."
          }
        },
        "additionalProperties": false,
        "description": "A representation of an asset's attribute as it is understood from the importer's perspective."
      },
      "ImportAssetBaseTypes": {
        "enum": [
          "Node",
          "Link",
          "Subcatchment"
        ],
        "type": "string",
        "description": "The base asset types supported by the model importer system."
      },
      "ImportedAssetAttributeDto": {
        "required": [
          "value"
        ],
        "type": "object",
        "properties": {
          "dataTierValue": {
            "description": "This is how the attribute is represented at the data tier.",
            "nullable": true
          },
          "assetId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The identifier of the asset that this attribute corresponds to.",
            "format": "int32"
          },
          "assetDataTypeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The identifier of the asset data type related to this attribute.",
            "format": "int32"
          },
          "assetDataSourceId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The identifier of the asset data source related to this attribute.",
            "format": "int32"
          },
          "scenarioComponentId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The scenariocomponentid related to this attribute.",
            "format": "int32"
          },
          "use": {
            "type": "boolean",
            "description": "Whether the asset attribute should be used."
          },
          "value": {
            "description": "The value of this asset attribute, represented as the most appropriately typed, json-compatible object representation for its primitive."
          }
        },
        "additionalProperties": false,
        "description": "Represents an attribute which has been imported and now exists in the database."
      },
      "InviteUserToAccessGroupDto": {
        "required": [
          "username"
        ],
        "type": "object",
        "properties": {
          "username": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string",
            "description": "Email address of the user",
            "format": "email"
          },
          "globalGroupId": {
            "type": "string",
            "description": "The global unique identifier of the access group",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a user assigned to an access-group"
      },
      "LayerShapeType": {
        "enum": [
          "Unknown",
          "Point",
          "Line",
          "Polygon",
          "Raster"
        ],
        "type": "string",
        "description": "An enumeration of possible values for a layer's shape type."
      },
      "LayerTreeAssignmentDto": {
        "type": "object",
        "properties": {
          "layerTreeId": {
            "type": "integer",
            "description": "The Id of the layer",
            "format": "int32"
          },
          "scenarioId": {
            "type": "integer",
            "description": "The Id of the scenario",
            "format": "int32"
          },
          "globalGroupId": {
            "type": "string",
            "description": "The Global Id of the Access Group",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "An assignment of a layer to a scenario"
      },
      "LayerTreeNodeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this layer tree node",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of this layer tree node",
            "nullable": true
          },
          "opacity": {
            "type": "integer",
            "description": "Opacity value for the layer (1 - 100)",
            "format": "int32",
            "nullable": true
          },
          "grouping": {
            "type": "integer",
            "description": "Grouping ordinal. Layer tree nodes with the same grouping value are suggested to be presented as mutually exclusive layers",
            "format": "int32",
            "nullable": true
          },
          "ordering": {
            "type": "integer",
            "description": "Ordering value for the node",
            "format": "int32",
            "nullable": true
          },
          "isSelectedByDefault": {
            "type": "boolean",
            "description": "True if this layer tree node should be selected by default"
          },
          "isShownByDefault": {
            "type": "boolean",
            "description": "True if this layer tree node should be shown by default"
          },
          "minZoomLevel": {
            "type": "integer",
            "description": "The minimum zoom level that this layer can be displayed for",
            "format": "int32"
          },
          "maxZoomLevel": {
            "type": "integer",
            "description": "The maximum zoom level that this layer can be displayed for",
            "format": "int32"
          },
          "legend": {
            "$ref": "#/components/schemas/LayerTreeNodeLegendDto"
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LayerTreeNodeDto"
            },
            "description": "The list of descendent layer tree nodes",
            "nullable": true
          },
          "defaultDateRange": {
            "$ref": "#/components/schemas/DateRangeDto"
          },
          "isTiled": {
            "type": "boolean",
            "description": "Defined whether this layer should be called in tiles or as a whole",
            "nullable": true
          },
          "layerConfig": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Defines the layer configuration based on the type of source",
            "nullable": true
          },
          "layerBins": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Defines the binned groupings on how to display this layer",
            "nullable": true
          },
          "style": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Styling options for the layer",
            "nullable": true
          },
          "parentId": {
            "type": "integer",
            "description": "Id of the parent layer of the layer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a map layer"
      },
      "LayerTreeNodeLegendDto": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "description": "The optional colour of items represented by this layer.",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "description": "The optional relative size of items represented by this layer.",
            "format": "int32",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "description": "The optional name or URI of the icon this layer.",
            "nullable": true
          },
          "shapeType": {
            "$ref": "#/components/schemas/LayerShapeType"
          }
        },
        "additionalProperties": false,
        "description": "Represents legend information for a layer tree node."
      },
      "LayerTreeSummaryDto": {
        "type": "object",
        "properties": {
          "layerTreeId": {
            "type": "integer",
            "description": "The unique id of this layer tree node.",
            "format": "int32"
          },
          "parentId": {
            "type": "integer",
            "description": "Id of the parent layer of the layer",
            "format": "int32",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "The name of this layer tree.",
            "nullable": true
          },
          "colour": {
            "type": "string",
            "description": "The colour of this layer tree.",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "description": "The URL of the image for this layer tree.",
            "nullable": true
          },
          "ordering": {
            "type": "integer",
            "description": "Ordering value for the layer tree.",
            "format": "int32",
            "nullable": true
          },
          "tickedByDefault": {
            "type": "boolean",
            "description": "True if this layer tree should be selected by default."
          },
          "showByDefault": {
            "type": "boolean",
            "description": "True if this layer tree should be shown by default."
          },
          "hideCheckbox": {
            "type": "boolean",
            "description": "True if the checkbox for this layer tree should be hidden."
          }
        },
        "additionalProperties": false,
        "description": "A representation of a map layer."
      },
      "LockDto": {
        "type": "object",
        "properties": {
          "lockIdentifier": {
            "type": "string",
            "description": "The locks unique identifier",
            "format": "uuid",
            "nullable": true
          },
          "oldLocksToRemoveSeconds": {
            "type": "integer",
            "description": "The time in seconds the locks will timeout in",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Used to specify the criteria of lock"
      },
      "LongRunningProcessDto": {
        "type": "object",
        "properties": {
          "correlationIdentifier": {
            "type": "string",
            "description": "The unique identifier for this porocess",
            "format": "uuid"
          },
          "type": {
            "$ref": "#/components/schemas/LongRunningProcessTypes"
          },
          "name": {
            "type": "string",
            "description": "The name that was given to this process",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "The current Status of the process",
            "nullable": true
          },
          "startedTime": {
            "type": "string",
            "description": "The Date and Time this process started",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "statusChangedTime": {
            "type": "string",
            "description": "The Date and Time this process last had a status change",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "result": {
            "type": "string",
            "description": "The result of the process",
            "nullable": true
          },
          "failReason": {
            "type": "string",
            "description": "The reason of failure, should only be present on Failed status",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Additional metadata related to the process.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The information for a long running process"
      },
      "LongRunningProcessTypes": {
        "enum": [
          "Download",
          "Upload",
          "ModelRun"
        ],
        "type": "string",
        "description": "Types of long running processes which are used"
      },
      "ModelImportUserSuppliedDetailsDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of data this dto contains",
            "nullable": true
          },
          "userSuppliedAssetData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserSuppliedAttributeDto"
            },
            "description": "The Fields that will be mapped to attributes",
            "nullable": true
          },
          "userSuppliedAssetTypeValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserSuppliedAssetTypeValueDto"
            },
            "description": "The Asset type source values that need to be mapped to known asset types",
            "nullable": true
          },
          "assetValidationErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetValidationErrorDto"
            },
            "description": "Validation errors that occurred when parsing assets.",
            "nullable": true
          },
          "truncatedAssetValidationErrors": {
            "type": "integer",
            "description": "The number of asset validation errors that were found, but truncated in the final digest to control the request size.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Details of the required user input for a model import"
      },
      "ModelRunDto": {
        "type": "object",
        "properties": {
          "modelType": {
            "$ref": "#/components/schemas/ModelTypes"
          },
          "scenarioId": {
            "type": "integer",
            "description": "The scenario id associated with the model run.",
            "format": "int32"
          },
          "assetId": {
            "type": "integer",
            "description": "The asset id associated with the model run. This can be null.",
            "format": "int32",
            "nullable": true
          },
          "correlationIdentifier": {
            "type": "string",
            "description": "The correlation identifier associated with the model run.",
            "format": "uuid"
          },
          "userId": {
            "type": "integer",
            "description": "The user id of the user associated with this model run.",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/LongRunningProcessTypes"
          },
          "name": {
            "type": "string",
            "description": "The name of the model run.",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "The status of the model run.",
            "nullable": true
          },
          "startedTimeUtc": {
            "type": "string",
            "description": "The time in UTC when the model run was started.",
            "format": "date-time"
          },
          "statusChangedTimeUtc": {
            "type": "string",
            "description": "The time in UTC when the status was last changed.",
            "format": "date-time"
          },
          "result": {
            "type": "string",
            "description": "The result of the model run.",
            "nullable": true
          },
          "failReason": {
            "type": "string",
            "description": "The reason why the model run failed.",
            "nullable": true
          },
          "state": {
            "description": "The additional state for the model run.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Used to return model run data."
      },
      "ModelRunOptionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique identifier of this model run option",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/ModelRunOptionTypes"
          },
          "value": {
            "type": "string",
            "description": "The value of this model run option",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Representation of an option used when a scenario was run."
      },
      "ModelRunOptionSimpleDto": {
        "type": "object",
        "properties": {
          "modelRunOptionTypeId": {
            "type": "integer",
            "description": "The",
            "format": "int32"
          },
          "value": {
            "type": "string",
            "description": "",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A simplified ModeRunOptionType with no Ids"
      },
      "ModelRunOptionTypeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier of this model run option type",
            "format": "int32"
          },
          "modelType": {
            "type": "string",
            "description": "The model type this option type applies to",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "The name of this model run option type",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "The description of this model run option type",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Option types available for model runs"
      },
      "ModelRunOptionTypes": {
        "enum": [
          "AllowPonding",
          "ReportStep",
          "WetStep",
          "DryStep",
          "RoutingStep",
          "DryDaysCount",
          "UseDryWeatherFlow",
          "UseUnitHydrograph",
          "Duration",
          "HydraulicStep",
          "PatternStep",
          "PatternStart",
          "ReportStart",
          "ClockTimeStart",
          "EPANetStatistic",
          "SwmmFilesRainfallOption",
          "SwmmFilesRunOffOption",
          "SwmmFilesHotStartOption",
          "SwmmFilesRDIIOption",
          "SwmmFilesInflowsOption",
          "SwmmFilesOutFlowsOption",
          "InterestRate",
          "NPVTimePeriod",
          "RoughnessGroupID",
          "VolumeDay",
          "PatternDay",
          "Headloss",
          "Diffusivity",
          "Quality",
          "EmitterExponent",
          "DemandMultiplier",
          "Pattern",
          "Unbalanced",
          "DAMPLIMIT",
          "MAXCHECK",
          "CHECKFREQ",
          "Accuracy",
          "Trials",
          "Viscosity",
          "SpecificGravity",
          "Units",
          "OrderBulk",
          "OrderTank",
          "OrderWall",
          "GlobalBulk",
          "GlobalWall",
          "LimitingPotential",
          "RoughnessCorrelation",
          "Tolerance",
          "FehRainfallDuration",
          "FehRainfallReturnPeriod",
          "FehRainfallSeason",
          "MaxDepthOpenCut",
          "PipeCostPerMeter",
          "CostDirectionalDrill",
          "DitchCrossingCost",
          "StreamCrossingCost",
          "HedgeCrossingCost",
          "FenceCrossingCost",
          "MinimumClearance",
          "CoverLevel",
          "Diameter",
          "RiverCrossingCost",
          "MotorwayCrossingCost",
          "DualCarriagewayRoadCrossingCost",
          "ARoadCrossingCost",
          "BRoadCrossingCost",
          "RailCrossingCost",
          "DitchOpenCut",
          "StreamOpenCut",
          "HedgeOpenCut",
          "FenceOpenCut",
          "MotorwayOpenCut",
          "ARoadOpenCut",
          "BRoadOpenCut",
          "DualCarriagewayRoadOpenCut",
          "RailOpenCut",
          "RiverOpenCut",
          "AirValveSignificantGradientRisk",
          "AirValveSignificantGradientAngle",
          "BeddingImports",
          "PipeRoughness",
          "PumpingDaysAYear",
          "HoursPumpingPerDay",
          "PumpEfficiency",
          "MotorEfficiency",
          "StandardDimensionalRatio",
          "OuterDiameter",
          "Flow",
          "DitchWidth",
          "StreamWidth",
          "HedgeWidth",
          "FenceWidth",
          "MotorwayWidth",
          "ARoadWidth",
          "BRoadWidth",
          "DualCarriagewayRoadWidth",
          "RailWidth",
          "RiverWidth",
          "MinimumStaticHead",
          "CutCostDensity",
          "FillCostDensity",
          "EmbankmentType",
          "TransportEfficiency",
          "TrackBaseWidth",
          "DepthCostSlope",
          "DepthCostMin",
          "PoddieProjectId"
        ],
        "type": "string",
        "description": "Model run option types"
      },
      "ModelRunStatuses": {
        "enum": [
          "Started",
          "Processing",
          "Completed",
          "Failed"
        ],
        "type": "string",
        "description": "The varies available statuses for a model run process"
      },
      "ModelTypes": {
        "enum": [
          "RouteOptimiser"
        ],
        "type": "string",
        "description": "Model types than can be run via the API"
      },
      "NewDerivedTraceConfigurationDto": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the derived trace to create.",
            "nullable": true
          },
          "parentTraceId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The trace whose value this virtual trace depends on.",
            "format": "int32"
          },
          "functionId": {
            "type": "string",
            "description": "The name of the function that this derived trace will use to generate its data.",
            "format": "uuid"
          },
          "isDerivedTraceDataStored": {
            "type": "boolean",
            "description": "Whether the derived trace data will be cached in the database rather than generated each time it's requested."
          }
        },
        "additionalProperties": false,
        "description": "Represents a request to create a derived trace (virtual gauge) from an existing configured trace. The ID of the trace to convert is supplied\r\nseparately."
      },
      "NoteAttachmentDto": {
        "type": "object",
        "properties": {
          "userAccessKey": {
            "type": "string",
            "description": "The unique key that is used to refer to this file attachment for the purpose of download.",
            "format": "uuid"
          },
          "fileName": {
            "type": "string",
            "description": "The filename of the file.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A succinct human-readable description that indicates what the file is.",
            "nullable": true
          },
          "fileSizeBytes": {
            "type": "integer",
            "description": "The size of the file in bytes.",
            "format": "int64"
          },
          "md5Checksum": {
            "type": "string",
            "description": "An md5 checksum of the file's contents for verification purposes.",
            "nullable": true
          },
          "mimeType": {
            "type": "string",
            "description": "The file's mimetype.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a file attachment to an asset's note."
      },
      "NoteAuthorDto": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "description": "First name of the note author.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name of the note author.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a note author"
      },
      "NoteDetailDto": {
        "type": "object",
        "properties": {
          "referenceEntities": {
            "type": "object",
            "properties": {
              "USER": {
                "type": "array",
                "items": { }
              },
              "ROLE": {
                "type": "array",
                "items": { }
              },
              "DOCUMENT": {
                "type": "array",
                "items": { }
              },
              "NOTE": {
                "type": "array",
                "items": { }
              },
              "NOTEATTACHMENT": {
                "type": "array",
                "items": { }
              },
              "TAG": {
                "type": "array",
                "items": { }
              },
              "ASSETTYPE": {
                "type": "array",
                "items": { }
              },
              "LAYERTREE": {
                "type": "array",
                "items": { }
              }
            },
            "additionalProperties": false,
            "description": "Organized by foreign reference type, detailed models of everything that this note references.",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "description": "The identifier of this note",
            "format": "int32"
          },
          "assetId": {
            "type": "integer",
            "description": "The id of the asset this note is associated with",
            "format": "int32"
          },
          "text": {
            "type": "string",
            "description": "The contents of the note",
            "nullable": true
          },
          "isPublic": {
            "type": "boolean",
            "description": "Whether this note is publically accessible"
          },
          "createdDate": {
            "type": "string",
            "description": "The datetime the note was created.",
            "format": "date-time",
            "nullable": true
          },
          "isDeletable": {
            "type": "boolean",
            "description": "Whether the user is able to delete this note."
          },
          "noteType": {
            "$ref": "#/components/schemas/NoteTypes"
          },
          "author": {
            "$ref": "#/components/schemas/NoteAuthorDto"
          }
        },
        "additionalProperties": false,
        "description": "Represents information about a note including detail about its foreign references."
      },
      "NoteReferenceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier of this note",
            "format": "int32"
          },
          "noteId": {
            "type": "integer",
            "description": "The unique identifier of the note thie reference relates to.",
            "format": "int32"
          },
          "foreignDescriptorType": {
            "$ref": "#/components/schemas/ForeignDescriptorTypes"
          },
          "foreignId": {
            "type": "integer",
            "description": "The unique identifier of the entity that is related to the note.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a relationship between a note and another entity determined by the ForeignDescriptorType property."
      },
      "NoteTagDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Unique ID of the note tag. This is the same ID used to apply a tag to a note.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The human-readable name of the note tag.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of the note tag's meaning, if required. May not have a value (null).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an option for a search tag that can be used to categorize a note."
      },
      "NoteTypes": {
        "enum": [
          "None",
          "InspectionsObservationNote",
          "InspectionsSurveyVideo",
          "ImportedAssetFileAttachment"
        ],
        "type": "string",
        "description": "The type of an asset's note."
      },
      "NotificationDeliveryOptionsDto": {
        "type": "object",
        "properties": {
          "smsEnabled": {
            "type": "boolean",
            "description": "Sms enabled flag for the notification group user"
          },
          "emailEnabled": {
            "type": "boolean",
            "description": "Email enabled flag for the notification group user"
          }
        },
        "additionalProperties": false,
        "description": "Notification Delivery Options Dto"
      },
      "NotificationDetailsDto": {
        "type": "object",
        "properties": {
          "notificationId": {
            "type": "integer",
            "description": "The primary identifier for this notification",
            "format": "int32"
          },
          "userId": {
            "type": "integer",
            "description": "The identifier to tie back to the user if needed",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/UserNotificationTypes"
          },
          "emailDetail": {
            "$ref": "#/components/schemas/NotificationEmailDetailDto"
          },
          "smsDetail": {
            "$ref": "#/components/schemas/NotificationSmsDetailDto"
          },
          "webHookDetail": {
            "$ref": "#/components/schemas/NotificationWebHookDetailDto"
          }
        },
        "additionalProperties": false,
        "description": "The details for who, how, and what to notify"
      },
      "NotificationEmailDetailDto": {
        "type": "object",
        "properties": {
          "userNotificationType": {
            "$ref": "#/components/schemas/UserNotificationTypes"
          },
          "emailAddress": {
            "type": "string",
            "description": "Email address to send to",
            "nullable": true
          },
          "emailSubject": {
            "type": "string",
            "description": "Email subject",
            "nullable": true
          },
          "emailBody": {
            "type": "string",
            "description": "Email body",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an alarm user notification"
      },
      "NotificationGroupDto": {
        "type": "object",
        "properties": {
          "notificationGroupId": {
            "type": "integer",
            "description": "The identifier of the notification group",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "A description of the notification group",
            "nullable": true
          },
          "projectId": {
            "type": "integer",
            "description": "The project Id the notification group is assigned to",
            "format": "int32"
          },
          "userCount": {
            "type": "integer",
            "description": "The number of users assigned to the notification group",
            "format": "int32"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Metadata depending on the notification group type",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Notification Group Dto"
      },
      "NotificationGroupSimplified": {
        "type": "object",
        "properties": {
          "notificationGroupId": {
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NotificationGroupUserDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "description": "The user identifier",
            "format": "int32"
          },
          "userName": {
            "type": "string",
            "description": "The users username",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "The users first name",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "The users last name",
            "nullable": true
          },
          "smsNumber": {
            "type": "string",
            "description": "The number to send sms messages to",
            "nullable": true
          },
          "notificationDeliveryOptions": {
            "$ref": "#/components/schemas/NotificationDeliveryOptionsDto"
          }
        },
        "additionalProperties": false,
        "description": "Notification Group User Dto"
      },
      "NotificationInfoDto": {
        "type": "object",
        "properties": {
          "notificationId": {
            "type": "integer",
            "description": "The primary identifier for this notification",
            "format": "int32"
          },
          "userId": {
            "type": "integer",
            "description": "The identifier to tie back to the user if needed",
            "format": "int32"
          },
          "notificationType": {
            "$ref": "#/components/schemas/UserNotificationTypes"
          },
          "notificationState": {
            "$ref": "#/components/schemas/UserNotificationStates"
          },
          "timesAttempted": {
            "type": "integer",
            "description": "The number of times an attempt to deliver the notification has made",
            "format": "int32"
          },
          "createdOn": {
            "type": "string",
            "description": "Specifies a lower bound for the real-time/buffered minimum time. If it's already higher, it won't be\r\nchanged. If it's lower than this lower bound, it will be increased to this time.",
            "format": "date-time",
            "example": "2019-12-10T10:06:50.466318Z"
          },
          "updatedOn": {
            "type": "string",
            "description": "Specifies a lower bound for the real-time/buffered minimum time. If it's already higher, it won't be\r\nchanged. If it's lower than this lower bound, it will be increased to this time.",
            "format": "date-time",
            "example": "2019-12-10T10:06:50.466318Z"
          }
        },
        "additionalProperties": false,
        "description": "The details for who, how, and what to notify"
      },
      "NotificationSmsDetailDto": {
        "type": "object",
        "properties": {
          "userNotificationType": {
            "$ref": "#/components/schemas/UserNotificationTypes"
          },
          "smsNumber": {
            "type": "string",
            "description": "SMS Number",
            "nullable": true
          },
          "smsBody": {
            "type": "string",
            "description": "SMS body",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an alarm user notification"
      },
      "NotificationStatusDto": {
        "type": "object",
        "properties": {
          "notificationId": {
            "type": "integer",
            "description": "The primary key of the notification",
            "format": "int32"
          },
          "lastStateChangeTime": {
            "type": "string",
            "description": "The time the notifications state was last changed",
            "format": "date-time"
          },
          "createdTime": {
            "type": "string",
            "description": "The time the notification was originally created to be sent",
            "format": "date-time"
          },
          "state": {
            "$ref": "#/components/schemas/UserNotificationStates"
          },
          "timesAttempted": {
            "type": "integer",
            "description": "The number of times this notification has attempted to send",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains the alarm id and info on when it was last called"
      },
      "NotificationTemplateDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier of the notification template",
            "format": "int32"
          },
          "alarmType": {
            "$ref": "#/components/schemas/AlarmTypes"
          },
          "notificationGroupId": {
            "type": "integer",
            "description": "The identifer of the notification group assigned to the template",
            "format": "int32"
          },
          "notificationGroupName": {
            "type": "string",
            "description": "The name of the notification group assigned to the template",
            "nullable": true
          },
          "emailSubjectTemplate": {
            "type": "string",
            "description": "The email subject template",
            "nullable": true
          },
          "emailMessageTemplate": {
            "type": "string",
            "description": "The email message template",
            "nullable": true
          },
          "smsMessageTemplate": {
            "type": "string",
            "description": "The sms message template",
            "nullable": true
          },
          "criteria": {
            "description": "The notification template criteria - based on alarm type",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Notification Template Dto"
      },
      "NotificationWebHookDetailDto": {
        "type": "object",
        "properties": {
          "userNotificationType": {
            "$ref": "#/components/schemas/UserNotificationTypes"
          },
          "routeTemplate": {
            "type": "string",
            "description": "Template for the route of the web service",
            "nullable": true
          },
          "postBody": {
            "type": "string",
            "description": "Post body (optional)",
            "nullable": true
          },
          "webHookId": {
            "type": "integer",
            "description": "Id of the related Web Hook",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents an alarm user notification"
      },
      "PatchAssetDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the asset",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "The description of the asset",
            "nullable": true
          },
          "geometrySrId": {
            "type": "integer",
            "description": "SRID of the asset Geometry Well Known Text",
            "format": "int32",
            "nullable": true
          },
          "geometryWkt": {
            "type": "string",
            "description": "Well Known Text for the asset Geometry",
            "nullable": true
          },
          "assetTypeId": {
            "type": "integer",
            "description": "Unique identifier of the asset's type",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Patch specific Dto for updating asset details."
      },
      "PatchDataImportMappingDto": {
        "type": "object",
        "properties": {
          "isArchived": {
            "type": "boolean",
            "description": "True if the mapping reflects archived data.",
            "nullable": true
          },
          "lastImported": {
            "type": "string",
            "description": "The last time this mapping was imported",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of changes to make to an existing DateImportMapping.\r\nIf any property is specified as null, no change will occur."
      },
      "PatchDataImportSourceDto": {
        "type": "object",
        "properties": {
          "lastChecked": {
            "type": "string",
            "description": "The last date/time this data import source had data imported.",
            "format": "date-time",
            "nullable": true
          },
          "checkFrequencySeconds": {
            "type": "integer",
            "description": "The frequency that the data import source should be checked in seconds.",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a source for importing data.\r\nIf any property is specified as null, no change will occur."
      },
      "PatchLayerTreeNodeDto": {
        "type": "object",
        "properties": {
          "ordering": {
            "type": "integer",
            "description": "Ordering value for the node",
            "format": "int32",
            "nullable": true
          },
          "parentId": {
            "type": "integer",
            "description": "The ID of the parent layer-tree node",
            "format": "int32",
            "nullable": true
          },
          "nullifyParentId": {
            "type": "boolean",
            "description": "Set to true if you want to set ParentId to null so the layer-tree node will be at the top level",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A minimal representation of a map layer to be patched."
      },
      "PatchReportDto": {
        "required": [
          "order"
        ],
        "type": "object",
        "properties": {
          "order": {
            "minimum": 0,
            "type": "integer",
            "description": "Optional ordering value (default 0)",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Report definition for patching a report"
      },
      "PatchTraceDto": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the trace",
            "nullable": true
          },
          "isVisible": {
            "type": "boolean",
            "description": "If the trace is visible or not",
            "nullable": true
          },
          "styleConfig": {
            "description": "Style configuration of the trace",
            "nullable": true
          },
          "resolution": {
            "type": "integer",
            "description": "Resolution of the trace in seconds",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A dto used to specify the parameters for updating a trace."
      },
      "PatchTraceThresholdDto": {
        "type": "object",
        "properties": {
          "alarmDescription": {
            "type": "string",
            "description": "Description of the alarm for the trace threshold",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name of the trace threshold",
            "nullable": true
          },
          "value": {
            "type": "number",
            "description": "Value of the trace threshold",
            "format": "double",
            "nullable": true
          },
          "thresholdCategoryId": {
            "type": "integer",
            "description": "Identifier for threshold category",
            "format": "int32",
            "nullable": true
          },
          "isCritical": {
            "type": "boolean",
            "description": "Is a critical threshold",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Patch Trace Threshold DTO"
      },
      "PixelDataDto": {
        "type": "object",
        "properties": {
          "pixelIndex": {
            "type": "integer",
            "description": "The pixelIndex to store the data against",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "float"
            },
            "description": "The timeStamp and value for each piece of data in the pixel",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Dto for creating data for a single pixel"
      },
      "PostImportWebhookDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "URL of the endpoint",
            "nullable": true
          },
          "method": {
            "type": "string",
            "description": "HTTP method",
            "nullable": true
          },
          "body": {
            "type": "string",
            "description": "JSON body (optional)",
            "nullable": true
          },
          "targetType": {
            "$ref": "#/components/schemas/WebhookTargetType"
          }
        },
        "additionalProperties": false,
        "description": "Allows a webhook to fire after a import has completed"
      },
      "ProjectAccess": {
        "enum": [
          "Read",
          "Write",
          "Run",
          "ReportAdministrator",
          "LayerAdministrator",
          "AlarmViewer",
          "AlarmAdministrator",
          "AssetAdministrator",
          "ConfigurationEditor",
          "ExtensionInstaller"
        ],
        "type": "string",
        "description": "Access permission on the project"
      },
      "ProjectBasicDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this project.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of this project.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of this project.",
            "nullable": true
          },
          "externalId": {
            "type": "integer",
            "description": "Optional Id for the external project system",
            "format": "int32",
            "nullable": true
          },
          "productId": {
            "type": "integer",
            "description": "The product that the project belongs to.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the basic information on a project in the H2KnowHow system."
      },
      "ProjectDetailedDto": {
        "type": "object",
        "properties": {
          "settings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectSettingsDto"
            },
            "description": "Settings for the project",
            "nullable": true
          },
          "features": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectFeatureDto"
            },
            "description": "Features for the project",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "description": "The unique id of this project.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of this project.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of this project.",
            "nullable": true
          },
          "latitudeCenter": {
            "type": "number",
            "description": "The latitude of the physical location this project is located at.",
            "format": "double",
            "nullable": true
          },
          "longitudeCenter": {
            "type": "number",
            "description": "The longitude of the physical location this project is located at.",
            "format": "double",
            "nullable": true
          },
          "mapZoom": {
            "type": "integer",
            "description": "The preferred zoom level of the map for this project.",
            "format": "int32",
            "nullable": true
          },
          "srId": {
            "type": "string",
            "description": "The spatial reference identifier used by the geometries in this project.",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "description": "The TimeZone name from the Olson database",
            "nullable": true
          },
          "dataTimeZone": {
            "type": "string",
            "description": "The Assumed Data TimeZone name from the Olson database",
            "nullable": true
          },
          "externalId": {
            "type": "integer",
            "description": "Optional Id for the external project system",
            "format": "int32",
            "nullable": true
          },
          "productId": {
            "type": "integer",
            "description": "The product that the project belongs to.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a project in the H2KnowHow system with additional details"
      },
      "ProjectDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this project.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of this project.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of this project.",
            "nullable": true
          },
          "latitudeCenter": {
            "type": "number",
            "description": "The latitude of the physical location this project is located at.",
            "format": "double",
            "nullable": true
          },
          "longitudeCenter": {
            "type": "number",
            "description": "The longitude of the physical location this project is located at.",
            "format": "double",
            "nullable": true
          },
          "mapZoom": {
            "type": "integer",
            "description": "The preferred zoom level of the map for this project.",
            "format": "int32",
            "nullable": true
          },
          "srId": {
            "type": "string",
            "description": "The spatial reference identifier used by the geometries in this project.",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "description": "The TimeZone name from the Olson database",
            "nullable": true
          },
          "dataTimeZone": {
            "type": "string",
            "description": "The Assumed Data TimeZone name from the Olson database",
            "nullable": true
          },
          "externalId": {
            "type": "integer",
            "description": "Optional Id for the external project system",
            "format": "int32",
            "nullable": true
          },
          "productId": {
            "type": "integer",
            "description": "The product that the project belongs to.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a project in the H2KnowHow system."
      },
      "ProjectFeatureDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the Feature",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean",
            "description": "Is feature enabled"
          },
          "globalGroupIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Global Ids of the Access Group",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Project Feature"
      },
      "ProjectReportAccessDto": {
        "type": "object",
        "properties": {
          "reportId": {
            "type": "integer",
            "description": "The unique identifier of the report.",
            "format": "int32"
          },
          "scenarioFilter": {
            "$ref": "#/components/schemas/ReportAccessFilterTypes"
          },
          "scenarios": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScenarioInfoDto"
            },
            "description": "Scenarios in the project that the report is available in",
            "nullable": true
          },
          "userFilter": {
            "$ref": "#/components/schemas/ReportAccessFilterTypes"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserInfoDto"
            },
            "description": "Users in the project that the report is visible to",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "User access information for report for a project"
      },
      "ProjectSettingsDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the settings",
            "nullable": true
          },
          "config": {
            "description": "Config for the settings",
            "nullable": true
          },
          "extensionProjectId": {
            "type": "integer",
            "description": "The extension project identifier applicable to extensions",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Project Settings"
      },
      "ProjectSimplifiedDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of this project.",
            "nullable": true
          },
          "projectId": {
            "type": "integer",
            "description": "The internal AE id of this project.",
            "format": "int32"
          },
          "externalId": {
            "type": "integer",
            "description": "The external id used for Identity",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a project in the H2KnowHow system."
      },
      "PushRealTimeMinTimeDto": {
        "type": "object",
        "properties": {
          "minTimeLowerBound": {
            "type": "string",
            "description": "Specifies a lower bound for the real-time/buffered minimum time. If it's already higher, it won't be\r\nchanged. If it's lower than this lower bound, it will be increased to this time.",
            "format": "date-time",
            "example": "2019-12-10T10:06:50.466318Z"
          }
        },
        "additionalProperties": false,
        "description": "Model representing, for a given trace set, a request to change the lower bound of \"real time data\", which is\r\nthe upper bound of calibrated data ingested for that trace set."
      },
      "RaisedEventAcknowledgementDto": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "description": "Acknowledgement value of an alarm's raised event",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Acknowledgement comment of an alarm's raised event",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Acknowledgement information of an alarm's raised event"
      },
      "RelatedAssetDto": {
        "type": "object",
        "properties": {
          "relationshipType": {
            "type": "string",
            "description": "The type of relationship this asset has with the parent asset",
            "nullable": true
          },
          "asset": {
            "$ref": "#/components/schemas/AssetDto"
          }
        },
        "additionalProperties": false,
        "description": "An asset with a relationship to the parent asset"
      },
      "ReplaceLayerTreeAssignmentDto": {
        "required": [
          "globalGroupId"
        ],
        "type": "object",
        "properties": {
          "layerTreeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the Layer Tree",
            "format": "int32"
          },
          "scenarioId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the Scenario",
            "format": "int32"
          },
          "globalGroupId": {
            "minLength": 1,
            "type": "string",
            "description": "The Global ID of the Access Group",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "Replace a layer tree assignment for a Project Scenario and Access Group"
      },
      "ReplaceTraceMetadataDto": {
        "required": [
          "data",
          "description",
          "name",
          "traceMetadataTypeId",
          "virtualTraceConfig",
          "virtualTraceDescription",
          "virtualTraceParentTraceId"
        ],
        "type": "object",
        "properties": {
          "traceMetadataTypeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the type of Metadata",
            "format": "int32"
          },
          "name": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string",
            "description": "Name of the Metadata"
          },
          "description": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string",
            "description": "Description of the Metadata"
          },
          "data": {
            "description": "Data for the Metadata"
          },
          "virtualTraceDescription": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string",
            "description": "Description of the Virtual Trace"
          },
          "virtualTraceParentTraceId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Parent Trace Id of the Virtual Trace",
            "format": "int32"
          },
          "virtualTraceCalcType": {
            "$ref": "#/components/schemas/DerivedTraceCalcType"
          },
          "virtualTraceConfig": {
            "description": "Config of the Virtual Trace"
          }
        },
        "additionalProperties": false,
        "description": "Metadata and virtual trace configuration to replace related to a Trace"
      },
      "ReportAccessFilterTypes": {
        "enum": [
          "All",
          "Explicit"
        ],
        "type": "string",
        "description": "Indicates access filtering for a report based on a particular entity"
      },
      "ReportComponentTypes": {
        "enum": [
          "PowerBi",
          "DbDatasource"
        ],
        "type": "string"
      },
      "ReportDetailsDto": {
        "required": [
          "description",
          "parameters",
          "reportType"
        ],
        "type": "object",
        "properties": {
          "description": {
            "minLength": 1,
            "type": "string",
            "description": "Unique description of the report"
          },
          "reportType": {
            "$ref": "#/components/schemas/ReportTypes"
          },
          "parameters": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Parameters (Map of string->string)"
          },
          "configuration": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Optional configuration (Map of string->object)",
            "nullable": true
          },
          "isHidden": {
            "type": "boolean",
            "description": "Optional Is invisible to the UI (default false)",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "description": "Optional ordering value (default 0)",
            "format": "int32",
            "nullable": true
          },
          "requiresUserInfo": {
            "type": "boolean",
            "description": "Optional flag indicating the report requires user information for authorization purposes (default false)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Report definition"
      },
      "ReportGroupAccessDto": {
        "type": "object",
        "properties": {
          "reportId": {
            "type": "integer",
            "description": "The report identifier",
            "format": "int32"
          },
          "accessGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessGroupSimplifiedDto"
            },
            "description": "The list of access groups that have access to the report",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "DTO that represents the access groups the defined report is accessible to"
      },
      "ReportResponseDto": {
        "type": "object",
        "properties": {
          "meta": {
            "$ref": "#/components/schemas/ReportResponseMetaDto"
          },
          "data": {
            "type": "array",
            "items": { },
            "description": "Report data",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Report API response"
      },
      "ReportResponseMetaDto": {
        "type": "object",
        "properties": {
          "header": {
            "description": "Header row metadata",
            "nullable": true
          },
          "parameters": {
            "description": "Parameters metadata",
            "nullable": true
          },
          "configuration": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Arbitrary configuration",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Report metadata API response"
      },
      "ReportTypes": {
        "enum": [
          "PowerBi",
          "DbDatasource"
        ],
        "type": "string",
        "description": "Type of report"
      },
      "RolePermissionDto": {
        "type": "object",
        "properties": {
          "operation": {
            "$ref": "#/components/schemas/AccessOperations"
          },
          "target": {
            "$ref": "#/components/schemas/AccessTargets"
          },
          "targetId": {
            "type": "integer",
            "description": "Optional. Constrains the scope of the permission to the object of the specified ID. If not provided, applies permission across the project.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A dto used to specify the parameters for adding a new permission to role."
      },
      "ScatterPlotDataDto": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number",
            "description": "The value in the X coordinate",
            "format": "double"
          },
          "y": {
            "type": "number",
            "description": "The value in the Y coordinate",
            "format": "double"
          },
          "count": {
            "type": "integer",
            "description": "The count of how many times the corresponding X and Y values occur",
            "format": "int64"
          }
        },
        "additionalProperties": false,
        "description": "The x and y values with their corresponding occurrence counts"
      },
      "ScenarioComponentType": {
        "enum": [
          "None",
          "Hydraulic",
          "Hydrological"
        ],
        "type": "string",
        "description": "Scenario component types"
      },
      "ScenarioDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this scenario.",
            "format": "int32"
          },
          "projectId": {
            "type": "integer",
            "description": "The id of the Project that this scenario belongs to.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of this scenario.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of this scenario.",
            "nullable": true
          },
          "modelRunOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelRunOptionDto"
            },
            "description": "A list of the model run options used when running the model represented by this scenario.",
            "nullable": true
          },
          "isVisible": {
            "type": "boolean",
            "description": "Is Visible (default false)"
          },
          "hydraulicScenarioComponentId": {
            "type": "integer",
            "description": "Id of the Hydraulic Scenario Component (if applicable)",
            "format": "int32",
            "nullable": true
          },
          "hydrologicalScenarioComponentId": {
            "type": "integer",
            "description": "Id of the Hydrological Scenario Component (if applicable)",
            "format": "int32",
            "nullable": true
          },
          "ordering": {
            "type": "integer",
            "description": "The ordering of this scenario",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a view of a collection of data."
      },
      "ScenarioInfoDto": {
        "type": "object",
        "properties": {
          "scenarioId": {
            "type": "integer",
            "description": "The unique identifier of the scenario",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Name of the scenario",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the scenario",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Basic information about a Scenario"
      },
      "ScenarioResultDto": {
        "required": [
          "assetId",
          "resultTypeId",
          "value"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The unique of the asset this result is related to",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "description": "The value of the result",
            "format": "double"
          },
          "resultTypeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The type of result represented by the DTO.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a result belonging to a scenario context."
      },
      "ScenarioWithChildrenDto": {
        "type": "object",
        "properties": {
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScenarioWithChildrenDto"
            },
            "description": "The children scenarios in the scenario",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "description": "The unique id of this scenario.",
            "format": "int32"
          },
          "projectId": {
            "type": "integer",
            "description": "The id of the Project that this scenario belongs to.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of this scenario.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of this scenario.",
            "nullable": true
          },
          "modelRunOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelRunOptionDto"
            },
            "description": "A list of the model run options used when running the model represented by this scenario.",
            "nullable": true
          },
          "isVisible": {
            "type": "boolean",
            "description": "Is Visible (default false)"
          },
          "hydraulicScenarioComponentId": {
            "type": "integer",
            "description": "Id of the Hydraulic Scenario Component (if applicable)",
            "format": "int32",
            "nullable": true
          },
          "hydrologicalScenarioComponentId": {
            "type": "integer",
            "description": "Id of the Hydrological Scenario Component (if applicable)",
            "format": "int32",
            "nullable": true
          },
          "ordering": {
            "type": "integer",
            "description": "The ordering of this scenario",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a view of a collection of data."
      },
      "SearchForAssetsRequestDto": {
        "required": [
          "criteria"
        ],
        "type": "object",
        "properties": {
          "criteria": {
            "minLength": 1,
            "type": "string",
            "description": "Search Criteria"
          },
          "limit": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Result Limit (optional)",
            "format": "int32"
          },
          "displayProjectionType": {
            "$ref": "#/components/schemas/GeometryProjectionTypes"
          }
        },
        "additionalProperties": false,
        "description": "Dto representing a SearchForAssets request"
      },
      "SetAlarmStateAcknowledgementDto": {
        "required": [
          "value"
        ],
        "type": "object",
        "properties": {
          "alarmStateId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "The Id of the alarm's state",
            "format": "int64"
          },
          "value": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string",
            "description": "The acknowledgement value for the alarm state"
          },
          "comment": {
            "type": "string",
            "description": "A comment for this state acknowledgement",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The alarm state acknowledgement"
      },
      "StaticTileUrlDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Tile url",
            "nullable": true
          },
          "urlParams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StaticTileUrlParamDto"
            },
            "description": "Url parameters",
            "nullable": true
          },
          "expiresInSeconds": {
            "type": "integer",
            "description": "Url to expire in seconds",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a signed url object."
      },
      "StaticTileUrlParamDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Url parameter name",
            "nullable": true
          },
          "value": {
            "type": "string",
            "description": "Url parameter value",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a signed url parameter object."
      },
      "StringStringKeyValuePair": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SummarisedPagedTraceDataCollectionDto": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TraceDataDto"
            },
            "description": "The list of trace data items requested",
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "description": "The page number of the requested gauge data",
            "format": "int32"
          },
          "itemsPerPage": {
            "type": "integer",
            "description": "The items per each page of data",
            "format": "int32"
          },
          "totalItems": {
            "type": "integer",
            "description": "The total number of gauge data across all pages",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a page of trace data with summary information."
      },
      "TempFileUploadDto": {
        "type": "object",
        "properties": {
          "fileReference": {
            "type": "string",
            "description": "A GUID which may be used to uniquely identify a saved temporary file.",
            "format": "uuid"
          },
          "uri": {
            "type": "string",
            "description": "Uri formatted location of where to upload the file.",
            "format": "uri",
            "nullable": true
          },
          "requiredHeaders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            },
            "description": "The headers required by the file uploader when using the pre-signed request.",
            "nullable": true
          },
          "verb": {
            "type": "string",
            "description": "Http verb contraint for uploading data.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Points to a static web file resource upload container. Also supplies a GUID reference for tracking the file through the system."
      },
      "ThirdPartyTraceDataValueDto": {
        "type": "object",
        "properties": {
          "thirdPartyId": {
            "type": "string",
            "description": "The third-party identifier for an asset",
            "nullable": true
          },
          "traceId": {
            "type": "integer",
            "description": "The trace identifier of the value's data",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "description": "The value result for this trace",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "The trace data value result for a third-party resource's trace"
      },
      "ThirdPartyTraceDataValuesDto": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ThirdPartyTraceDataValueDto"
            },
            "description": "The values for each third-party resource's trace",
            "nullable": true
          },
          "unitsLabel": {
            "type": "string",
            "description": "The units label for the values",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The ThirdParty trace value results"
      },
      "ThresholdCategoryDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Unique identifier of the category",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Name of the category",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the category",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Details of a threshold category"
      },
      "TraceAriDto": {
        "type": "object",
        "properties": {
          "duration": {
            "type": "integer",
            "description": "Duration in seconds",
            "format": "int32"
          },
          "ari": {
            "type": "number",
            "description": "ARI",
            "format": "double"
          },
          "depth": {
            "type": "number",
            "description": "Depth",
            "format": "double"
          },
          "traceAriType": {
            "$ref": "#/components/schemas/TraceAriTypes"
          },
          "ariByYears": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double",
              "nullable": true
            },
            "description": "ARI by years",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "ARI for trace DTO"
      },
      "TraceAriTypes": {
        "enum": [
          "HirdsV4",
          "Hirds",
          "Tp108"
        ],
        "type": "string",
        "description": "Asset ARI type"
      },
      "TraceAttributeDto": {
        "type": "object",
        "properties": {
          "traceAttributeId": {
            "type": "integer",
            "description": "Id of the attribute",
            "format": "int32"
          },
          "traceAttributeType": {
            "$ref": "#/components/schemas/TraceAttributeTypes"
          },
          "traceId": {
            "type": "integer",
            "description": "id of the trace",
            "format": "int32"
          },
          "value": {
            "description": "value of the attribute (can be a number or string)",
            "nullable": true
          },
          "utcTimestamp": {
            "type": "string",
            "description": "Utc datetime of the attribute",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Attribute (meta data) of the trace"
      },
      "TraceAttributeTypes": {
        "enum": [
          "TABULAR_DATASET",
          "MAX_RATING",
          "RATE_VOLUME_TIMEGROUP",
          "VISIBILITY_FLAG",
          "SIBLING_SUMMARY_OFFSET_TOLERANCE",
          "DEPTH_FLOW_RATING_TABLE",
          "OFFSET",
          "MULTIPLIER",
          "DRY_WEATHER_START_TIME",
          "DRY_WEATHER_END_TIME",
          "AGGREGATION_TIME_SPAN",
          "DWF_EVENT_GROUP",
          "ASSETDATATYPE_TO_DATAVARIABLETYPE",
          "EXTERNAL_ID",
          "JSON_PROPERTY",
          "GROUP_BY_TIME",
          "WEATHER_CONDITION"
        ],
        "type": "string",
        "description": "Data type of the gauge summary"
      },
      "TraceDataAggregatesDto": {
        "type": "object",
        "properties": {
          "traceId": {
            "type": "integer",
            "description": "Id of the related trace",
            "format": "int32"
          },
          "fromDateTime": {
            "type": "string",
            "description": "Start datetime for range",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "toDateTime": {
            "type": "string",
            "description": "End datetime for range",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "min": {
            "type": "number",
            "description": "Minimum for the range (if data)",
            "format": "double",
            "nullable": true
          },
          "max": {
            "type": "number",
            "description": "Maxium for the range (if data available)",
            "format": "double",
            "nullable": true
          },
          "unitLabel": {
            "type": "string",
            "description": "Unit label for the range",
            "nullable": true
          },
          "mean": {
            "type": "number",
            "description": "Optional average for the range",
            "format": "double",
            "nullable": true
          },
          "total": {
            "type": "number",
            "description": "Optional sum for the range",
            "format": "double",
            "nullable": true
          },
          "totalUnitLabel": {
            "type": "string",
            "description": "Optional unit label for the sum",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Trace Data Aggregates DTO"
      },
      "TraceDataDto": {
        "required": [
          "qualityCodeId",
          "value",
          "whenRecordedUnixSeconds"
        ],
        "type": "object",
        "properties": {
          "whenRecordedUnixSeconds": {
            "type": "integer",
            "description": "The time when the value was recorded represented in seconds since the unix epoch.",
            "format": "int32"
          },
          "qualityCodeId": {
            "type": "integer",
            "description": "The quality code identifier for this data point.",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "description": "The value of the data point.",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "Represents a single data value for a trace."
      },
      "TraceDataExportFormats": {
        "enum": [
          "Csv"
        ],
        "type": "string",
        "description": "Formats that trace data can be downloaded as"
      },
      "TraceDataTimingDto": {
        "type": "object",
        "properties": {
          "observedTimeUtc": {
            "type": "string",
            "description": "The time of the observed data",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "dataObtainableTimeUtc": {
            "type": "string",
            "description": "The time the data was available and obtainable from the source",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "startedParsingTimeUtc": {
            "type": "string",
            "description": "The time the parsing of this data began",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "insertedTimeUtc": {
            "type": "string",
            "description": "The time the data was known to be inserted",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Represents the timings for the path from observation to api availability"
      },
      "TraceDataUtcDto": {
        "required": [
          "qualityCodeId",
          "time",
          "value"
        ],
        "type": "object",
        "properties": {
          "time": {
            "type": "string",
            "description": "The time when the value was recorded represented",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "qualityCodeId": {
            "type": "integer",
            "description": "The quality code identifier for this data point.",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "description": "The value of the data point.",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "Represents a single data value for a trace."
      },
      "TraceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this trace.",
            "format": "int32"
          },
          "assetId": {
            "type": "integer",
            "description": "The id of the gauge this summary is related to.",
            "format": "int32"
          },
          "dataVariableType": {
            "$ref": "#/components/schemas/DataVariableTypeDto"
          },
          "virtualTrace": {
            "$ref": "#/components/schemas/VirtualTraceDto"
          },
          "archivedMinimumTime": {
            "type": "string",
            "description": "The earliest data point available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "archivedMaximumTime": {
            "type": "string",
            "description": "The latest data point of archived data available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "telemeteredMaximumTime": {
            "type": "string",
            "description": "The latest data point of current telemetered data available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "resolution": {
            "type": "integer",
            "description": "How frequent the data ia recorded in seconds.",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "A description of the trace",
            "nullable": true
          },
          "isVisible": {
            "type": "boolean",
            "description": "A flag to indicate if the trace is visible."
          },
          "timeZone": {
            "type": "string",
            "description": "The olson timezone that the data is stored as",
            "nullable": true
          },
          "forecastedMinimumTime": {
            "type": "string",
            "description": "The earliest data point of forecasted data available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastedMaximumTime": {
            "type": "string",
            "description": "The latest data point of forecasted data available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "styleConfig": {
            "description": "Style config for the Trace plot (Either from Trace or its DataVariableType with Trace StyleConfig having precedence)",
            "nullable": true
          },
          "hasAlarms": {
            "type": "boolean",
            "description": "Indicates whether or not the trace has any alarms assigned to it"
          }
        },
        "additionalProperties": false,
        "description": "Each physical gauge can have one or more variables that it measures. Each one of the variables is represented by the TraceDto."
      },
      "TraceFilterTypes": {
        "enum": [
          "All",
          "VisibleOnly",
          "HiddenOnly"
        ],
        "type": "string",
        "description": "Filter type for traces."
      },
      "TraceInfoDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this trace.",
            "format": "int32"
          },
          "assetId": {
            "type": "integer",
            "description": "The id of the gauge this summary is related to.",
            "format": "int32"
          },
          "scenarioId": {
            "type": "integer",
            "description": "Option id of a related scenario",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of the trace",
            "nullable": true
          },
          "assetName": {
            "type": "string",
            "description": "Name of the related asset",
            "nullable": true
          },
          "isVisible": {
            "type": "boolean",
            "description": "Visibility"
          },
          "dataVariableTypeId": {
            "type": "integer",
            "description": "The id of the related data variable type.",
            "format": "int32"
          },
          "archivedMinimumTime": {
            "type": "string",
            "description": "The earliest data point available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "archivedMaximumTime": {
            "type": "string",
            "description": "The latest data point of archived data available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "telemeteredMaximumTime": {
            "type": "string",
            "description": "The latest data point of current telemetered data available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastedMinimumTime": {
            "type": "string",
            "description": "The earliest data point of forecasted data available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastedMaximumTime": {
            "type": "string",
            "description": "The latest data point of forecasted data available for this gauge",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Each physical gauge can have one or more variables that it measures. Each one of the variables is represented by the SlimTraceDto."
      },
      "TraceLinkDto": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/TraceLinkTypes"
          },
          "typeId": {
            "type": "integer",
            "description": "Type of link id",
            "format": "int32",
            "readOnly": true
          },
          "isExternal": {
            "type": "boolean",
            "description": "Is an external link"
          },
          "isRelative": {
            "type": "boolean",
            "description": "Is a relative URL"
          },
          "url": {
            "type": "string",
            "description": "URL of the link",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Link for an trace"
      },
      "TraceLinkTypes": {
        "enum": [
          "ExternalIdConsent"
        ],
        "type": "string",
        "description": "Type of trace link"
      },
      "TraceMetadataDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the Metadata",
            "format": "int32"
          },
          "traceMetadataTypeId": {
            "type": "integer",
            "description": "Id of the type of Metadata",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Name of the Metadata",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the Metadata",
            "nullable": true
          },
          "data": {
            "description": "Data for the Metadata",
            "nullable": true
          },
          "virtualTraceId": {
            "type": "integer",
            "description": "Id of the Virtual Trace",
            "format": "int32"
          },
          "virtualTraceDescription": {
            "type": "string",
            "description": "Description of the Virtual Trace",
            "nullable": true
          },
          "virtualTraceParentTraceId": {
            "type": "integer",
            "description": "Parent Trace Id of the Virtual Trace",
            "format": "int32"
          },
          "virtualTraceCalcType": {
            "$ref": "#/components/schemas/DerivedTraceCalcType"
          },
          "virtualTraceConfig": {
            "description": "Config of the Virtual Trace",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Metadata and virtual trace configuration related to a Trace"
      },
      "TraceMetadataTypeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Unique identifier of the trace metadata type",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Name of the metadata type",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the metadata type",
            "nullable": true
          },
          "schema": {
            "description": "Schema of the metadata type",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Metadata Type related to a Trace"
      },
      "TraceQualityCodeDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this trace quality code.",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "A description of the trace quality code",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the quality of a recorded trace data point.\r\nEach trace data point has an associated TraceQualityCode that describes how accurate the data point is."
      },
      "TraceRelationshipDto": {
        "type": "object",
        "properties": {
          "traceId": {
            "type": "integer",
            "description": "The unique id of this trace.",
            "format": "int32"
          },
          "relatedTraceId": {
            "type": "integer",
            "description": "The unique id of the related trace.",
            "format": "int32"
          },
          "traceRelationshipType": {
            "$ref": "#/components/schemas/TraceRelationshipTypes"
          }
        },
        "additionalProperties": false,
        "description": "A dto used to specify the trace relationship."
      },
      "TraceRelationshipTypes": {
        "enum": [
          "VirtualChild"
        ],
        "type": "string",
        "description": "Type of the gauge summary relationship"
      },
      "TraceSetCollectionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique identifier for this trace set collection.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of the trace set.",
            "nullable": true
          },
          "scenarioId": {
            "type": "integer",
            "description": "The id of the scenario this trace set belongs to.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a collection of a set of traces."
      },
      "TraceSetDataAggregateDto": {
        "type": "object",
        "properties": {
          "traceSetIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Id of the traceset",
            "nullable": true
          },
          "startTime": {
            "type": "string",
            "description": "Start Time of the data values",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "endTime": {
            "type": "string",
            "description": "End Time of the data values",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "dataOffsetSeconds": {
            "type": "integer",
            "description": "The number of seconds between each value's array offset",
            "format": "int32"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "double"
            },
            "description": "Aggregates across selected pixels and trace sets, for each time in the data",
            "nullable": true
          },
          "aggregateParameter": {
            "type": "number",
            "description": "Additional parameter for the aggregate if applicable, i.e. if AggregateType is quantile, what is tau?",
            "format": "double",
            "nullable": true
          },
          "aggregateType": {
            "$ref": "#/components/schemas/AggregateTypes"
          }
        },
        "additionalProperties": false,
        "description": "Aggregate of trace set data across the configured pixels and trace sets, for each time in the data."
      },
      "TraceSetDataValuesDto": {
        "type": "object",
        "properties": {
          "traceSetId": {
            "type": "integer",
            "description": "Id of the traceset",
            "format": "int32"
          },
          "traceSetPixelMappingId": {
            "type": "integer",
            "description": "Id of the pixel mapping",
            "format": "int32"
          },
          "pixelIndex": {
            "type": "integer",
            "description": "Pixel index of the pixel related to the pixel mapping",
            "format": "int32"
          },
          "startTime": {
            "type": "string",
            "description": "Start Time of the data values",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "endTime": {
            "type": "string",
            "description": "End Time of the data values",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "dataOffsetSeconds": {
            "type": "integer",
            "description": "The number of seconds between each values array offset",
            "format": "int32"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "float"
            },
            "description": "Data values for the pixel mapping",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Data values for a traceset and pixel mapping id"
      },
      "TraceSetDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique identifier for this trace set.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of the trace set.",
            "nullable": true
          },
          "selectionCriteria": {
            "type": "string",
            "description": "The string that will identify this TraceSet on Import",
            "nullable": true
          },
          "traceSetCollectionId": {
            "type": "integer",
            "description": "The container collection of this trace set",
            "format": "int32"
          },
          "equationType": {
            "$ref": "#/components/schemas/TraceSetEquationTypes"
          },
          "dataOffsetSeconds": {
            "type": "integer",
            "description": "The number of seconds between trace set data points",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a set of traces."
      },
      "TraceSetEquationTypes": {
        "enum": [
          "None",
          "Lukuation"
        ],
        "type": "string",
        "description": "Equation type of how to convert data"
      },
      "TraceSetExportDataTypes": {
        "enum": [
          "Vector",
          "Grid"
        ],
        "type": "string",
        "description": "Type of data in a export"
      },
      "TraceSetExportPixelDto": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number",
            "description": "X coord",
            "format": "double"
          },
          "y": {
            "type": "number",
            "description": "Y coord",
            "format": "double"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "double"
            },
            "description": "Time values",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Forecast Export Pixel"
      },
      "TraceSetForecastDataAggregateDto": {
        "type": "object",
        "properties": {
          "forecastTime": {
            "type": "string",
            "description": "The timestamp of the forecast.",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "traceSetIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Queried trace set IDs",
            "nullable": true
          },
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "double"
            },
            "description": "Aggregates across selected pixels and trace sets, for each time in the data",
            "nullable": true
          },
          "dataOffsetSeconds": {
            "type": "integer",
            "description": "The seconds of each forecast value offset. Used for sanity checking",
            "format": "int32"
          },
          "aggregateParameter": {
            "type": "number",
            "description": "Additional parameter for the aggregate if applicable, i.e. if AggregateType is quantile, what is tau?",
            "format": "double",
            "nullable": true
          },
          "aggregateType": {
            "$ref": "#/components/schemas/AggregateTypes"
          }
        },
        "additionalProperties": false,
        "description": "Aggregate of trace set data across the configured pixels and trace sets, for each time in the data."
      },
      "TraceSetForecastDataDto": {
        "type": "object",
        "properties": {
          "forecastTimestamp": {
            "type": "string",
            "description": "The timestamp of the forecast.",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "pixelData": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "number",
                "format": "float"
              },
              "nullable": true
            },
            "description": "The forecast values keyed by pixel index.",
            "nullable": true
          },
          "dataOffsetSeconds": {
            "type": "integer",
            "description": "The seconds of each forecast value offset. Used for sanity checking",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "A representation of a forecast for a set of pixels assigned to a trace set."
      },
      "TraceSetForecastDataValuesDto": {
        "type": "object",
        "properties": {
          "traceSetId": {
            "type": "integer",
            "description": "Id of the traceset",
            "format": "int32"
          },
          "forecastTime": {
            "type": "string",
            "description": "Time of the forecast",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "traceSetPixelMappingId": {
            "type": "integer",
            "description": "Id of the pixel mapping",
            "format": "int32"
          },
          "pixelIndex": {
            "type": "integer",
            "description": "Pixel index of the pixel related to the pixel mapping",
            "format": "int32"
          },
          "dataOffsetSeconds": {
            "type": "integer",
            "description": "The number of seconds between each values array offset",
            "format": "int32"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "float"
            },
            "description": "Data values for the pixel mapping",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Forecast data values for a traceset and pixel mapping id"
      },
      "TraceSetForecastExportDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the forecast export",
            "format": "int32"
          },
          "exportType": {
            "$ref": "#/components/schemas/TraceSetExportDataTypes"
          },
          "description": {
            "type": "string",
            "description": "Description of the forecast export",
            "nullable": true
          },
          "dataOffsetSeconds": {
            "type": "integer",
            "description": "Offset in seconds between data points",
            "format": "int32"
          },
          "suggestedCellSize": {
            "type": "integer",
            "description": "Width of a pixel in srid unit",
            "format": "int32"
          },
          "srId": {
            "type": "string",
            "description": "SRID of the data",
            "nullable": true
          },
          "info": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Info about the export (i.e vector bounds in geojson or grid dimensions in json)",
            "nullable": true
          },
          "units": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Info about the export units",
            "nullable": true
          },
          "availableForecastTimesUtc": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date-time"
            },
            "description": "Available Forecast times",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Trace set export for a forecast"
      },
      "TraceSetForecastTimeDto": {
        "type": "object",
        "properties": {
          "forecastTimeUtc": {
            "type": "string",
            "description": "The time the forecast was made",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastEndTimeUtc": {
            "type": "string",
            "description": "The time of the last forecasted data point",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "The forecast timing information"
      },
      "TraceSetPixelMappingDto": {
        "type": "object",
        "properties": {
          "pixelIndex": {
            "type": "integer",
            "description": "Index of the pixel",
            "format": "int32"
          },
          "geometryWkt": {
            "type": "string",
            "description": "Well Known Text of the Geometry",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A pixel mapping for a traceset collection"
      },
      "TraceSetPixelMappingIndicesDto": {
        "type": "object",
        "properties": {
          "pixelBitMap": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "An array of integer values where each integer represents 32 flags indicating the presence or absence of a pixel a trace set contains.\r\nThe pixel origin is the top left pixel.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a bitmap of flags to indicate which pixels in a trace-set are actively importing data."
      },
      "TraceSetPixelMappingMetadataDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Unique identifier of the traceset pixel mapping",
            "format": "int32"
          },
          "pixelIndex": {
            "type": "integer",
            "description": "Pixel index of the pixel related to the pixel mapping",
            "format": "int32"
          },
          "metadata": {
            "description": "Metadata related to the pixel mapping",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Metadata for a traceset pixel mapping"
      },
      "TraceThresholdCategory": {
        "enum": [
          "Overflow",
          "Warning",
          "Imminent"
        ],
        "type": "string",
        "description": "Category of a Trace Threshold"
      },
      "TraceThresholdDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of the trace threshold",
            "format": "int32"
          },
          "traceId": {
            "type": "integer",
            "description": "Id of the related trace",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Name of the trace threshold",
            "nullable": true
          },
          "value": {
            "type": "number",
            "description": "Value of the trace threshold",
            "format": "double"
          },
          "alarmDescription": {
            "type": "string",
            "description": "Description of the alarm for the trace threshold",
            "nullable": true
          },
          "variableType": {
            "$ref": "#/components/schemas/DataVariableTypeDto"
          },
          "thresholdType": {
            "$ref": "#/components/schemas/TraceThresholdTypes"
          },
          "severity": {
            "$ref": "#/components/schemas/TraceThresholdSeverity"
          },
          "category": {
            "$ref": "#/components/schemas/TraceThresholdCategory"
          },
          "thresholdCategoryId": {
            "type": "integer",
            "description": "Identifier for threshold category",
            "format": "int32"
          },
          "isCritical": {
            "type": "boolean",
            "description": "Is a critical threshold"
          }
        },
        "additionalProperties": false,
        "description": "Trace Threshold DTO"
      },
      "TraceThresholdSeverity": {
        "enum": [
          "Low",
          "Medium",
          "High"
        ],
        "type": "string",
        "description": "Trace threshold severity"
      },
      "TraceThresholdTypes": {
        "enum": [
          "Min",
          "Max"
        ],
        "type": "string",
        "description": "Trace threshold types"
      },
      "TraceThresholdsDto": {
        "type": "object",
        "properties": {
          "traceId": {
            "type": "integer",
            "description": "Id of the related trace",
            "format": "int32"
          },
          "thresholds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TraceThresholdDto"
            },
            "description": "Thresholds for related trace",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Trace Thresholds DTO"
      },
      "TraceTimesBulkDto": {
        "required": [
          "traceIds"
        ],
        "type": "object",
        "properties": {
          "traceIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Ids of traces to update times for"
          },
          "archivedMinimumTime": {
            "type": "string",
            "description": "Min archived time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "archivedMaximumTime": {
            "type": "string",
            "description": "Max archived time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "telemeteredMaximumTime": {
            "type": "string",
            "description": "Max telemetered time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "isArchiveUpdate": {
            "type": "boolean",
            "description": "Indicates whether archived or telemetered data is being updated",
            "nullable": true
          },
          "forecastedMinimumTime": {
            "type": "string",
            "description": "Min forecasted time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastedMaximumTime": {
            "type": "string",
            "description": "Max forecasted time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Optional time updates for a number of traces (bulk update - no recursion)"
      },
      "TraceTimesDto": {
        "type": "object",
        "properties": {
          "archivedMinimumTime": {
            "type": "string",
            "description": "Min archived time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "archivedMaximumTime": {
            "type": "string",
            "description": "Max archived time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "telemeteredMaximumTime": {
            "type": "string",
            "description": "Max telemetered time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "isArchiveUpdate": {
            "type": "boolean",
            "description": "Indicates whether archived or telemetered data is being updated",
            "nullable": true
          },
          "forecastedMinimumTime": {
            "type": "string",
            "description": "Min forecasted time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastedMaximumTime": {
            "type": "string",
            "description": "Max forecasted time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "recursionInfo": {
            "$ref": "#/components/schemas/TraceTimesUpdateRecursionDto"
          }
        },
        "additionalProperties": false,
        "description": "A list of optional time updates for a trace"
      },
      "TraceTimesInfoDto": {
        "type": "object",
        "properties": {
          "traceId": {
            "type": "integer",
            "description": "Id of the Trace",
            "format": "int32"
          },
          "resolution": {
            "type": "integer",
            "description": "Resolution of the Trace in seconds",
            "format": "int32"
          },
          "archivedMinimumTime": {
            "type": "string",
            "description": "Min archived time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "archivedMaximumTime": {
            "type": "string",
            "description": "Max archived time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "telemeteredMaximumTime": {
            "type": "string",
            "description": "Max telemetered time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastedMinimumTime": {
            "type": "string",
            "description": "Min forecasted time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "forecastedMaximumTime": {
            "type": "string",
            "description": "Max forecasted time",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Times information for a trace"
      },
      "TraceTimesUpdateRecursionDto": {
        "type": "object",
        "properties": {
          "rootId": {
            "type": "string",
            "description": "Unique Id of the recursive operation",
            "format": "uuid"
          },
          "depth": {
            "type": "integer",
            "description": "Depth of the recursive operation",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Information detailing the stage of a recursive trace times update operation"
      },
      "UpdateAccessGroupDto": {
        "required": [
          "access",
          "description",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string",
            "description": "Name of the access-group"
          },
          "description": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string",
            "description": "Description of the access-group"
          },
          "access": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectAccess"
            },
            "description": "Access permission on the project"
          }
        },
        "additionalProperties": false,
        "description": "A representation of an access-groups details."
      },
      "UpdateAlarmDto": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "The name of the alarm",
            "nullable": true
          },
          "alarmCategory": {
            "$ref": "#/components/schemas/AlarmCategories"
          },
          "sampleCountOverride": {
            "type": "integer",
            "description": "Number of ascending samples override",
            "format": "int32",
            "nullable": true
          },
          "sampleCountDescendingOverride": {
            "type": "integer",
            "description": "Number of desceding samples override",
            "format": "int32",
            "nullable": true
          },
          "maxLookbackOverride": {
            "type": "string",
            "description": "Maximum lookback period override",
            "nullable": true,
            "example": "00:00:00"
          }
        },
        "additionalProperties": false,
        "description": "Update Alarm Dto"
      },
      "UpdateAlarmRaisedStateDto": {
        "type": "object",
        "properties": {
          "eventTime": {
            "type": "string",
            "description": "Time the alarm was raised",
            "format": "date-time"
          },
          "eventMessage": {
            "type": "string",
            "description": "Description of the alarm raised",
            "nullable": true
          },
          "eventLevel": {
            "type": "number",
            "description": "Level value that crossed the threshold that caused the alarm to be raised",
            "format": "double",
            "nullable": true
          },
          "eventThresholdLevel": {
            "type": "number",
            "description": "Threshold level crossed that caused the alarm to be raised",
            "format": "double",
            "nullable": true
          },
          "eventDetails": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Extra details about the raised alarm",
            "nullable": true
          },
          "processedState": {
            "$ref": "#/components/schemas/AlarmProcessedState"
          }
        },
        "additionalProperties": false,
        "description": "Represents a raised alarm state for create alarm state"
      },
      "UpdateAlarmStateDto": {
        "required": [
          "raisedStates"
        ],
        "type": "object",
        "properties": {
          "wasError": {
            "type": "boolean",
            "description": "An error occurred while attempting to check the alarm"
          },
          "checkedEventTime": {
            "type": "string",
            "description": "Time the alarm was checked",
            "format": "date-time"
          },
          "raisedStates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateAlarmRaisedStateDto"
            },
            "description": "List of alarms raised when checked (if any)"
          }
        },
        "additionalProperties": false,
        "description": "Represents the new state of an alarm"
      },
      "UpdateAlarmsSnoozeUntilTimeDto": {
        "required": [
          "alarmIds"
        ],
        "type": "object",
        "properties": {
          "alarmIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Alarm ids for creating the custom notification."
          },
          "snoozeUntil": {
            "type": "string",
            "description": "The snooze until time. Null to cancel the snooze.",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Update Alarm Snooze Until Time Dto"
      },
      "UpdateAlarmsStatusDto": {
        "required": [
          "alarmIds"
        ],
        "type": "object",
        "properties": {
          "alarmIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Alarm ids for updating their status"
          },
          "newState": {
            "$ref": "#/components/schemas/AlarmStates"
          }
        },
        "additionalProperties": false,
        "description": "Update Alarm Status Dto"
      },
      "UpdateDownloadStatusDto": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/DownloadStatuses"
          },
          "result": {
            "type": "string",
            "description": "The result string of the download",
            "nullable": true
          },
          "failReason": {
            "type": "string",
            "description": "The reason this download failed",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Used to specify the new values for download statuses"
      },
      "UpdateModelRunStatusDto": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/ModelRunStatuses"
          },
          "result": {
            "type": "string",
            "description": "The result string of the model run",
            "nullable": true
          },
          "failReason": {
            "type": "string",
            "description": "The reason this model run failed",
            "nullable": true
          },
          "state": {
            "description": "Additional state for the model run.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Used to specify the new values for model run statuses"
      },
      "UpdateNotificationGroupUserDeliveryOptionsDto": {
        "type": "object",
        "properties": {
          "smsEnabled": {
            "type": "boolean",
            "description": "Sms enabled flag for the notification group user"
          },
          "emailEnabled": {
            "type": "boolean",
            "description": "Email enabled flag for the notification group user"
          }
        },
        "additionalProperties": false,
        "description": "The Update Notification Group User Delivery Options Dto"
      },
      "UpdateProjectDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of this project.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of this project.",
            "nullable": true
          },
          "externalId": {
            "type": "integer",
            "description": "Optional Id for the external project system",
            "format": "int32",
            "nullable": true
          },
          "productId": {
            "type": "integer",
            "description": "The product identifier the project belongs to.",
            "format": "int32",
            "nullable": true
          },
          "latitudeCenter": {
            "type": "number",
            "description": "The latitude of the physical location this project is located at.",
            "format": "double",
            "nullable": true
          },
          "longitudeCenter": {
            "type": "number",
            "description": "The longitude of the physical location this project is located at.",
            "format": "double",
            "nullable": true
          },
          "mapZoom": {
            "type": "integer",
            "description": "The preferred zoom level of the map for this project.",
            "format": "int32",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "description": "The TimeZone name from the Olson database",
            "nullable": true
          },
          "srId": {
            "type": "string",
            "description": "The spatial reference identifier used by the geometries in this project.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a project's information to update"
      },
      "UpdateProjectReportAccessDto": {
        "type": "object",
        "properties": {
          "scenarioFilter": {
            "$ref": "#/components/schemas/ReportAccessFilterTypes"
          },
          "scenarioIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Optional ids of related Scenarios that the report will be available in (must be left null for ScenarioFilter = All)",
            "nullable": true
          },
          "userFilter": {
            "$ref": "#/components/schemas/ReportAccessFilterTypes"
          },
          "userIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Optional ids of related Users that the report will be visible to (must be left null for UserFilter = All)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Used to update user access rules for report for a project"
      },
      "UpdateScenarioAssetsDto": {
        "required": [
          "primaryKeyFieldName"
        ],
        "type": "object",
        "properties": {
          "existingCorrelationIdentifier": {
            "type": "string",
            "description": "If you are continuing a import, provide the existing correlation identifier",
            "format": "uuid",
            "nullable": true
          },
          "primaryKeyFieldName": {
            "minLength": 1,
            "type": "string",
            "description": "The field which is unique in their system and provided in the file"
          },
          "assetTypeFieldName": {
            "type": "string",
            "description": "The field which describes the asset type for each asset provided in the file",
            "nullable": true
          },
          "defaultAssetTypeId": {
            "$ref": "#/components/schemas/AssetTypes"
          },
          "defaultAssetDataSourceId": {
            "type": "integer",
            "description": "The default AssetData source that will be used for imported assetData",
            "format": "int32",
            "nullable": true
          },
          "modelImportUserSuppliedDetails": {
            "$ref": "#/components/schemas/ModelImportUserSuppliedDetailsDto"
          },
          "allowAssetsToBeUnmodelled": {
            "type": "boolean",
            "description": "A flag to allow assets to be unmodelled if they are missing form this model"
          },
          "ignoreNullGeometries": {
            "type": "boolean",
            "description": "If true, geometries in this import may be omitted."
          },
          "nullGeometryBaseType": {
            "$ref": "#/components/schemas/ImportAssetBaseTypes"
          },
          "assetRelationship": {
            "$ref": "#/components/schemas/AssetRelationshipFieldDto"
          },
          "allowAssetRelationshipsToBeOptional": {
            "type": "boolean",
            "description": "If true, then if a target asset is missing for a relationship the relationship will not be created (instead of import failure)"
          },
          "assetNameFieldName": {
            "type": "string",
            "description": "Optional name of the field that should be used for setting the asset's name value",
            "nullable": true
          },
          "nodeThirdPartyMappingType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "linkThirdPartyMappingType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "subcatchmentThirdPartyMappingType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "postImportWebhooks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostImportWebhookDto"
            },
            "description": "Optional collection of web hooks to call post import",
            "nullable": true
          },
          "postImportMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DynamicMessageDto"
            },
            "description": "Optional collection of messages to send onwards post import",
            "nullable": true
          },
          "relatedAssetId": {
            "type": "integer",
            "description": "Optionally you may relate every asset in this import with a single asset, identified by its numeric asset ID. You must also\r\nsupply RelatedAssetRelationshipType, which specifies the type of the relationship to create.",
            "format": "int32",
            "nullable": true
          },
          "relatedAssetRelationshipType": {
            "$ref": "#/components/schemas/AssetRelationshipTypes"
          },
          "defaultAssetDataSourceName": {
            "type": "string",
            "description": "The default asset data source name for the asset being imported.",
            "nullable": true
          },
          "dataSourceColumns": {
            "$ref": "#/components/schemas/DataSourceColumnConfigurationDto"
          }
        },
        "additionalProperties": false,
        "description": "Dto which provided context for the model being imported"
      },
      "UpdateScenarioDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of this scenario.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A description of this scenario.",
            "nullable": true
          },
          "isVisible": {
            "type": "boolean",
            "description": "Toggles whether the scenario is visible externally",
            "nullable": true
          },
          "ordering": {
            "type": "integer",
            "description": "The ordering of this scenario.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Dto to update scenario"
      },
      "UpdateTimesForTraceSetDataDto": {
        "type": "object",
        "properties": {
          "isArchived": {
            "type": "boolean",
            "description": "Is previously saved data archive"
          },
          "minOffset": {
            "type": "string",
            "description": "Minimum offset of the previously saved data",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "maxOffset": {
            "type": "string",
            "description": "Maximum offset of the previously saved data",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Represents a change in traceset and related trace times based on previously saved data"
      },
      "UpdateTimesForTraceSetForecastDataDto": {
        "type": "object",
        "properties": {
          "minOffset": {
            "type": "string",
            "description": "Minimum offset of the previously saved data",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          },
          "maxOffset": {
            "type": "string",
            "description": "Maximum offset of the previously saved data",
            "format": "date-time",
            "example": "2019-12-30T10:59:30Z"
          }
        },
        "additionalProperties": false,
        "description": "Represents a change in traceset and related trace times based on previously saved forecast data"
      },
      "UpdateUploadsStatusDto": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/UploadStatuses"
          },
          "result": {
            "type": "string",
            "description": "The result string of the download",
            "nullable": true
          },
          "failReason": {
            "type": "string",
            "description": "The reason this download failed",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Used to specify the new values for download statuses"
      },
      "UpdateUserDetailsDto": {
        "required": [
          "userName"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string",
            "description": "The users first name",
            "nullable": true
          },
          "lastName": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string",
            "description": "The users last name",
            "nullable": true
          },
          "userName": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string",
            "description": "The users user name",
            "format": "email"
          },
          "smsNumber": {
            "type": "string",
            "description": "The users sms number",
            "nullable": true
          },
          "organisation": {
            "type": "string",
            "description": "The users organisation",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Details that can be updated on a user"
      },
      "UpdateUserGlobalIdDto": {
        "required": [
          "globalId",
          "userName"
        ],
        "type": "object",
        "properties": {
          "userName": {
            "minLength": 1,
            "type": "string",
            "description": "The users user name"
          },
          "globalId": {
            "minLength": 1,
            "type": "string",
            "description": "The updated global unique identifier of the user",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "Mapping UserName to GlobalId to update the GlobalId"
      },
      "UpdateUsersGlobalIdsDto": {
        "required": [
          "usersGlobalIds"
        ],
        "type": "object",
        "properties": {
          "usersGlobalIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateUserGlobalIdDto"
            },
            "description": "The mappings of users to GlobalIds to update"
          }
        },
        "additionalProperties": false,
        "description": "Users to update GlobalIds"
      },
      "UploadDto": {
        "type": "object",
        "properties": {
          "correlationIdentifier": {
            "type": "string",
            "description": "Identifier of the upload",
            "format": "uuid"
          },
          "userId": {
            "type": "integer",
            "description": "The requesting user",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name given to this upload",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/UploadStatuses"
          }
        },
        "additionalProperties": false,
        "description": "Details and status of a requested upload"
      },
      "UploadStatuses": {
        "enum": [
          "Started",
          "Processing",
          "RequiresUserInput",
          "Completed",
          "Failed"
        ],
        "type": "string",
        "description": "The varies available statuses for a download process"
      },
      "UploadUserInformationRequiredDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of information needed to be supplied",
            "nullable": true
          },
          "informationRequired": {
            "$ref": "#/components/schemas/ModelImportUserSuppliedDetailsDto"
          }
        },
        "additionalProperties": false,
        "description": "Explains the type of information and the information that is needed to be supplied"
      },
      "UpsertAssetWithGeometryDto": {
        "required": [
          "description",
          "name"
        ],
        "type": "object",
        "properties": {
          "assetId": {
            "type": "integer",
            "description": "Id of the asset",
            "format": "int32",
            "nullable": true
          },
          "assetType": {
            "$ref": "#/components/schemas/AssetTypes"
          },
          "projectId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the Project",
            "format": "int32"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string",
            "description": "Name of the asset"
          },
          "description": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string",
            "description": "Description for the asset"
          },
          "projectionType": {
            "$ref": "#/components/schemas/GeometryProjectionTypes"
          },
          "shapeType": {
            "$ref": "#/components/schemas/GeometryShapeTypes"
          },
          "geometryWkt": {
            "type": "string",
            "description": "WKT of the geometry",
            "nullable": true
          },
          "assetDataSourceId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Id of the asset data source",
            "format": "int32"
          },
          "thirdPartyType": {
            "$ref": "#/components/schemas/AssetThirdPartyTypes"
          },
          "thirdPartyId": {
            "type": "string",
            "description": "Optional Third Party Id for the asset",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Representation of an asset for an Upsert operation"
      },
      "UpsertAttributeDisplayInfoDto": {
        "required": [
          "alias",
          "isEditable",
          "isVisible"
        ],
        "type": "object",
        "properties": {
          "assetTypeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Identifier of the asset type",
            "format": "int32"
          },
          "attributeTypeId": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Identifier of the attribute type",
            "format": "int32"
          },
          "isEditable": {
            "type": "boolean",
            "description": "Indicates whether this attribute type can be edited by a user in the UI"
          },
          "isVisible": {
            "type": "boolean",
            "description": "Indicating whether this attribute type is visible to the user within the UI"
          },
          "alias": {
            "minLength": 1,
            "type": "string",
            "description": "An alias name of the attribute"
          },
          "ordering": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Affects how the attribute is ordered with other attributes, higher values are ordered lower",
            "format": "int32"
          },
          "attributeDisplayType": {
            "$ref": "#/components/schemas/AssetAttributePrimitiveTypes"
          },
          "precision": {
            "type": "integer",
            "description": "Determines how numeric values are rounded",
            "format": "int32",
            "nullable": true
          },
          "defaultUiEditorValue": {
            "description": "Indicates the default value that will be shown to the user within the UI.\r\nIf a default value is not present the default for the asset attributes data type will be used.\r\nDefault values for the types: text, numeric and boolean should use their string representation.\r\nDefault values for the Date type should use the ISO8601 syntax.\r\nDefault values for multi-choice should be defined using their alias (string) value.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The dto to upsert attribute display info"
      },
      "UpsertLayerTreeNodeDto": {
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 64,
            "type": "string",
            "description": "The name of this layer tree node.",
            "nullable": true
          },
          "isSelectedByDefault": {
            "type": "boolean",
            "description": "True if this layer tree node should be selected by default."
          },
          "isShownByDefault": {
            "type": "boolean",
            "description": "True if this layer tree node should be shown by default."
          },
          "opacity": {
            "type": "integer",
            "description": "Optional - opacity value for the layer (1 - 100) (zero is not valid).",
            "format": "int32",
            "nullable": true
          },
          "grouping": {
            "type": "integer",
            "description": "Optional - grouping ordinal. Layer tree nodes with the same grouping value are suggested to be presented as mutually exclusive layers (zero is not valid).",
            "format": "int32",
            "nullable": true
          },
          "ordering": {
            "type": "integer",
            "description": "Optional - ordering value for the node (zero is not valid).",
            "format": "int32",
            "nullable": true
          },
          "layerBins": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Optional - Defines the binned groupings on how to display this layer",
            "nullable": true
          },
          "isTiled": {
            "type": "boolean",
            "description": "Optional - Defines whether this layer should be called in tiles or as a whole",
            "nullable": true
          },
          "style": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Optional - Styling options for the layer",
            "nullable": true
          },
          "layerConfig": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Optional - Defines the layer configuration based on the type of source",
            "nullable": true
          },
          "parentId": {
            "type": "integer",
            "description": "Optional - Id of the parent layer of the layer.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A minimal representation of a map layer to be created or updated."
      },
      "UpsertNotificationGroupDto": {
        "required": [
          "description"
        ],
        "type": "object",
        "properties": {
          "description": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string",
            "description": "A description of the notification group"
          }
        },
        "additionalProperties": false,
        "description": "Notification Group Dto"
      },
      "UpsertNotificationGroupUsersDto": {
        "required": [
          "userIds"
        ],
        "type": "object",
        "properties": {
          "userIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "The collection of user Ids to update the notification group with"
          }
        },
        "additionalProperties": false,
        "description": "Upsert Notification Group Users Dto"
      },
      "UpsertNotificationTemplateDto": {
        "required": [
          "criteria",
          "emailMessageTemplate",
          "emailSubjectTemplate",
          "smsMessageTemplate"
        ],
        "type": "object",
        "properties": {
          "criteria": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isBreach": {
                    "type": "boolean",
                    "description": "Determines whether the template is used for breach or relief status for the alarm"
                  },
                  "thresholdCategoryId": {
                    "type": "integer",
                    "description": "The identifier of the category of the target threshold category which the template is used for",
                    "format": "int32"
                  }
                },
                "additionalProperties": false,
                "description": "Criteria for a notification template for an overflow type alarm"
              },
              {
                "type": "object",
                "properties": {
                  "isBreach": {
                    "type": "boolean",
                    "description": "Determines whether the template is used for breach or relief status for the alarm"
                  }
                },
                "additionalProperties": false,
                "description": "Criteria for a notification template for a data recency type alarm"
              }
            ],
            "description": "The notification template criteria - based on alarm type see Schemas: UpsertNotificationTemplateOverflowAlarmCriteriaDto and UpsertNotificationTemplateRecencyAlarmCriteriaDto"
          },
          "emailSubjectTemplate": {
            "maxLength": 700,
            "minLength": 1,
            "type": "string",
            "description": "The email subject template - can contain tokens - see [~/alarms/notification-tokens](#/Alarms/get_v1_alarms_notification_tokens)"
          },
          "emailMessageTemplate": {
            "maxLength": 700,
            "minLength": 1,
            "type": "string",
            "description": "The email message template - can contain tokens - see [~/alarms/notification-tokens](#/Alarms/get_v1_alarms_notification_tokens)"
          },
          "smsMessageTemplate": {
            "maxLength": 700,
            "minLength": 1,
            "type": "string",
            "description": "The sms message template - can contain tokens - see [~/alarms/notification-tokens](#/Alarms/get_v1_alarms_notification_tokens)"
          }
        },
        "additionalProperties": false,
        "description": "Upsert a notification template for an alarm and group"
      },
      "UpsertNotificationTemplateOverflowAlarmCriteriaDto": {
        "type": "object",
        "properties": {
          "isBreach": {
            "type": "boolean",
            "description": "Determines whether the template is used for breach or relief status for the alarm"
          },
          "thresholdCategoryId": {
            "type": "integer",
            "description": "The identifier of the category of the target threshold category which the template is used for",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Criteria for a notification template for an overflow type alarm"
      },
      "UpsertNotificationTemplateRecencyAlarmCriteriaDto": {
        "type": "object",
        "properties": {
          "isBreach": {
            "type": "boolean",
            "description": "Determines whether the template is used for breach or relief status for the alarm"
          }
        },
        "additionalProperties": false,
        "description": "Criteria for a notification template for a data recency type alarm"
      },
      "UpsertProjectFeatureDto": {
        "type": "object",
        "properties": {
          "isEnabled": {
            "type": "boolean",
            "description": "Is feature enabled"
          },
          "globalGroupIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Global Ids of the Access Group",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Upsert Project Feature Dto"
      },
      "UpsertProjectSettingDto": {
        "required": [
          "config"
        ],
        "type": "object",
        "properties": {
          "config": {
            "description": "Config for the settings"
          }
        },
        "additionalProperties": false,
        "description": "Upsert Project Setting Dto"
      },
      "UpsertReportGroupAccessDto": {
        "required": [
          "globalGroupIds"
        ],
        "type": "object",
        "properties": {
          "globalGroupIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The list of access group identifiers that have access to the report"
          }
        },
        "additionalProperties": false,
        "description": "The dto to update report group access"
      },
      "UserAccessRoleDto": {
        "type": "object",
        "properties": {
          "userAccessRoleId": {
            "type": "integer",
            "description": "Unique identifier of the user access role.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Name of the user access role.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the user access role.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a user access role in the system."
      },
      "UserDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "description": "The unique identifier of the user.",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "description": "The users first name",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "The users last name",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "description": "The users user name",
            "nullable": true
          },
          "organisation": {
            "type": "string",
            "description": "The users organisation",
            "nullable": true
          },
          "isDeactivated": {
            "type": "boolean",
            "description": "The user is deactivated or not"
          },
          "acceptTermsAtUtc": {
            "type": "string",
            "description": "The date time when user accepted terms and conditions",
            "format": "date-time",
            "nullable": true,
            "example": "2019-12-30T10:59:30Z"
          },
          "smsNumber": {
            "type": "string",
            "description": "The users sms number",
            "nullable": true
          },
          "globalId": {
            "type": "string",
            "description": "Global unique identifier of the user",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a user in the system."
      },
      "UserInfoDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "description": "The unique identifier of the user.",
            "format": "int32"
          },
          "userName": {
            "type": "string",
            "description": "The users user name",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "The users first name",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "The users last name",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Basic information about a User"
      },
      "UserNotificationStates": {
        "enum": [
          "Pending",
          "Sent",
          "Throttled",
          "Error"
        ],
        "type": "string",
        "description": "States of alarm notification"
      },
      "UserNotificationTypes": {
        "enum": [
          "Email",
          "Sms",
          "WebHook"
        ],
        "type": "string",
        "description": "Type of user notification"
      },
      "UserSimplifiedDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "description": "The unique identifier of the user.",
            "format": "int32"
          },
          "globalId": {
            "type": "string",
            "description": "Global unique identifier of the user",
            "format": "uuid",
            "nullable": true
          },
          "username": {
            "type": "string",
            "description": "Username of the user",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A representation of a user in the system."
      },
      "UserSuppliedAssetTypeValueDto": {
        "type": "object",
        "properties": {
          "sourceFieldValue": {
            "type": "string",
            "description": "The value found in the source asset type field",
            "nullable": true
          },
          "shouldImport": {
            "type": "boolean",
            "description": "If these asset types should be imported"
          },
          "targetAssetType": {
            "$ref": "#/components/schemas/AssetTypes"
          }
        },
        "additionalProperties": false,
        "description": "An asset type source value and its corresponding asset type"
      },
      "UserSuppliedAttributeDto": {
        "type": "object",
        "properties": {
          "sourceFieldName": {
            "type": "string",
            "description": "The Field name that was collected from the source import",
            "nullable": true
          },
          "exampleValue": {
            "description": "An example value found with the field",
            "nullable": true
          },
          "shouldImport": {
            "type": "boolean",
            "description": "If the field should be imported"
          },
          "targetAttributeType": {
            "$ref": "#/components/schemas/AttributeTypes"
          }
        },
        "additionalProperties": false,
        "description": "Information of the field and the map to attribute"
      },
      "VirtualTraceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this virtual trace",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "A description of the virtual trace",
            "nullable": true
          },
          "parentTraceId": {
            "type": "integer",
            "description": "A parent trace this virtual trace is related to.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Representation of computed data of a given trace."
      },
      "WebHookDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the Web Hook",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "Description of the Web Hook",
            "nullable": true
          },
          "uriTemplate": {
            "type": "string",
            "description": "Template for the URI of the web service",
            "nullable": true
          },
          "httpMethod": {
            "type": "string",
            "description": "HTTP Method (GET/POST)",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "description": "Body content type (optional)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Web Hook"
      },
      "WebHookParamDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id of the",
            "format": "int32"
          },
          "paramKey": {
            "type": "string",
            "description": "Key of the parameter",
            "nullable": true
          },
          "paramValue": {
            "type": "string",
            "description": "Value of the parameter",
            "nullable": true
          },
          "paramType": {
            "$ref": "#/components/schemas/WebHookParamTypes"
          },
          "webHookId": {
            "type": "integer",
            "description": "Id of the related Web Hook",
            "format": "int32"
          },
          "userId": {
            "type": "integer",
            "description": "Id of the related User (optional)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Web Hook Parameter"
      },
      "WebHookParamTypes": {
        "enum": [
          "Header",
          "UriReplacement"
        ],
        "type": "string",
        "description": "Web Hook Parameter Type"
      },
      "WebhookTargetType": {
        "enum": [
          "PerScenario",
          "PerAsset"
        ],
        "type": "string",
        "description": "Indicates the multiplicity of a configured web hook's invocation."
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "description": "JWT Authorization header using the Bearer scheme. \n\n Enter token below:",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearer": [ ]
    }
  ]
}