{
  "swagger": "2.0",
  "info": {
    "version": "V5",
    "title": "RegObs API, build: 20260429.1",
    "description": "\r\n## Introduction\r\n\r\nRegObs is a tool for collecting observations and events \r\nrelated to natural hazards. It is currently used by the \r\nNorwegian flood, landslide and avalanche warning service in \r\nNorway, but the data is openly available for anyone through this API.\r\n\r\nRegobs has been developed by the Norwegian Water resources and \r\nEnergy Directorate (NVE), in collaboration with the Norwegian \r\nMeteorological Institute (MET) and the Norwegian Public Roads \r\nAdministration (Statens vegvesen).\r\n\r\nYou can check out our representation of the data at [regobs.no](https://regobs.no).\r\nFor more info about the API, please visit the [RegObs page](https://api.nve.no/doc/regobs/) at api.nve.no.\r\n\r\n## API lifetime\r\n\r\nRegobs API is constantly developed, and once in the future we will probably release a new version of the API with breaking changes.\r\nThe old version of the API will then be shut down 6 months after the new version is released.\r\n**You should already monitor the '[Sunset](https://www.rfc-editor.org/rfc/rfc8594.html)' header in the API response.**\r\nIt will contain a shutdown date for current API when the new version is released.\r\n\r\n## Authentication\r\n\r\nSome endpoints require a client ID used to fetch an authentication token.\r\nThis is primarily endpoints submitting data or fetching private data.\r\nYou can get a client ID by sending an email to \r\n[regobs@nve.no](mailto:regobs@nve.no?subject=RegObs%20Client%20ID).\r\nYou must then fetch a token as outlined in\r\n[NVE Account Authentication](https://api.nve.no/doc/nve-account-authentication/).\r\nThis is not necessary for simpler API queries, such as searching for observations.\r\nTo get a token with the swagger ui, log in by clicking on the green authorize button.\r\nThe `regObs_apptoken` header is a deprecated\r\nform of client identification and is not necessary.\r\n\r\n## Client library\r\n\r\nTo simplify interaction with the API we are working on a\r\nPython client library. Currently it supports submitting data\r\nas well as searching. It is available at\r\n[https://pypi.org/project/regobslib/](https://pypi.org/project/regobslib/).\r\n\r\n## Data Types\r\n\r\nIn order to find information on Regobs data types use the\r\nGET/KDVElements method. KDVElements are used for describing an observation. If we look up GeoHazard in the response we get:\r\n```\r\nGeoHazardKDV: [\r\n      {\r\n        Id: 0,\r\n        Name: Not specified,\r\n        Description: null\r\n      },\r\n      {\r\n        Id: 10,\r\n        Name: Snow,\r\n        Description: Avalanche\r\n      },\r\n      {\r\n        Id: 20,\r\n        Name: Soil,\r\n        Description: Earth slide\r\n      },\r\n]\r\n```\r\nThe GeoHazardTID of 10 corresponds to snow. The GeoHazardTID of 20 corresponds to soil and so on.\r\n\r\nNote that the naming of data types in the API ends with TID while the GET/KDVElements service returns data types with KDV. \r\nOtherwise the naming should be identical. \r\n\r\n## Example\r\n\r\nGet the last 10 observations using python:\r\n\r\n```python\r\nimport requests\r\nr = requests.post('https://api.regobs.no/v5/Search', \r\n    data={'NumberOfRecords': 10},\r\n    headers={'Content-Type': 'application/json'}\r\n)\r\ndata = r.json()\r\nprint(len(data))  # 10\r\n```\r\n\r\n## Model changes since v4\r\nThese are some of the model changes since v4.\r\n\r\n| RegistrationViewModel / RegistrationEditModel | v4 | v5 |\r\n| --- | --- | --- |\r\n| RegId | RegID | RegId |\r\n| ObserverGroupID | Under Observer | At root level |\r\n| ObserverGroupName | Under Observer | At root level |\r\n| UTMEast | Under ObsLocation | N/A |\r\n| UTMNorth | Under ObsLocation | N/A |\r\n| UTMZone | Under ObsLocation | N/A |\r\n| Attachments[i] | AttachmentID | AttachmentId |\r\n| Attachments[i] | AttachmentFileName | Use UrlFormats instead |\r\n|\r\n\r\n| SearchCriteriaRequestDto | v4 | v5 |\r\n| --- | --- | --- |\r\n| FromDate  | FromDate | N/A, use FromDtObsTime or FromDtChangeTime |\r\n| ToDate  | ToDate | N/A, use ToDtObsTime or ToDtChangeTime |\r\n|\r\n",
    "x-swagger-net-version": "8.3.23.104"
  },
  "host": "api.regobs.no",
  "basePath": "/v5",
  "schemes": [
    "https"
  ],
  "paths": {
    "/Account/GetObserver": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetObserver",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/ObserverResponseDto"
            }
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Account/Groups": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetObserverGroups",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "Observer Groups",
            "schema": {
              "items": {
                "$ref": "#/definitions/ObserverGroupDto"
              },
              "xml": {
                "name": "ObserverGroupDto",
                "wrapped": true
              },
              "type": "array"
            }
          },
          "400": {
            "description": "BadRequest"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Account/Mypage": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetMyPageData",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "langKey",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32",
            "default": 1,
            "enum": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MyPageData"
            }
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Account/UpdateObserver": {
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Set nickname for an observer",
        "operationId": "Account_UpdateObserver",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "observerPatchRequestDto",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ObserverPatchRequestDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          },
          "400": {
            "description": "If nickname is empty or given observer is not found"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Attachment/Upload": {
      "post": {
        "tags": [
          "Attachment"
        ],
        "summary": "Upload an image to a registration",
        "operationId": "Attachment_Post",
        "consumes": [
          "application/form-data"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "formData",
            "description": "Attachment to upload",
            "required": true,
            "type": "file"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          },
          "400": {
            "description": "If we could not verify that the uploaded file is an image"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Attachment/{format}/{id}": {
      "get": {
        "tags": [
          "Attachment"
        ],
        "summary": "Get Attachment file by id",
        "operationId": "Attachment_Get",
        "consumes": [],
        "produces": [
          "image/jpeg",
          "image/png",
          "application/octet-stream"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Attachment id",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "format",
            "in": "path",
            "description": "Image format. For video, use Raw. Possible image formats: Raw, Original, Large, Medium, Thumbnail",
            "required": true,
            "type": "string",
            "default": "Raw"
          }
        ],
        "responses": {
          "200": {
            "description": "Attachment"
          },
          "404": {
            "description": "NotFound"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/HelpText": {
      "get": {
        "tags": [
          "Helptext"
        ],
        "summary": "Get a list of helptext objects.",
        "description": "Used by the app and regobs.no web for displaying help texts.",
        "operationId": "Helptext_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "langKey",
            "in": "query",
            "description": "Specify 1 for norwegian or 2 for english",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "items": {
                "$ref": "#/definitions/HelptextDto"
              },
              "xml": {
                "name": "HelptextDto",
                "wrapped": true
              },
              "type": "array"
            }
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/KdvElements": {
      "get": {
        "tags": [
          "KdvElements"
        ],
        "summary": "Returns id, name, and description for data types. This is most often used in input fields, dropdowns etc. KDVElements that belong to a geo hazard are prefixed with the corresponding hazard (Snow_, Ice_, Water_, Landslide_).\r\nIf a type is missing in given language, we will fill the holes with equivalent types in English (if they exists)",
        "operationId": "KdvElements_GetKdvs",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "langkey",
            "in": "query",
            "description": "1 = norwegian, 2 = english, 3 = german, 4 = slovenian, 5 = swedish, 7 = norwegian nynorsk, 8 = french. Norwegian is the default language if none is selected. Default langKey is norwegian",
            "required": false,
            "type": "integer",
            "format": "int32",
            "default": 1,
            "enum": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          },
          {
            "name": "isActive",
            "in": "query",
            "description": "False returns data types that are no longer in use",
            "required": false,
            "type": "boolean",
            "default": true
          },
          {
            "name": "sortOrder",
            "in": "query",
            "description": "False returns data types sorted by id",
            "required": false,
            "type": "boolean",
            "default": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/KdvElementsResponseDto"
            }
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Location/WithinRadius": {
      "get": {
        "tags": [
          "Location"
        ],
        "summary": "Returns a list of locations within the given radius from the given coordinates.\r\nFor an unauthenticated client, it only returns public ice locations.\r\nFor an authenticated client, it returns public locations as well as the\r\nauthenticated user's private locations.\r\nEmpty list if no registrations found.",
        "operationId": "Location_WithinRadius",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "latitude",
            "in": "query",
            "required": true,
            "type": "number",
            "format": "double"
          },
          {
            "name": "longitude",
            "in": "query",
            "required": true,
            "type": "number",
            "format": "double"
          },
          {
            "name": "radius",
            "in": "query",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "geoHazardTypeIds",
            "in": "query",
            "required": false,
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "collectionFormat": "multi",
            "type": "array"
          },
          {
            "name": "returnCount",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32",
            "default": 100
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "items": {
                "$ref": "#/definitions/ObsLocationsResponseDtoV2"
              },
              "xml": {
                "name": "ObsLocationsResponseDtoV2",
                "wrapped": true
              },
              "type": "array"
            }
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Location/{locationId}": {
      "get": {
        "tags": [
          "Location"
        ],
        "operationId": "Location_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "locationId",
            "in": "path",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "langKey",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32",
            "default": 1,
            "enum": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Registration/{regId}/{langKey}": {
      "get": {
        "tags": [
          "Registration"
        ],
        "summary": "Get registration by regId.",
        "operationId": "Registration_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "regId",
            "in": "path",
            "description": "Registration Id",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "langKey",
            "in": "path",
            "description": "1 = norwegian, 2 = english, 3 = german, 4 = slovenian, 5 = swedish, 6 = italian, 7 = norwegian nynorsk.",
            "required": true,
            "type": "integer",
            "format": "int32",
            "default": 1,
            "enum": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegistrationViewModel"
            }
          },
          "410": {
            "description": "If the registration with given regId is deleted"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Registration/Caaml/{regId}": {
      "get": {
        "tags": [
          "Registration"
        ],
        "summary": "Get a registration in CAAML format",
        "description": "CAAML (Canadian Avalanche Association Markup Language) is a standard \r\nfor the electronic representation of information pertinent to avalanche \r\nsafety operations. See http://caaml.org/.",
        "operationId": "Registration_GetCaaml",
        "consumes": [],
        "produces": [
          "text/xml"
        ],
        "parameters": [
          {
            "name": "regId",
            "in": "path",
            "description": "Registration Id",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          },
          "410": {
            "description": "If the registration with given regId is deleted"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Registration/PlotPreviewPng": {
      "post": {
        "tags": [
          "Registration"
        ],
        "summary": "Generate a preview figure for a snow profile registration.",
        "operationId": "Registration_PlotPreviewPng",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "registration",
            "in": "body",
            "description": "Snow profile registration",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RegistrationEditModel"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "height",
            "in": "query",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "width",
            "in": "query",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "langKey",
            "in": "query",
            "description": "1 = norwegian, 2 = english, 3 = german, 4 = slovenian, 5 = swedish, 6 = italian, 7 = norwegian nynorsk.",
            "required": false,
            "type": "integer",
            "format": "int32",
            "default": 1,
            "enum": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Registration/{id}": {
      "put": {
        "tags": [
          "Registration"
        ],
        "summary": "Update registration. Updating existing obsLocation with new values will be possible only \r\nif there is no other registrations connected to that location from before. Otherwise new values are ignored. User don't get any error message.",
        "operationId": "Registration_InsertOrUpdate",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "registration",
            "in": "body",
            "description": "Registration data",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RegistrationEditModel"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "Set to regId if update existing registration, else leave blank",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "externalReferenceId",
            "in": "query",
            "description": "External reference id, must be unique for application and in GUID format",
            "required": false,
            "type": "string"
          },
          {
            "name": "langKey",
            "in": "query",
            "description": "1 = norwegian, 2 = english, 3 = german, 4 = slovenian, 5 = swedish, 6 = italian, 7 = norwegian nynorsk.",
            "required": false,
            "type": "integer",
            "format": "int32",
            "default": 1,
            "enum": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          },
          {
            "name": "ignoreVersionCheck",
            "in": "query",
            "description": "Set this to true if you want to replace the last saved version of this registration even if your copy is outdated",
            "required": false,
            "type": "boolean",
            "default": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegistrationViewModel"
            }
          },
          "400": {
            "description": "If your registration update is invalid"
          },
          "409": {
            "description": "If your registration is outdated (your registration is based on an old version). If so, please fetch a new version of the registration before you try to change it, or set ignoreVersionCheck = true"
          },
          "410": {
            "description": "If your registration is deleted. Please create a new one with POST"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Registration"
        ],
        "summary": "Delete registration",
        "operationId": "Registration_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "BadRequest"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Registration": {
      "post": {
        "tags": [
          "Registration"
        ],
        "summary": "Create a new registration. The purpose is to send in one or more forms.",
        "description": "Example critera for creating a new registration with one form.\r\n            \r\n    {   \r\n        \"GeoHazardTID\": 20,\r\n        \"DtObsTime\": \"2021-06-25T13:18:00.000Z\",\r\n        \"ObsLocation\": {\r\n            \"Latitude\": 60.919917123811992,\r\n            \"Longitude\": 7.210167614875667,\r\n        },\r\n        \"LandSlideObs\": {\r\n            \"LandSlideTID\": 2,\r\n            \"LandSlideTriggerTID\": 0,\r\n            \"LandSlideSizeTID\": 0,\r\n            \"Comment\": \"Flomskred på FV5627 løsnet fra vegskjæring 0-50m. Anslått skredvolum på veg: mindre enn 10m^3.Blokkert veglengde: Kun i grøft.\",\r\n            \"GeoHazardTID\": 20,\r\n            \"ActivityInfluencedTID\": 220,\r\n            \"ForecastAccurateTID\": 0,\r\n            \"DamageExtentTID\": 0,\r\n            \"DtLandSlideTime\": \"2021-06-25T08:10:00+02:00\",\r\n        }\r\n    }",
        "operationId": "Registration_Insert",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "registration",
            "in": "body",
            "description": "ObsLocation, GeoHazardTID and DtObsTime are mandatory.",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RegistrationEditModel"
            }
          },
          {
            "name": "externalReferenceId",
            "in": "query",
            "description": "Unique identifier for registration, in GUID format. This parameter will be required in next version of the API",
            "required": false,
            "type": "string"
          },
          {
            "name": "langKey",
            "in": "query",
            "description": "1 = norwegian, 2 = english, 3 = german, 4 = slovenian, 5 = swedish, 6 = italian, 7 = norwegian nynorsk.",
            "required": false,
            "type": "integer",
            "format": "int32",
            "default": 1,
            "enum": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegistrationViewModel"
            }
          },
          "400": {
            "description": "If your registration is invalid"
          },
          "409": {
            "description": "Conflict"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Registration/Validate/{id}": {
      "post": {
        "tags": [
          "Registration"
        ],
        "summary": "Validate registration data.",
        "operationId": "Registration_Validate",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "registration",
            "in": "body",
            "description": "Registration data",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RegistrationEditModel"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "RegId if existing registration else null if new",
            "required": true,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "externalReferenceId",
            "in": "query",
            "description": "External reference id, must be unique for application and in GUID format",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegistrationEditModel"
            }
          },
          "400": {
            "description": "BadRequest"
          },
          "409": {
            "description": "Conflict"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Search": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Returns a list of complete registrations that matches your filter. Empty list if no registrations found.\r\nUse POST /Search/AtAGlance for faster search.",
        "description": "Example critera for returning the 10 newest registrations:\r\n<code>\r\n    { \"NumberOfRecords\": 10 }\r\n</code>",
        "operationId": "Search_Search",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "criteria",
            "in": "body",
            "description": "Use this to filter out registrations and change ordering of them.\r\nThe attribute \"ObserverGuid\" is deprecated and will be removed in the future.",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SearchCriteriaRequestDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "items": {
                "$ref": "#/definitions/RegistrationViewModel"
              },
              "xml": {
                "name": "RegistrationViewModel",
                "wrapped": true
              },
              "type": "array"
            }
          },
          "400": {
            "description": "If you used an unsupported field in 'OrderBy'"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Search/MyRegistrations": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Returns a list of complete registrations that were registered by the logged in user.\r\nEmpty list if no registrations found.",
        "description": "Example critera for returning the 10 newest registrations:\r\n<code>\r\n    { \"NumberOfRecords\": 10 }\r\n</code>",
        "operationId": "Search_PostSearchMyRegistrations",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "criteria",
            "in": "body",
            "description": "Use this to filter out registrations and change ordering of them",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SearchCriteriaExclUserRequestDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "items": {
                "$ref": "#/definitions/RegistrationViewModel"
              },
              "xml": {
                "name": "RegistrationViewModel",
                "wrapped": true
              },
              "type": "array"
            }
          },
          "400": {
            "description": "If you used an unsupported field in 'OrderBy'"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Search/MyRegistrationsCount": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Returns number of registrations that were registered by the logged in user",
        "operationId": "Search_CountMyRegistrations",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "criteria",
            "in": "body",
            "description": "You may add additional filters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SearchCriteriaExclUserRequestDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SearchCountResponseDto"
            }
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Search/Count": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Returns search result count",
        "operationId": "Search_Count",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "criteria",
            "in": "body",
            "description": "Search criteria",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SearchCriteriaRequestDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SearchCountResponseDto"
            }
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Search/DeletedRegistrations": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Returns list of regIds from deleted registrations that can be filtered with criteria model.\r\nUsed with offline syncing on mobile devices.",
        "operationId": "Search_GetRegIdsFromDeletedRegistrations",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "criteria",
            "in": "body",
            "description": "Search criteria",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SearchCriteriaRequestDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "items": {
                "type": "integer",
                "format": "int32"
              },
              "type": "array"
            }
          },
          "400": {
            "description": "If criteria model is invalid"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Search/SearchCriteria/{geoHazards}/{langKey}": {
      "get": {
        "tags": [
          "Search"
        ],
        "summary": "Returns relevant search criteria for the specified geo hazard types and language.\r\nThis can help you to find the right criteria to use in the other search methods.",
        "operationId": "Search_GetSearchCriteria",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "geoHazards",
            "in": "path",
            "description": "A comma separated list of geo hazard ID's. Snow = 10, dirt = 20, water = 60, ice = 70. At least one geo hazard is required.",
            "required": true,
            "type": "string"
          },
          {
            "name": "langKey",
            "in": "path",
            "description": "NO = 1, EN = 2, DE = 3, SL = 4, SV = 5, IT = 6, NN = 7",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SearchSideBarDto"
            }
          },
          "400": {
            "description": "If you don't provide at least one geo hazard ID"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Search/AtAGlance": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Simplified search for registrations. Returns less data per registration, so faster than /Search\r\nReturns empty list if no registrations found.\r\nReturns only first attachment and count on how many other attachments user can expect when opening\r\na detailed info",
        "operationId": "Search_AtAGlance",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "criteria",
            "in": "body",
            "description": "Search criteria",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SearchCriteriaRequestDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "items": {
                "$ref": "#/definitions/AtAGlanceViewModel"
              },
              "xml": {
                "name": "AtAGlanceViewModel",
                "wrapped": true
              },
              "type": "array"
            }
          },
          "400": {
            "description": "If you use an unsupported field in 'OrderBy'"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Search/Attachments": {
      "post": {
        "tags": [
          "Search"
        ],
        "summary": "Search for images only",
        "operationId": "Search_SearchImages",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "criteria",
            "in": "body",
            "description": "Search criteria",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SearchCriteriaRequestDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "items": {
                "$ref": "#/definitions/RegistrationsWithAttachments"
              },
              "xml": {
                "name": "RegistrationsWithAttachments",
                "wrapped": true
              },
              "type": "array"
            }
          },
          "400": {
            "description": "If you use an unsupported field in 'OrderBy'"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Trip/ObserverTrips": {
      "get": {
        "tags": [
          "Trip"
        ],
        "summary": "Fetches GeoJSON representations of the pre-approved observation trips.\r\nOnly available for users in Obskorps administrative group.",
        "operationId": "Trip_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "InternalServerError"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    },
    "/Trip": {
      "put": {
        "tags": [
          "Trip"
        ],
        "operationId": "Trip_Put",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "trip",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/FinishTripDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "BadRequest"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Trip"
        ],
        "operationId": "Trip_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "trip",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CreateTripDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "BadRequest"
          }
        },
        "security": [
          {
            "regObs_apptoken": []
          },
          {
            "oauth2": [
              "openid",
              "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read"
            ]
          }
        ]
      }
    }
  },
  "definitions": {
    "ObserverResponseDto": {
      "properties": {
        "Guid": {
          "example": "00000000-0000-0000-0000-000000000000",
          "type": "string",
          "format": "uuid"
        },
        "ObserverGroup": {
          "items": {
            "$ref": "#/definitions/ObserverGroupDto"
          },
          "xml": {
            "name": "ObserverGroupDto",
            "wrapped": true
          },
          "type": "array"
        },
        "Nick": {
          "type": "string"
        }
      },
      "xml": {
        "name": "ObserverResponseDto"
      },
      "type": "object"
    },
    "ObserverGroupDto": {
      "properties": {
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "Name": {
          "type": "string"
        },
        "ObserverGroupDescription": {
          "type": "string"
        },
        "WorkPlace": {
          "type": "string"
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "ObserverGroupDto"
      },
      "type": "object"
    },
    "MyPageData": {
      "properties": {
        "Guid": {
          "example": "00000000-0000-0000-0000-000000000000",
          "type": "string",
          "format": "uuid"
        },
        "ObserverId": {
          "description": "Returns unique id that identifies an observer",
          "type": "integer",
          "format": "int32"
        },
        "NickName": {
          "type": "string"
        },
        "Email": {
          "type": "string"
        },
        "MobPhoneNr": {
          "type": "string"
        },
        "FirstName": {
          "type": "string"
        },
        "LastName": {
          "type": "string"
        },
        "WorkPlace": {
          "type": "string"
        },
        "Adrnr": {
          "type": "integer",
          "format": "int32"
        },
        "DtRegTime": {
          "type": "string",
          "format": "date-time"
        },
        "MemberOfGroups": {
          "items": {
            "$ref": "#/definitions/ObserverGroupDto"
          },
          "xml": {
            "name": "ObserverGroupDto",
            "wrapped": true
          },
          "type": "array"
        },
        "PendingInvitationsToGroups": {
          "items": {
            "$ref": "#/definitions/ObserverGroupDto"
          },
          "xml": {
            "name": "ObserverGroupDto",
            "wrapped": true
          },
          "type": "array"
        },
        "Competence": {
          "items": {
            "$ref": "#/definitions/ObserverCompetenceDto"
          },
          "xml": {
            "name": "ObserverCompetenceDto",
            "wrapped": true
          },
          "type": "array"
        },
        "NumberOfObservations": {
          "type": "integer",
          "format": "int32"
        },
        "MainGeohazardTID": {
          "type": "integer",
          "format": "int32"
        },
        "LastRegistrationDate": {
          "type": "string",
          "format": "date-time"
        },
        "DefaultMunicipality": {
          "type": "string"
        },
        "Roles": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "MyPageData"
      },
      "type": "object"
    },
    "ObserverCompetenceDto": {
      "properties": {
        "CompetenceTID": {
          "type": "integer",
          "format": "int32"
        },
        "GeohazardTID": {
          "type": "integer",
          "format": "int32"
        },
        "CompetenceName": {
          "type": "string"
        },
        "CompetenceDescription": {
          "type": "string"
        }
      },
      "xml": {
        "name": "ObserverCompetenceDto"
      },
      "type": "object"
    },
    "ObserverPatchRequestDto": {
      "properties": {
        "Nick": {
          "type": "string"
        }
      },
      "xml": {
        "name": "ObserverPatchRequestDto"
      },
      "type": "object"
    },
    "HelptextDto": {
      "properties": {
        "RegistrationTID": {
          "type": "integer",
          "format": "int32"
        },
        "GeoHazardTID": {
          "type": "integer",
          "format": "int32"
        },
        "LangKey": {
          "type": "integer",
          "format": "int32"
        },
        "Text": {
          "type": "string"
        }
      },
      "xml": {
        "name": "HelptextDto"
      },
      "type": "object"
    },
    "KdvElementsResponseDto": {
      "properties": {
        "KdvRepositories": {
          "additionalProperties": {
            "items": {
              "$ref": "#/definitions/KdvElement"
            },
            "xml": {
              "name": "KdvElement",
              "wrapped": true
            },
            "type": "array"
          },
          "type": "object"
        },
        "ViewRepositories": {
          "type": "object"
        }
      },
      "xml": {
        "name": "KdvElementsResponseDto"
      },
      "type": "object"
    },
    "KdvElement": {
      "properties": {
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        }
      },
      "xml": {
        "name": "KdvElement"
      },
      "type": "object"
    },
    "ObsLocationsResponseDtoV2": {
      "properties": {
        "Name": {
          "type": "string"
        },
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "Distance": {
          "type": "number",
          "format": "double"
        },
        "LatLngObject": {
          "$ref": "#/definitions/LatLngObject"
        },
        "ObserverNickName": {
          "type": "string"
        },
        "ObserverGroupName": {
          "type": "string"
        },
        "ObserverGroupId": {
          "type": "integer",
          "format": "int32"
        },
        "LocationDescription": {
          "type": "string"
        },
        "GeoHazardId": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "ObsLocationsResponseDtoV2"
      },
      "type": "object"
    },
    "LatLngObject": {
      "properties": {
        "Latitude": {
          "type": "number",
          "format": "double"
        },
        "Longitude": {
          "type": "number",
          "format": "double"
        }
      },
      "xml": {
        "name": "LatLngObject"
      },
      "type": "object"
    },
    "RegistrationViewModel": {
      "required": [
        "GeoHazardTID",
        "DtObsTime"
      ],
      "properties": {
        "RegId": {
          "type": "integer",
          "format": "int32"
        },
        "ExternalReferenceId": {
          "description": "Ekstern referanse ID. Må være unik for Applikasjon.",
          "example": "00000000-0000-0000-0000-000000000000",
          "type": "string",
          "format": "uuid"
        },
        "GeoHazardName": {
          "type": "string"
        },
        "DtRegTime": {
          "description": "Timestamp for registrert i systemet. (Read-Only)",
          "type": "string",
          "format": "date-time"
        },
        "DtChangeTime": {
          "description": "Timestamp for endret i systemet. (Read-Only)",
          "type": "string",
          "format": "date-time"
        },
        "SourceName": {
          "type": "string"
        },
        "Observer": {
          "$ref": "#/definitions/ObserverViewModel"
        },
        "ObsLocation": {
          "$ref": "#/definitions/ObsLocationViewModel"
        },
        "Attachments": {
          "items": {
            "$ref": "#/definitions/AttachmentViewModel"
          },
          "xml": {
            "name": "AttachmentViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "AvalancheActivityObs2": {
          "items": {
            "$ref": "#/definitions/AvalancheActivityObs2ViewModel"
          },
          "xml": {
            "name": "AvalancheActivityObs2ViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "AvalancheEvalProblem2": {
          "items": {
            "$ref": "#/definitions/AvalancheEvalProblem2ViewModel"
          },
          "xml": {
            "name": "AvalancheEvalProblem2ViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "AvalancheEvaluation3": {
          "$ref": "#/definitions/AvalancheEvaluation3ViewModel"
        },
        "AvalancheObs": {
          "$ref": "#/definitions/AvalancheObsViewModel"
        },
        "CompressionTest": {
          "items": {
            "$ref": "#/definitions/CompressionTestViewModel"
          },
          "xml": {
            "name": "CompressionTestViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "DangerObs": {
          "items": {
            "$ref": "#/definitions/DangerObsViewModel"
          },
          "xml": {
            "name": "DangerObsViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "GeneralObservation": {
          "$ref": "#/definitions/GeneralObservationViewModel"
        },
        "IceCoverObs": {
          "$ref": "#/definitions/IceCoverViewModel"
        },
        "IceThickness": {
          "$ref": "#/definitions/IceThicknessViewModel"
        },
        "Incident": {
          "$ref": "#/definitions/IncidentViewModel"
        },
        "LandSlideObs": {
          "$ref": "#/definitions/LandslideViewModel"
        },
        "SnowProfile2": {
          "$ref": "#/definitions/SnowProfileViewModel"
        },
        "SnowSurfaceObservation": {
          "$ref": "#/definitions/SnowSurfaceViewModel"
        },
        "WeatherObservation": {
          "$ref": "#/definitions/WeatherViewModel"
        },
        "WaterLevel2": {
          "$ref": "#/definitions/Waterlevel2ViewModel"
        },
        "DamageObs": {
          "items": {
            "$ref": "#/definitions/DamageObsViewModel"
          },
          "xml": {
            "name": "DamageObsViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "Summaries": {
          "items": {
            "$ref": "#/definitions/Summary"
          },
          "xml": {
            "name": "Summary",
            "wrapped": true
          },
          "type": "array"
        },
        "AttachmentSummaries": {
          "items": {
            "$ref": "#/definitions/Summary"
          },
          "xml": {
            "name": "Summary",
            "wrapped": true
          },
          "type": "array"
        },
        "SnowProfile": {
          "$ref": "#/definitions/AttachmentViewModel"
        },
        "AvalancheEvaluation": {
          "$ref": "#/definitions/AvalancheEvaluationViewModel"
        },
        "AvalancheActivityObs": {
          "items": {
            "$ref": "#/definitions/AvalancheActivityObsViewModel"
          },
          "xml": {
            "name": "AvalancheActivityObsViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "AvalancheDangerObs": {
          "items": {
            "$ref": "#/definitions/AvalancheDangerObsViewModel"
          },
          "xml": {
            "name": "AvalancheDangerObsViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "AvalancheEvalProblem": {
          "items": {
            "$ref": "#/definitions/AvalancheEvalProblemViewModel"
          },
          "xml": {
            "name": "AvalancheEvalProblemViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "AvalancheEvaluation2": {
          "$ref": "#/definitions/AvalancheEvaluation2ViewModel"
        },
        "SnowCoverObs": {
          "$ref": "#/definitions/SnowCoverObsViewModel"
        },
        "WaterLevel": {
          "$ref": "#/definitions/WaterLevelViewModel"
        },
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is). The GeoHazardKD unique identifier",
          "type": "integer",
          "format": "int32",
          "enum": [
            0,
            10,
            20,
            30,
            40,
            50,
            60,
            70,
            100,
            110,
            200,
            999
          ]
        },
        "SourceTID": {
          "description": "Kildereferanse på en registrering. F.eks. har brukeren sette dette selv eller er det referert til fra nyheter. The SourceKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "DtObsTime": {
          "description": "Tiden da observasjonen ble gjort.",
          "type": "string",
          "format": "date-time"
        },
        "ObserverGroupID": {
          "type": "integer",
          "format": "int32"
        },
        "ObserverGroupName": {
          "type": "string"
        },
        "Anonymous": {
          "description": "If set to true, the user's account will not be shown publicly. NVE will still be able to see who sent in the observation.",
          "type": "boolean"
        }
      },
      "xml": {
        "name": "RegistrationViewModel"
      },
      "type": "object"
    },
    "ObserverViewModel": {
      "properties": {
        "NickName": {
          "type": "string"
        },
        "ObserverID": {
          "type": "integer",
          "format": "int32"
        },
        "CompetenceLevelTID": {
          "type": "integer",
          "format": "int32"
        },
        "CompetenceLevelName": {
          "type": "string"
        }
      },
      "xml": {
        "name": "ObserverViewModel"
      },
      "type": "object"
    },
    "ObsLocationViewModel": {
      "required": [
        "Latitude",
        "Longitude"
      ],
      "properties": {
        "ForecastRegionTID": {
          "description": "Anngir varslingsregion stedet tilhører. Varslingsregioner gitt i ForecastRegionKD. The ForecastRegionKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ForecastRegionName": {
          "type": "string"
        },
        "Height": {
          "type": "integer",
          "format": "int32"
        },
        "MunicipalName": {
          "type": "string"
        },
        "MunicipalNo": {
          "description": "Kommune nr stedet tilhører",
          "type": "string"
        },
        "CountryId": {
          "type": "integer",
          "format": "int32"
        },
        "CountryName": {
          "type": "string"
        },
        "UTMSourceName": {
          "type": "string"
        },
        "Title": {
          "description": "Read-only generert tittel",
          "type": "string"
        },
        "ObsLocationID": {
          "description": "ObsLocationID",
          "type": "integer",
          "format": "int32"
        },
        "LocationName": {
          "description": "Navn på stedet",
          "type": "string",
          "maxLength": 60
        },
        "LocationDescription": {
          "description": "Beskriver stedet.",
          "type": "string",
          "maxLength": 1024
        },
        "Latitude": {
          "description": "Latitude",
          "type": "number",
          "format": "double"
        },
        "Longitude": {
          "description": "Longitude",
          "type": "number",
          "format": "double"
        },
        "UTMSourceTID": {
          "description": "Kildehenvisning på hvordan koordinaten er satt. (GPS i tlf, klikk i kart, osv). Verdier gitt i UTMSourceKD",
          "type": "integer",
          "format": "int32"
        },
        "Uncertainty": {
          "description": "Usikkerhet i posisjon i meter. Anslås på web og i app hentes det fra gps.",
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "ObsLocationViewModel"
      },
      "type": "object"
    },
    "AttachmentViewModel": {
      "properties": {
        "AttachmentId": {
          "type": "integer",
          "format": "int32"
        },
        "GeoHazardName": {
          "description": "GeoHazard name",
          "type": "string"
        },
        "RegistrationName": {
          "description": "Registration name",
          "type": "string"
        },
        "UrlFormats": {
          "description": "Urls in different formats",
          "properties": {
            "Raw": {
              "type": "string"
            },
            "Original": {
              "type": "string"
            },
            "Thumbnail": {
              "type": "string"
            },
            "Large": {
              "type": "string"
            },
            "Medium": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "Url": {
          "description": "Full original image url",
          "type": "string"
        },
        "Photographer": {
          "description": "Navn på fotograf.",
          "type": "string",
          "maxLength": 60
        },
        "Copyright": {
          "description": "Rettigheter til bilde.",
          "type": "string",
          "maxLength": 60
        },
        "Aspect": {
          "description": "Hvilken himmelretning peker bilde. Gis i grader slik gitt på kompass. 0 er nord og 90 er øst osv.",
          "type": "integer",
          "format": "int32"
        },
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is). The GeoHazardKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "RegistrationTID": {
          "description": "Hva er bildet av. Dette feltet relaterer bildet til en observasjonstype. Feks værobservasjon, faretegn, osv. The RegistrationKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentarfelt for bildet. F.eks for å beskrive det.",
          "type": "string",
          "maxLength": 2048
        },
        "AttachmentMimeType": {
          "type": "string"
        },
        "IsMainAttachment": {
          "description": "Om bildet skal vises først i registreringen, eller ikke",
          "type": "boolean"
        }
      },
      "xml": {
        "name": "AttachmentViewModel"
      },
      "type": "object"
    },
    "AvalancheActivityObs2ViewModel": {
      "properties": {
        "EstimatedNumName": {
          "type": "string"
        },
        "ExposedHeightComboName": {
          "type": "string"
        },
        "AvalancheExtName": {
          "type": "string"
        },
        "AvalCauseName": {
          "type": "string"
        },
        "AvalTriggerSimpleName": {
          "type": "string"
        },
        "DestructiveSizeName": {
          "type": "string"
        },
        "AvalPropagationName": {
          "type": "string"
        },
        "EstimatedNumTID": {
          "type": "integer",
          "format": "int32"
        },
        "DtStart": {
          "type": "string",
          "format": "date-time"
        },
        "DtEnd": {
          "type": "string",
          "format": "date-time"
        },
        "ValidExposition": {
          "type": "string"
        },
        "ExposedHeight1": {
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeight2": {
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeightComboTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalancheExtTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalTriggerSimpleTID": {
          "type": "integer",
          "format": "int32"
        },
        "DestructiveSizeTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalPropagationTID": {
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "AvalancheActivityObs2ViewModel"
      },
      "type": "object"
    },
    "AvalancheEvalProblem2ViewModel": {
      "properties": {
        "AvalProbabilityName": {
          "type": "string"
        },
        "AvalTriggerSimpleName": {
          "type": "string"
        },
        "AvalCauseDepthName": {
          "type": "string"
        },
        "ExposedHeightComboName": {
          "type": "string"
        },
        "AvalancheExtName": {
          "type": "string"
        },
        "AvalCauseName": {
          "type": "string"
        },
        "DestructiveSizeName": {
          "type": "string"
        },
        "AvalPropagationName": {
          "type": "string"
        },
        "AvalCauseAttributeLightName": {
          "type": "string"
        },
        "AvalCauseAttributeThinName": {
          "type": "string"
        },
        "AvalCauseAttributeSoftName": {
          "type": "string"
        },
        "AvalCauseAttributeCrystalName": {
          "type": "string"
        },
        "AvalProbabilityTID": {
          "description": "Sannsynlighet for skred. The AvalProbabilityKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalPropagationTID": {
          "description": "",
          "type": "integer",
          "format": "int32"
        },
        "AvalTriggerSimpleTID": {
          "description": "The AvalTriggerSimpleKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseDepthTID": {
          "description": "Hvor dypt ligger det overnevnte svake laget? The AvalCauseDepthKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ValidExposition": {
          "description": "Velg utsatte retninger",
          "type": "string",
          "maxLength": 8
        },
        "ExposedHeight1": {
          "description": "Øverste høyde på “utsatt høyde” symbolet.",
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeight2": {
          "description": "Nederste høyde på “utsatt høyde” symbolet.",
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeightComboTID": {
          "description": "Hvilket symbol brukes? Er utsatt tereng over ExposedHeight2 eller under den? The ExposedHeightComboKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheExtTID": {
          "description": "Skredtype. I appen er dette 1. felt under skredproblem. The AvalancheExtKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentar til skredproblemet",
          "type": "string"
        },
        "AvalCauseTID": {
          "description": "Hvilket svakt lag løsner skredet på? The AvalCauseKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseAttributeLightTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseAttributeThinTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseAttributeSoftTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseAttributeCrystalTID": {
          "type": "integer",
          "format": "int32"
        },
        "DestructiveSizeTID": {
          "description": "Sannsynlig tilleggsbelastning for å utløse skred. The DestructiveSizeKD unique identifier",
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "AvalancheEvalProblem2ViewModel"
      },
      "type": "object"
    },
    "AvalancheEvaluation3ViewModel": {
      "properties": {
        "AvalancheDangerName": {
          "type": "string"
        },
        "ForecastCorrectName": {
          "type": "string"
        },
        "AvalancheDangerTID": {
          "description": "Faregrad. The AvalancheDangerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheEvaluation": {
          "description": "Her blir Skredfarevurdering skrevet inn. I appen blir “Utstrekning” lagt til som tekst i denne kolonnen",
          "type": "string",
          "maxLength": 1024
        },
        "AvalancheDevelopment": {
          "description": "Her blir forventet utvikling skrevet inn.",
          "type": "string",
          "maxLength": 1024
        },
        "ForecastCorrectTID": {
          "description": "Felt hvor observatøren kan fortelle de syns varslet stemmer. Valg fra liste gitt i ForecastCorrectKD. The ForecastCorrectKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ForecastComment": {
          "description": "Kommetarfelt for utdypende kommentar om varslet stemmer eller ikke.",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "AvalancheEvaluation3ViewModel"
      },
      "type": "object"
    },
    "AvalancheObsViewModel": {
      "required": [
        "DtAvalancheTime"
      ],
      "properties": {
        "DestructiveSizeName": {
          "type": "string"
        },
        "AvalancheTriggerName": {
          "type": "string"
        },
        "AvalancheName": {
          "type": "string"
        },
        "TerrainStartZoneName": {
          "type": "string"
        },
        "AvalCauseName": {
          "type": "string"
        },
        "DtAvalancheTime": {
          "description": "Tid da skredet gikk.",
          "type": "string",
          "format": "date-time"
        },
        "DtEarliestAvalancheTime": {
          "description": "Tidligste tidspunkt da skredet gikk.",
          "type": "string",
          "format": "date-time"
        },
        "Aspect": {
          "description": "Eksposisjon",
          "type": "integer",
          "format": "int32"
        },
        "HeightStartZone": {
          "description": "Høyde i løsneområde",
          "type": "integer",
          "format": "int32"
        },
        "HeightStopZone": {
          "description": "Høyde i stoppområdet",
          "type": "integer",
          "format": "int32"
        },
        "DestructiveSizeTID": {
          "description": "Størrelse. The DestructiveSizeKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheTriggerTID": {
          "description": "Skredutløser. The AvalancheTriggerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheTID": {
          "description": "Skredtype. The AvalancheKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "TerrainStartZoneTID": {
          "description": "Terrengtype i løsneområdet. The TerrainStartZoneKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "SnowLine": {
          "description": "SnowLine",
          "type": "integer",
          "format": "int32"
        },
        "ValidExposition": {
          "description": "ValidExposition",
          "type": "string"
        },
        "AvalCauseTID": {
          "description": "Skredutløser. The AvalCauseTID unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "FractureHeight": {
          "description": "Bruddhøyde",
          "type": "integer",
          "format": "int32"
        },
        "FractureWidth": {
          "description": "Bruddbredde",
          "type": "integer",
          "format": "int32"
        },
        "Trajectory": {
          "description": "Skredbanenavn",
          "type": "string"
        },
        "StartLat": {
          "description": "StartLat",
          "type": "number",
          "format": "double"
        },
        "StartLong": {
          "description": "StartLong",
          "type": "number",
          "format": "double"
        },
        "StopLat": {
          "description": "StopLat",
          "type": "number",
          "format": "double"
        },
        "StopLong": {
          "description": "StopLong",
          "type": "number",
          "format": "double"
        },
        "RemotelyTriggered": {
          "description": "Ble skredet fjernutløst?",
          "type": "boolean"
        },
        "Extent": {
          "description": "Hull of avalanche polygon, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "StartExtent": {
          "description": "Hull of avalanche starting zone, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "StopExtent": {
          "description": "Hull of avalanche runout zone, List (lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "Comment": {
          "description": "Comment",
          "type": "string"
        }
      },
      "xml": {
        "name": "AvalancheObsViewModel"
      },
      "type": "object"
    },
    "CompressionTestViewModel": {
      "properties": {
        "CompressionTestName": {
          "type": "string"
        },
        "PropagationName": {
          "type": "string"
        },
        "StabilityEvalName": {
          "type": "string"
        },
        "ComprTestFractureName": {
          "type": "string"
        },
        "CompressionTestTID": {
          "description": "The CompressionTestKDV unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "TapsFracture": {
          "description": "TapsFracture",
          "type": "integer",
          "format": "int32"
        },
        "TapsFullPropagation": {
          "description": "TapsFullPropagation",
          "type": "integer",
          "format": "int32"
        },
        "PropagationTID": {
          "description": "The PropagationKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "FractureDepth": {
          "description": "FractureDepth",
          "type": "number",
          "format": "double",
          "maximum": 100.0,
          "minimum": 0.0
        },
        "PstX": {
          "description": "PST X distance (in meters)",
          "type": "number",
          "format": "double",
          "maximum": 100.0,
          "minimum": 0.0
        },
        "PstY": {
          "description": "PST Y distance (in meters)",
          "type": "number",
          "format": "double",
          "maximum": 100.0,
          "minimum": 0.0
        },
        "StabilityEvalTID": {
          "description": "The StabilityEvalKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ComprTestFractureTID": {
          "description": "The ComprTestFractureKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "RbRelease": {
          "description": "Percentage of block that released in Rutchblock test",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Comment",
          "type": "string"
        },
        "IncludeInSnowProfile": {
          "type": "boolean"
        }
      },
      "xml": {
        "name": "CompressionTestViewModel"
      },
      "type": "object"
    },
    "DangerObsViewModel": {
      "properties": {
        "GeoHazardName": {
          "type": "string"
        },
        "DangerSignName": {
          "type": "string"
        },
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is). The GeoHazardKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "DangerSignTID": {
          "description": "Faretegn er listet i tabellen DangerSignKD. The DangerSignKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentarfelt for å skrive utfyllende tekst om faretegnet.",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "DangerObsViewModel"
      },
      "type": "object"
    },
    "GeneralObservationViewModel": {
      "properties": {
        "GeoHazardName": {
          "type": "string"
        },
        "Urls": {
          "items": {
            "$ref": "#/definitions/UrlViewModel"
          },
          "xml": {
            "name": "UrlViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is).",
          "type": "integer",
          "format": "int32"
        },
        "ObsComment": {
          "description": "Selve registreringen.",
          "type": "string",
          "maxLength": 2048
        },
        "ObsHeader": {
          "description": "Overskriften (hovedpoenget).",
          "type": "string",
          "maxLength": 100
        },
        "Comment": {
          "description": "Kommentarfelt for å skrive utfyllende tekst",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "GeneralObservationViewModel"
      },
      "type": "object"
    },
    "IceCoverViewModel": {
      "properties": {
        "IceCoverBeforeName": {
          "type": "string"
        },
        "IceCoverName": {
          "type": "string"
        },
        "IceCoverAfterName": {
          "type": "string"
        },
        "IceSkateabilityName": {
          "type": "string"
        },
        "IceCapacityName": {
          "type": "string"
        },
        "Urls": {
          "items": {
            "$ref": "#/definitions/UrlViewModel"
          },
          "xml": {
            "name": "UrlViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "IceCoverBeforeTID": {
          "description": "Hvordan har vannet vært isdekt før den aktuelle observajonen? Feks var det isfritt? Feltet sier noe om hvordan utviklingen er. The IceCoverBeforeKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "IceCoverTID": {
          "description": "Hvordan er vannet dekket av is nå. The IceCoverKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "IceCoverAfterTID": {
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentarfelt for å skrive utfyllende tekst om observasjonen.",
          "type": "string",
          "maxLength": 1024
        },
        "IceSkateabilityTID": {
          "description": "Skøytebarhet. IceSkateabilityKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "IceCapacityTID": {
          "description": "Bæreevne. IceCapacityKD unique identifier",
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "IceCoverViewModel"
      },
      "type": "object"
    },
    "IceThicknessViewModel": {
      "properties": {
        "IceThicknessLayers": {
          "items": {
            "$ref": "#/definitions/IceThicknessLayerViewModel"
          },
          "xml": {
            "name": "IceThicknessLayerViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "SnowDepth": {
          "description": "Mengden tørr snø oppå isen. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "SlushSnow": {
          "description": "Mengden sørpe oppå isen. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "IceThicknessSum": {
          "description": "Total istykkelse. I tabellen IceThicknessLayer kan individuelle islag registreres. Summen av dem skal samsvare med IceThickenssSum. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "IceHeightBefore": {
          "description": "Isen kan være presset under vannspeilet eller flyte oppå. Her registreres denne høyden før borring. IceHeightBefore = 0 betyr at isen er tørr og negative verdier angir overvann. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "IceHeightAfter": {
          "description": "Isen kan være presset under vannspeilet eller flyte oppå. Her registreres denne høyden etter borring. IPositive verdier angir at vannet står nedi hulet og og negative verdier angir overvann. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "Comment": {
          "description": "Comment",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "IceThicknessViewModel"
      },
      "type": "object"
    },
    "IncidentViewModel": {
      "properties": {
        "GeoHazardName": {
          "type": "string"
        },
        "ActivityInfluencedName": {
          "type": "string"
        },
        "DamageExtentName": {
          "type": "string"
        },
        "ForecastAccurateName": {
          "type": "string"
        },
        "SafetyGearName": {
          "description": "Hadde man sikkerhetsutstyr?",
          "type": "string"
        },
        "LocalTouristName": {
          "description": "Var man lokal, norsk eller utenlandsk turist?",
          "type": "string"
        },
        "LocalKnowledgeName": {
          "description": "Hvor ofte er man i området?",
          "type": "string"
        },
        "RescueName": {
          "description": "Hvem gjennomførte redningen?",
          "type": "string"
        },
        "SlopeActivityName": {
          "description": "Hvilken turfase gjelder det?",
          "type": "string"
        },
        "IncidentURLs": {
          "description": "Provide description for IncidentURLs",
          "items": {
            "$ref": "#/definitions/UrlViewModel"
          },
          "xml": {
            "name": "UrlViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is).",
          "type": "integer",
          "format": "int32"
        },
        "ActivityInfluencedTID": {
          "description": "Hva ble påvirket av hendelsen. Valgene er gitt i ActivityInfluencedKD. The ActivityInfluencedKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "DamageExtentTID": {
          "description": "Skadeomfang. Hva var konsekvensen av hendelsen. Valgene gitt i DamageExtentKD. The DamageExtentKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ForecastAccurateTID": {
          "description": "Var det et varsel utstedt og stemte det? The ForecastAccurateKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "LocalTouristTID": {
          "description": "Var man lokal, norsk eller utenlandsk turist?",
          "type": "integer",
          "format": "int32"
        },
        "LocalKnowledgeTID": {
          "description": "Hvor ofte er man i området?",
          "type": "integer",
          "format": "int32"
        },
        "InvolvedNum": {
          "description": "Hvor mange var involvert?",
          "type": "integer",
          "format": "int32"
        },
        "CasualtiesNum": {
          "description": "Hvor mange var i skredet/vannet?",
          "type": "integer",
          "format": "int32"
        },
        "HarmedNum": {
          "description": "Hvor mange vart skadd?",
          "type": "integer",
          "format": "int32"
        },
        "DeadNum": {
          "description": "Hvor mange døde?",
          "type": "integer",
          "format": "int32"
        },
        "EvacuatedNum": {
          "description": "Hvor mange evakuerte?",
          "type": "integer",
          "format": "int32"
        },
        "TrafficObstructed": {
          "description": "Er  trafikk hindret?",
          "type": "boolean"
        },
        "MaterialDamages": {
          "description": "Er  det noen materielle skader?",
          "type": "boolean"
        },
        "SafetyGearTID": {
          "description": "Var det noe sikkerhetsutstyr i bruk?",
          "type": "integer",
          "format": "int32"
        },
        "RescueTID": {
          "description": "Hvem gjennomførte redningen?",
          "type": "integer",
          "format": "int32"
        },
        "SlopeActivityTID": {
          "description": "Hvilken turfase?",
          "type": "integer",
          "format": "int32"
        },
        "DtEndTime": {
          "description": "Om hendelsen strakte seg ut i tid, når sluttet den å gjelde? Feks, når åpnet veien igjen etter raset?",
          "type": "string",
          "format": "date-time"
        },
        "IncidentHeader": {
          "description": "Hendelsen beskrives med overskrift ..",
          "type": "string",
          "maxLength": 100
        },
        "IncidentIngress": {
          "description": ".. med ingress eller sammendrag ..",
          "type": "string",
          "maxLength": 512
        },
        "IncidentText": {
          "description": ".. og teksten eller artikkelen.",
          "type": "string",
          "maxLength": 2048
        },
        "Comment": {
          "description": "Comment.",
          "type": "string"
        }
      },
      "xml": {
        "name": "IncidentViewModel"
      },
      "type": "object"
    },
    "LandslideViewModel": {
      "required": [
        "DtLandSlideTime"
      ],
      "properties": {
        "LandSlideName": {
          "type": "string"
        },
        "LandSlideTriggerName": {
          "type": "string"
        },
        "LandSlideSizeName": {
          "type": "string"
        },
        "GeoHazardName": {
          "type": "string"
        },
        "ActivityInfluencedName": {
          "type": "string"
        },
        "ForecastAccurateName": {
          "type": "string"
        },
        "DamageExtentName": {
          "type": "string"
        },
        "Urls": {
          "items": {
            "$ref": "#/definitions/UrlViewModel"
          },
          "xml": {
            "name": "UrlViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "LandSlideTID": {
          "description": "Hva slags type skred er det snakk om? Valg gitt i LandSlideKD. The LandSlideKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "LandSlideTriggerTID": {
          "description": "Hva utløste skredet? The LandSlideTriggerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "LandSlideSizeTID": {
          "description": "Hvor stort er skredet? The LandSlideSizeKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "type": "string"
        },
        "GeoHazardTID": {
          "description": "Spesifiser skredtype. vått jordskred?, jordskred eller steinskred? GeoHazardTID = 20, 30 og 40 er aktuelle. The GeoHazardKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ActivityInfluencedTID": {
          "description": "Hva ble påvirket av hendelsen. Valgene er gitt i ActivityInfluencedKD. The ActivityInfluencedKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ForecastAccurateTID": {
          "description": "Var det et varsel utstedt og stemte det? The ForecastAccurateKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "DamageExtentTID": {
          "description": "Skadeomfang. Hva var konsekvensen av hendelsen. Valgene gitt i DamageExtentKD. The DamageExtentKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "StartLat": {
          "description": "Latitude start posisjon",
          "type": "number",
          "format": "double"
        },
        "StartLong": {
          "description": "Long start posisjon",
          "type": "number",
          "format": "double"
        },
        "StopLat": {
          "description": "Latitude stopp posisjon",
          "type": "number",
          "format": "double"
        },
        "StopLong": {
          "description": "Long stopp posisjon",
          "type": "number",
          "format": "double"
        },
        "Extent": {
          "description": "Hull of avalanche polygon, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "StartExtent": {
          "description": "Hull of avalanche starting zone, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "StopExtent": {
          "description": "Hull of avalanche runout zone, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "DtLandSlideTime": {
          "description": "Når gikk skredet? Dette er ikke det samme tidspunktet da skredet ble observert.",
          "type": "string",
          "format": "date-time"
        },
        "DtLandSlideTimeEnd": {
          "description": "Når stoppet skredet?",
          "type": "string",
          "format": "date-time"
        }
      },
      "xml": {
        "name": "LandslideViewModel"
      },
      "type": "object"
    },
    "SnowProfileViewModel": {
      "properties": {
        "TotalDepth": {
          "type": "number",
          "format": "double"
        },
        "StratProfile": {
          "$ref": "#/definitions/StratProfileViewModel"
        },
        "Comment": {
          "type": "string"
        },
        "IsProfileToGround": {
          "type": "boolean"
        },
        "Exposition": {
          "type": "integer",
          "format": "int32"
        },
        "SlopeAngle": {
          "type": "integer",
          "format": "int32"
        },
        "SnowTemp": {
          "$ref": "#/definitions/SnowTempModel"
        },
        "SnowDensity": {
          "items": {
            "$ref": "#/definitions/SnowDensityModel"
          },
          "xml": {
            "name": "SnowDensityModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "SnowProfileViewModel"
      },
      "type": "object"
    },
    "SnowSurfaceViewModel": {
      "properties": {
        "SnowWindDepth24": {
          "description": "Obsolete - Only in View Model",
          "type": "number",
          "format": "double"
        },
        "SurfaceWaterContentName": {
          "type": "string"
        },
        "SnowDriftName": {
          "type": "string"
        },
        "SnowSurfaceName": {
          "type": "string"
        },
        "SkiConditionsTID": {
          "type": "integer",
          "format": "int32"
        },
        "SkiConditionsName": {
          "type": "string"
        },
        "SurfaceRougnessTID": {
          "description": "Obsolete - Only in View Model",
          "type": "integer",
          "format": "int32"
        },
        "SurfaceRougnessName": {
          "type": "string"
        },
        "FootPenetration": {
          "description": "Obsolete - Only in View Model",
          "type": "number",
          "format": "double"
        },
        "SnowDepth": {
          "description": "Total snødybde i cm. Vi ønsker et gjennomsnitt for området.",
          "type": "number",
          "format": "double"
        },
        "NewSnowDepth24": {
          "description": "Nysnødybde i cm. Vi ønsker et gjennomsnitt for området",
          "type": "number",
          "format": "double"
        },
        "NewSnowLine": {
          "description": "Nysnøgrensa. Hvor faller nedbør som snø? Meter over havet.",
          "type": "integer",
          "format": "int32"
        },
        "SurfaceWaterContentTID": {
          "description": "Overflatefuktighet",
          "type": "integer",
          "format": "int32"
        },
        "SnowDriftTID": {
          "description": "Hvor mye har vinden transportert snøen? Valg fra nedtrekksmeny. The SnowDriftKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "SnowSurfaceTID": {
          "description": "Snødekkehardhet",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentarfelt for å skrive utfyllende tekst om observasjonen.",
          "type": "string"
        },
        "HeightLimitLayeredSnow": {
          "description": "Grense lagdelt snø (moh)",
          "type": "number",
          "format": "double"
        },
        "SnowLine": {
          "description": "Snøgrense (moh)",
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "SnowSurfaceViewModel"
      },
      "type": "object"
    },
    "WeatherViewModel": {
      "properties": {
        "PrecipitationName": {
          "type": "string"
        },
        "WindDirectionName": {
          "type": "string"
        },
        "PrecipitationTID": {
          "type": "integer",
          "format": "int32"
        },
        "AirTemperature": {
          "type": "number",
          "format": "double",
          "maximum": 50,
          "minimum": -50
        },
        "WindSpeed": {
          "type": "number",
          "format": "double",
          "maximum": 50,
          "minimum": 0
        },
        "WindDirection": {
          "type": "integer",
          "format": "int32",
          "maximum": 359,
          "minimum": 0
        },
        "CloudCover": {
          "type": "integer",
          "format": "int32",
          "maximum": 100,
          "minimum": 0
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "WeatherViewModel"
      },
      "type": "object"
    },
    "Waterlevel2ViewModel": {
      "properties": {
        "WaterLevelStateName": {
          "type": "string"
        },
        "WaterAstrayName": {
          "type": "string"
        },
        "ObservationTimingName": {
          "type": "string"
        },
        "MeasurementReferenceName": {
          "type": "string"
        },
        "MeasurementTypeName": {
          "type": "string"
        },
        "WaterLevelMethodName": {
          "type": "string"
        },
        "MarkingReferenceName": {
          "type": "string"
        },
        "MarkingTypeName": {
          "type": "string"
        },
        "Extent": {
          "description": "Flood polygon area, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "WaterLevelMeasurement": {
          "items": {
            "$ref": "#/definitions/WaterLevelMeasurementViewModel"
          },
          "xml": {
            "name": "WaterLevelMeasurementViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "WaterAstrayTID": {
          "type": "integer",
          "format": "int32"
        },
        "ObservationTimingTID": {
          "type": "integer",
          "format": "int32"
        },
        "MeasurementReferenceTID": {
          "type": "integer",
          "format": "int32"
        },
        "MeasurementTypeTID": {
          "type": "integer",
          "format": "int32"
        },
        "WaterLevelMethodTID": {
          "type": "integer",
          "format": "int32"
        },
        "MarkingReferenceTID": {
          "type": "integer",
          "format": "int32"
        },
        "WaterLevelStateTID": {
          "type": "integer",
          "format": "int32"
        },
        "MarkingTypeTID": {
          "type": "integer",
          "format": "int32"
        },
        "MeasuringToolDescription": {
          "type": "string"
        },
        "Comment": {
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "Waterlevel2ViewModel"
      },
      "type": "object"
    },
    "DamageObsViewModel": {
      "required": [
        "DamageTypeTID"
      ],
      "properties": {
        "GeoHazardName": {
          "type": "string"
        },
        "DamageTypeName": {
          "type": "string"
        },
        "Attachments": {
          "items": {
            "$ref": "#/definitions/AttachmentViewModel"
          },
          "xml": {
            "name": "AttachmentViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "GeoHazardTID": {
          "type": "integer",
          "format": "int32"
        },
        "DamageTypeTID": {
          "type": "integer",
          "format": "int32"
        },
        "DamagePosition": {
          "$ref": "#/definitions/LatLng"
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "DamageObsViewModel"
      },
      "type": "object"
    },
    "Summary": {
      "properties": {
        "RegistrationTID": {
          "type": "integer",
          "format": "int32"
        },
        "RegistrationName": {
          "type": "string"
        },
        "AdaptiveElements": {
          "items": {
            "$ref": "#/definitions/AdaptiveElement"
          },
          "xml": {
            "name": "AdaptiveElement",
            "wrapped": true
          },
          "type": "array"
        },
        "Summaries": {
          "items": {
            "$ref": "#/definitions/RegObsGenericValue"
          },
          "xml": {
            "name": "RegObsGenericValue",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "Summary"
      },
      "type": "object"
    },
    "AvalancheEvaluationViewModel": {
      "properties": {
        "RegID": {
          "type": "integer",
          "format": "int32"
        },
        "CanPublish": {
          "type": "boolean"
        },
        "AvalancheDangerTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalancheDangerName": {
          "type": "string"
        },
        "ValidExposition": {
          "type": "string"
        },
        "ValidHeightRelative": {
          "type": "string"
        },
        "ValidHeightFrom": {
          "type": "integer",
          "format": "int32"
        },
        "ValidHeigtTo": {
          "type": "integer",
          "format": "int32"
        },
        "AvalancheProblemTID1": {
          "type": "integer",
          "format": "int32"
        },
        "AvalancheProblemName1": {
          "type": "string"
        },
        "AvalancheProblemTID2": {
          "type": "integer",
          "format": "int32"
        },
        "AvalancheProblemName2": {
          "type": "string"
        },
        "AvalancheProblemTID3": {
          "type": "integer",
          "format": "int32"
        },
        "AvalancheProblemName3": {
          "type": "string"
        },
        "AvalancheEvaluation1": {
          "type": "string"
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "AvalancheEvaluationViewModel"
      },
      "type": "object"
    },
    "AvalancheActivityObsViewModel": {
      "properties": {
        "AvalancheActivityObsID": {
          "description": "Unik id på denne tabellen da flere er mulig pr RegID.",
          "type": "integer",
          "format": "int32"
        },
        "Aspect": {
          "description": "Hvilken side av fjellene har skredene gått? Gis i grader slik gitt på kompass. 0 er nord og 90 er øst osv.",
          "type": "integer",
          "format": "int32"
        },
        "HeigthStartZone": {
          "description": "Meter over havet på løsneområdet.",
          "type": "integer",
          "format": "int32"
        },
        "DtAvalancheTime": {
          "description": "Når gikk skredene? Her bruker vi feltet som en ca. tid og brukerene oppfordres til å anta best mulig.",
          "type": "string",
          "format": "date-time"
        },
        "DestructiveSizeTID": {
          "description": "Hvor store er skredene?. The DestructiveSizeKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "DestructiveSizeName": {
          "type": "string"
        },
        "EstimatedNumTID": {
          "description": "Hvor mange skred er gått? The EstimatedNumKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "EstimatedNumName": {
          "type": "string"
        },
        "AvalancheTID": {
          "description": "Typen skred som er gått. The AvalancheKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheName": {
          "type": "string"
        },
        "AvalancheTriggerTID": {
          "description": "Hva utløste skredet? Det er ofte beskrevet som det svake laget i snødekket. The AvalancheTriggerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheTriggerName": {
          "type": "string"
        },
        "TerrainStartZoneTID": {
          "description": "Hva slags terrengtype var det i løsneområdet. The TerrainStartZoneKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "TerrainStartZoneName": {
          "type": "string"
        },
        "SnowLine": {
          "description": "Hvor går snøgrensa i området?",
          "type": "integer",
          "format": "int32"
        },
        "SnowLineName": {
          "type": "string"
        },
        "Comment": {
          "description": "Kommentarfelt for å skrive utfyllende tekst om observasjonen.",
          "type": "string"
        },
        "DtOffAvalancheTime": {
          "type": "string",
          "format": "date-time"
        }
      },
      "xml": {
        "name": "AvalancheActivityObsViewModel"
      },
      "type": "object"
    },
    "AvalancheDangerObsViewModel": {
      "properties": {
        "AvalancheDangerObsID": {
          "type": "integer",
          "format": "int32"
        },
        "DangerSignTID": {
          "type": "integer",
          "format": "int32"
        },
        "DangerSignName": {
          "type": "string"
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "AvalancheDangerObsViewModel"
      },
      "type": "object"
    },
    "AvalancheEvalProblemViewModel": {
      "properties": {
        "AvalancheEvalProblemID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalProbabilityTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalProbabilityName": {
          "type": "string"
        },
        "AvalTriggerSimpleTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalTriggerSimpleName": {
          "type": "string"
        },
        "DestructiveSizeExtTID": {
          "type": "integer",
          "format": "int32"
        },
        "DestructiveSizeExtName": {
          "type": "string"
        },
        "AvalancheExtTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalancheExtName": {
          "type": "string"
        },
        "AvalCauseTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseName": {
          "type": "string"
        },
        "AvalCauseExtTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseExtName": {
          "type": "string"
        },
        "AvalReleaseHeightTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalReleaseHeightName": {
          "type": "string"
        },
        "AvalancheProbabilityAutoText": {
          "type": "string"
        },
        "AvalancheProblemAutoText": {
          "type": "string"
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "AvalancheEvalProblemViewModel"
      },
      "type": "object"
    },
    "AvalancheEvaluation2ViewModel": {
      "properties": {
        "AvalancheDangerName": {
          "type": "string"
        },
        "ValidExposition": {
          "type": "string"
        },
        "Comment": {
          "type": "string"
        },
        "AvalancheEvaluation": {
          "type": "string"
        },
        "AvalancheDevelopment": {
          "type": "string"
        },
        "ExposedHeight1": {
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeight2": {
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeightComboTID": {
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeightComboName": {
          "type": "string"
        },
        "ExposedClimateTID": {
          "type": "integer",
          "format": "int32"
        },
        "ExposedClimateName": {
          "type": "string"
        },
        "AvalancheDangerTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalancheEvalProblems": {
          "items": {
            "$ref": "#/definitions/AvalancheEvalProblemViewModel"
          },
          "xml": {
            "name": "AvalancheEvalProblemViewModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "AvalancheEvaluation2ViewModel"
      },
      "type": "object"
    },
    "SnowCoverObsViewModel": {
      "properties": {
        "DepthHoarThickness": {
          "description": "DepthHoarThickness",
          "type": "number",
          "format": "double"
        },
        "CriticalLayerExists": {
          "description": "CriticalLayerExists",
          "type": "boolean"
        },
        "CriticalLayerLocation": {
          "description": "CriticalLayerLocation",
          "type": "number",
          "format": "double"
        },
        "CriticalLayerTID": {
          "description": "The CriticalLayerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "SnowPilotRef": {
          "description": "SnowPilotRef",
          "type": "string"
        },
        "Comment": {
          "description": "Comment.",
          "type": "string"
        },
        "CriticalLayerName": {
          "type": "string"
        }
      },
      "xml": {
        "name": "SnowCoverObsViewModel"
      },
      "type": "object"
    },
    "WaterLevelViewModel": {
      "properties": {
        "WaterLevelDescribed": {
          "type": "string"
        },
        "WaterLevelValue": {
          "type": "number",
          "format": "double"
        },
        "WaterLevelRefTID": {
          "type": "integer",
          "format": "int32"
        },
        "WaterLevelRefName": {
          "type": "string"
        },
        "Comment": {
          "type": "string"
        },
        "MeasuredDischarge": {
          "type": "number",
          "format": "double"
        },
        "IsRiver": {
          "type": "boolean"
        }
      },
      "xml": {
        "name": "WaterLevelViewModel"
      },
      "type": "object"
    },
    "UrlViewModel": {
      "properties": {
        "UrlDescription": {
          "description": "UrlDescription",
          "type": "string",
          "maxLength": 1024
        },
        "UrlLine": {
          "description": "UrlLine",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "UrlViewModel"
      },
      "type": "object"
    },
    "IceThicknessLayerViewModel": {
      "properties": {
        "IceLayerName": {
          "type": "string"
        },
        "IceLayerTID": {
          "description": "The IceLayerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "IceLayerThickness": {
          "description": "IceLayerThickness",
          "type": "number",
          "format": "double"
        },
        "Comment": {
          "description": "Comment",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "IceThicknessLayerViewModel"
      },
      "type": "object"
    },
    "StratProfileViewModel": {
      "properties": {
        "TotalDepth": {
          "type": "number",
          "format": "double"
        },
        "Layers": {
          "items": {
            "$ref": "#/definitions/StratProfileLayerViewModel"
          },
          "xml": {
            "name": "StratProfileLayerViewModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "StratProfileViewModel"
      },
      "type": "object"
    },
    "SnowTempModel": {
      "properties": {
        "Layers": {
          "items": {
            "$ref": "#/definitions/SnowTempObsModel"
          },
          "xml": {
            "name": "SnowTempObsModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "SnowTempModel"
      },
      "type": "object"
    },
    "SnowDensityModel": {
      "properties": {
        "CylinderDiameter": {
          "type": "number",
          "format": "double"
        },
        "TareWeight": {
          "type": "number",
          "format": "double"
        },
        "Comment": {
          "type": "string"
        },
        "Layers": {
          "items": {
            "$ref": "#/definitions/SnowDensityLayerModel"
          },
          "xml": {
            "name": "SnowDensityLayerModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "SnowDensityModel"
      },
      "type": "object"
    },
    "WaterLevelMeasurementViewModel": {
      "required": [
        "DtMeasurementTime"
      ],
      "properties": {
        "WaterLevelMeasurementId": {
          "type": "integer",
          "format": "int32"
        },
        "Attachments": {
          "items": {
            "$ref": "#/definitions/AttachmentViewModel"
          },
          "xml": {
            "name": "AttachmentViewModel",
            "wrapped": true
          },
          "type": "array"
        },
        "WaterLevelValue": {
          "type": "number",
          "format": "double",
          "maximum": 999,
          "minimum": 0
        },
        "DtMeasurementTime": {
          "type": "string",
          "format": "date-time"
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "WaterLevelMeasurementViewModel"
      },
      "type": "object"
    },
    "LatLng": {
      "properties": {
        "Latitude": {
          "type": "number",
          "format": "double"
        },
        "Longitude": {
          "type": "number",
          "format": "double"
        }
      },
      "xml": {
        "name": "LatLng"
      },
      "type": "object"
    },
    "AdaptiveElement": {
      "properties": {
        "type": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "spacing": {
          "type": "string",
          "default": null,
          "enum": [
            "default",
            "none",
            "small",
            "medium",
            "large",
            "extraLarge",
            "padding"
          ]
        },
        "separator": {
          "type": "boolean",
          "default": false
        },
        "speak": {
          "type": "string"
        },
        "height": {
          "$ref": "#/definitions/AdaptiveHeight"
        },
        "isVisible": {
          "type": "boolean",
          "default": true
        },
        "fallback": {
          "$ref": "#/definitions/AdaptiveFallbackElement"
        },
        "requires": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "xml": {
        "name": "AdaptiveElement"
      },
      "type": "object"
    },
    "RegObsGenericValue": {
      "properties": {
        "Kind": {
          "type": "integer",
          "format": "int32",
          "enum": [
            0,
            1,
            2
          ]
        },
        "KindType": {
          "readOnly": true,
          "type": "string"
        },
        "Header": {
          "type": "string"
        },
        "Value": {
          "type": "object"
        }
      },
      "xml": {
        "name": "RegObsGenericValue"
      },
      "type": "object"
    },
    "StratProfileLayerViewModel": {
      "properties": {
        "GrainFormPrimaryTName": {
          "type": "string"
        },
        "GrainFormSecondaryTName": {
          "type": "string"
        },
        "HardnessTName": {
          "type": "string"
        },
        "HardnessBottomTName": {
          "type": "string"
        },
        "WetnessTName": {
          "type": "string"
        },
        "CriticalLayerTName": {
          "type": "string"
        },
        "DepthTop": {
          "type": "number",
          "format": "double"
        },
        "Thickness": {
          "type": "number",
          "format": "double"
        },
        "GrainFormPrimaryTID": {
          "type": "integer",
          "format": "int32"
        },
        "GrainFormSecondaryTID": {
          "type": "integer",
          "format": "int32"
        },
        "GrainSizeAvg": {
          "type": "number",
          "format": "double"
        },
        "GrainSizeAvgMax": {
          "type": "number",
          "format": "double"
        },
        "HardnessTID": {
          "type": "integer",
          "format": "int32"
        },
        "HardnessBottomTID": {
          "type": "integer",
          "format": "int32"
        },
        "WetnessTID": {
          "type": "integer",
          "format": "int32"
        },
        "CriticalLayerTID": {
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "type": "string"
        },
        "SortOrder": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "StratProfileLayerViewModel"
      },
      "type": "object"
    },
    "SnowTempObsModel": {
      "properties": {
        "Depth": {
          "type": "number",
          "format": "double",
          "maximum": 100,
          "minimum": 0
        },
        "SnowTemp": {
          "type": "number",
          "format": "double",
          "maximum": 0,
          "minimum": -70
        }
      },
      "xml": {
        "name": "SnowTempObsModel"
      },
      "type": "object"
    },
    "SnowDensityLayerModel": {
      "properties": {
        "Depth": {
          "type": "number",
          "format": "double"
        },
        "Thickness": {
          "description": "thickness in m",
          "type": "number",
          "format": "double"
        },
        "Density": {
          "description": "Density in kg/m^3",
          "type": "number",
          "format": "double"
        },
        "Comment": {
          "type": "string"
        },
        "Weight": {
          "description": "Weight in KG",
          "type": "number",
          "format": "double"
        },
        "WaterEquivalent": {
          "type": "number",
          "format": "double"
        },
        "SortOrder": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "SnowDensityLayerModel"
      },
      "type": "object"
    },
    "AdaptiveHeight": {
      "properties": {
        "heightType": {
          "type": "string",
          "enum": [
            "auto",
            "stretch",
            "pixel"
          ]
        },
        "unit": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "AdaptiveHeight"
      },
      "type": "object"
    },
    "AdaptiveFallbackElement": {
      "properties": {},
      "xml": {
        "name": "AdaptiveFallbackElement"
      },
      "type": "object"
    },
    "RegistrationEditModel": {
      "required": [
        "GeoHazardTID",
        "DtObsTime"
      ],
      "properties": {
        "ObsLocation": {
          "$ref": "#/definitions/ObsLocationEditModel",
          "description": "The observation location object. Latitude and longitute are needed to create a new registration."
        },
        "Attachments": {
          "items": {
            "$ref": "#/definitions/AttachmentEditModel"
          },
          "xml": {
            "name": "AttachmentEditModel",
            "wrapped": true
          },
          "type": "array"
        },
        "AvalancheActivityObs2": {
          "items": {
            "$ref": "#/definitions/AvalancheActivityObs2EditModel"
          },
          "xml": {
            "name": "AvalancheActivityObs2EditModel",
            "wrapped": true
          },
          "type": "array"
        },
        "AvalancheEvalProblem2": {
          "items": {
            "$ref": "#/definitions/AvalancheEvalProblem2EditModel"
          },
          "xml": {
            "name": "AvalancheEvalProblem2EditModel",
            "wrapped": true
          },
          "type": "array"
        },
        "AvalancheEvaluation3": {
          "$ref": "#/definitions/AvalancheEvaluation3EditModel"
        },
        "AvalancheObs": {
          "$ref": "#/definitions/AvalancheObsEditModel"
        },
        "CompressionTest": {
          "items": {
            "$ref": "#/definitions/CompressionTestEditModel"
          },
          "xml": {
            "name": "CompressionTestEditModel",
            "wrapped": true
          },
          "type": "array"
        },
        "DangerObs": {
          "items": {
            "$ref": "#/definitions/DangerObsEditModel"
          },
          "xml": {
            "name": "DangerObsEditModel",
            "wrapped": true
          },
          "type": "array"
        },
        "GeneralObservation": {
          "$ref": "#/definitions/GeneralObservationEditModel"
        },
        "IceCoverObs": {
          "$ref": "#/definitions/IceCoverEditModel"
        },
        "IceThickness": {
          "$ref": "#/definitions/IceThicknessEditModel"
        },
        "Incident": {
          "$ref": "#/definitions/IncidentEditModel"
        },
        "LandSlideObs": {
          "$ref": "#/definitions/LandslideEditModel"
        },
        "SnowProfile2": {
          "$ref": "#/definitions/SnowProfileEditModel"
        },
        "SnowSurfaceObservation": {
          "$ref": "#/definitions/SnowSurfaceEditModel"
        },
        "WeatherObservation": {
          "$ref": "#/definitions/WeatherEditModel"
        },
        "WaterLevel2": {
          "$ref": "#/definitions/Waterlevel2EditModel"
        },
        "DamageObs": {
          "items": {
            "$ref": "#/definitions/DamageObsEditModel"
          },
          "xml": {
            "name": "DamageObsEditModel",
            "wrapped": true
          },
          "type": "array"
        },
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is). The GeoHazardKD unique identifier",
          "type": "integer",
          "format": "int32",
          "enum": [
            0,
            10,
            20,
            30,
            40,
            50,
            60,
            70,
            100,
            110,
            200,
            999
          ]
        },
        "SourceTID": {
          "description": "Kildereferanse på en registrering. F.eks. har brukeren sette dette selv eller er det referert til fra nyheter. The SourceKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "DtObsTime": {
          "description": "Tiden da observasjonen ble gjort.",
          "type": "string",
          "format": "date-time"
        },
        "DtChangeTime": {
          "type": "string",
          "format": "date-time"
        },
        "ObserverGroupID": {
          "type": "integer",
          "format": "int32"
        },
        "ObserverGroupName": {
          "type": "string"
        },
        "Anonymous": {
          "description": "If set to true, the user's account will not be shown publicly. NVE will still be able to see who sent in the observation.",
          "type": "boolean"
        }
      },
      "xml": {
        "name": "RegistrationEditModel"
      },
      "type": "object"
    },
    "ObsLocationEditModel": {
      "required": [
        "Latitude",
        "Longitude"
      ],
      "properties": {
        "ObsLocationID": {
          "description": "ObsLocationID",
          "type": "integer",
          "format": "int32"
        },
        "LocationName": {
          "description": "Navn på stedet",
          "type": "string",
          "maxLength": 60
        },
        "LocationDescription": {
          "description": "Beskriver stedet.",
          "type": "string",
          "maxLength": 1024
        },
        "Latitude": {
          "description": "Latitude",
          "type": "number",
          "format": "double"
        },
        "Longitude": {
          "description": "Longitude",
          "type": "number",
          "format": "double"
        },
        "UTMSourceTID": {
          "description": "Kildehenvisning på hvordan koordinaten er satt. (GPS i tlf, klikk i kart, osv). Verdier gitt i UTMSourceKD",
          "type": "integer",
          "format": "int32"
        },
        "Uncertainty": {
          "description": "Usikkerhet i posisjon i meter. Anslås på web og i app hentes det fra gps.",
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "ObsLocationEditModel"
      },
      "type": "object"
    },
    "AttachmentEditModel": {
      "properties": {
        "AttachmentId": {
          "type": "integer",
          "format": "int32"
        },
        "AttachmentUploadId": {
          "description": "Last opp attachment på forhånd og sett AttachmentUploadId",
          "type": "string"
        },
        "Photographer": {
          "description": "Navn på fotograf.",
          "type": "string",
          "maxLength": 60
        },
        "Copyright": {
          "description": "Rettigheter til bilde.",
          "type": "string",
          "maxLength": 60
        },
        "Aspect": {
          "description": "Hvilken himmelretning peker bilde. Gis i grader slik gitt på kompass. 0 er nord og 90 er øst osv.",
          "type": "integer",
          "format": "int32"
        },
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is). The GeoHazardKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "RegistrationTID": {
          "description": "Hva er bildet av. Dette feltet relaterer bildet til en observasjonstype. Feks værobservasjon, faretegn, osv. The RegistrationKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentarfelt for bildet. F.eks for å beskrive det.",
          "type": "string",
          "maxLength": 2048
        },
        "AttachmentMimeType": {
          "type": "string"
        },
        "IsMainAttachment": {
          "description": "Om bildet skal vises først i registreringen, eller ikke",
          "type": "boolean"
        }
      },
      "xml": {
        "name": "AttachmentEditModel"
      },
      "type": "object"
    },
    "AvalancheActivityObs2EditModel": {
      "properties": {
        "EstimatedNumTID": {
          "type": "integer",
          "format": "int32"
        },
        "DtStart": {
          "type": "string",
          "format": "date-time"
        },
        "DtEnd": {
          "type": "string",
          "format": "date-time"
        },
        "ValidExposition": {
          "type": "string"
        },
        "ExposedHeight1": {
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeight2": {
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeightComboTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalancheExtTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalTriggerSimpleTID": {
          "type": "integer",
          "format": "int32"
        },
        "DestructiveSizeTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalPropagationTID": {
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "AvalancheActivityObs2EditModel"
      },
      "type": "object"
    },
    "AvalancheEvalProblem2EditModel": {
      "properties": {
        "AvalProbabilityTID": {
          "description": "Sannsynlighet for skred. The AvalProbabilityKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalPropagationTID": {
          "description": "",
          "type": "integer",
          "format": "int32"
        },
        "AvalTriggerSimpleTID": {
          "description": "The AvalTriggerSimpleKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseDepthTID": {
          "description": "Hvor dypt ligger det overnevnte svake laget? The AvalCauseDepthKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ValidExposition": {
          "description": "Velg utsatte retninger",
          "type": "string",
          "maxLength": 8
        },
        "ExposedHeight1": {
          "description": "Øverste høyde på “utsatt høyde” symbolet.",
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeight2": {
          "description": "Nederste høyde på “utsatt høyde” symbolet.",
          "type": "integer",
          "format": "int32"
        },
        "ExposedHeightComboTID": {
          "description": "Hvilket symbol brukes? Er utsatt tereng over ExposedHeight2 eller under den? The ExposedHeightComboKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheExtTID": {
          "description": "Skredtype. I appen er dette 1. felt under skredproblem. The AvalancheExtKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentar til skredproblemet",
          "type": "string"
        },
        "AvalCauseTID": {
          "description": "Hvilket svakt lag løsner skredet på? The AvalCauseKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseAttributeLightTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseAttributeThinTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseAttributeSoftTID": {
          "type": "integer",
          "format": "int32"
        },
        "AvalCauseAttributeCrystalTID": {
          "type": "integer",
          "format": "int32"
        },
        "DestructiveSizeTID": {
          "description": "Sannsynlig tilleggsbelastning for å utløse skred. The DestructiveSizeKD unique identifier",
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "AvalancheEvalProblem2EditModel"
      },
      "type": "object"
    },
    "AvalancheEvaluation3EditModel": {
      "properties": {
        "AvalancheDangerTID": {
          "description": "Faregrad. The AvalancheDangerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheEvaluation": {
          "description": "Her blir Skredfarevurdering skrevet inn. I appen blir “Utstrekning” lagt til som tekst i denne kolonnen",
          "type": "string",
          "maxLength": 1024
        },
        "AvalancheDevelopment": {
          "description": "Her blir forventet utvikling skrevet inn.",
          "type": "string",
          "maxLength": 1024
        },
        "ForecastCorrectTID": {
          "description": "Felt hvor observatøren kan fortelle de syns varslet stemmer. Valg fra liste gitt i ForecastCorrectKD. The ForecastCorrectKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ForecastComment": {
          "description": "Kommetarfelt for utdypende kommentar om varslet stemmer eller ikke.",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "AvalancheEvaluation3EditModel"
      },
      "type": "object"
    },
    "AvalancheObsEditModel": {
      "required": [
        "DtAvalancheTime"
      ],
      "properties": {
        "DtAvalancheTime": {
          "description": "Tid da skredet gikk.",
          "type": "string",
          "format": "date-time"
        },
        "DtEarliestAvalancheTime": {
          "description": "Tidligste tidspunkt da skredet gikk.",
          "type": "string",
          "format": "date-time"
        },
        "Aspect": {
          "description": "Eksposisjon",
          "type": "integer",
          "format": "int32"
        },
        "HeightStartZone": {
          "description": "Høyde i løsneområde",
          "type": "integer",
          "format": "int32"
        },
        "HeightStopZone": {
          "description": "Høyde i stoppområdet",
          "type": "integer",
          "format": "int32"
        },
        "DestructiveSizeTID": {
          "description": "Størrelse. The DestructiveSizeKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheTriggerTID": {
          "description": "Skredutløser. The AvalancheTriggerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "AvalancheTID": {
          "description": "Skredtype. The AvalancheKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "TerrainStartZoneTID": {
          "description": "Terrengtype i løsneområdet. The TerrainStartZoneKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "SnowLine": {
          "description": "SnowLine",
          "type": "integer",
          "format": "int32"
        },
        "ValidExposition": {
          "description": "ValidExposition",
          "type": "string"
        },
        "AvalCauseTID": {
          "description": "Skredutløser. The AvalCauseTID unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "FractureHeight": {
          "description": "Bruddhøyde",
          "type": "integer",
          "format": "int32"
        },
        "FractureWidth": {
          "description": "Bruddbredde",
          "type": "integer",
          "format": "int32"
        },
        "Trajectory": {
          "description": "Skredbanenavn",
          "type": "string"
        },
        "StartLat": {
          "description": "StartLat",
          "type": "number",
          "format": "double"
        },
        "StartLong": {
          "description": "StartLong",
          "type": "number",
          "format": "double"
        },
        "StopLat": {
          "description": "StopLat",
          "type": "number",
          "format": "double"
        },
        "StopLong": {
          "description": "StopLong",
          "type": "number",
          "format": "double"
        },
        "RemotelyTriggered": {
          "description": "Ble skredet fjernutløst?",
          "type": "boolean"
        },
        "Extent": {
          "description": "Hull of avalanche polygon, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "StartExtent": {
          "description": "Hull of avalanche starting zone, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "StopExtent": {
          "description": "Hull of avalanche runout zone, List (lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "Comment": {
          "description": "Comment",
          "type": "string"
        }
      },
      "xml": {
        "name": "AvalancheObsEditModel"
      },
      "type": "object"
    },
    "CompressionTestEditModel": {
      "properties": {
        "CompressionTestTID": {
          "description": "The CompressionTestKDV unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "TapsFracture": {
          "description": "TapsFracture",
          "type": "integer",
          "format": "int32"
        },
        "TapsFullPropagation": {
          "description": "TapsFullPropagation",
          "type": "integer",
          "format": "int32"
        },
        "PropagationTID": {
          "description": "The PropagationKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "FractureDepth": {
          "description": "FractureDepth",
          "type": "number",
          "format": "double",
          "maximum": 100.0,
          "minimum": 0.0
        },
        "PstX": {
          "description": "PST X distance (in meters)",
          "type": "number",
          "format": "double",
          "maximum": 100.0,
          "minimum": 0.0
        },
        "PstY": {
          "description": "PST Y distance (in meters)",
          "type": "number",
          "format": "double",
          "maximum": 100.0,
          "minimum": 0.0
        },
        "StabilityEvalTID": {
          "description": "The StabilityEvalKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ComprTestFractureTID": {
          "description": "The ComprTestFractureKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "RbRelease": {
          "description": "Percentage of block that released in Rutchblock test",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Comment",
          "type": "string"
        },
        "IncludeInSnowProfile": {
          "type": "boolean"
        }
      },
      "xml": {
        "name": "CompressionTestEditModel"
      },
      "type": "object"
    },
    "DangerObsEditModel": {
      "properties": {
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is). The GeoHazardKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "DangerSignTID": {
          "description": "Faretegn er listet i tabellen DangerSignKD. The DangerSignKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentarfelt for å skrive utfyllende tekst om faretegnet.",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "DangerObsEditModel"
      },
      "type": "object"
    },
    "GeneralObservationEditModel": {
      "properties": {
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is).",
          "type": "integer",
          "format": "int32"
        },
        "ObsComment": {
          "description": "Selve registreringen.",
          "type": "string",
          "maxLength": 2048
        },
        "ObsHeader": {
          "description": "Overskriften (hovedpoenget).",
          "type": "string",
          "maxLength": 100
        },
        "Comment": {
          "description": "Kommentarfelt for å skrive utfyllende tekst",
          "type": "string",
          "maxLength": 1024
        },
        "Urls": {
          "items": {
            "$ref": "#/definitions/UrlEditModel"
          },
          "xml": {
            "name": "UrlEditModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "GeneralObservationEditModel"
      },
      "type": "object"
    },
    "IceCoverEditModel": {
      "properties": {
        "IceCoverBeforeTID": {
          "description": "Hvordan har vannet vært isdekt før den aktuelle observajonen? Feks var det isfritt? Feltet sier noe om hvordan utviklingen er. The IceCoverBeforeKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "IceCoverTID": {
          "description": "Hvordan er vannet dekket av is nå. The IceCoverKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "IceCoverAfterTID": {
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentarfelt for å skrive utfyllende tekst om observasjonen.",
          "type": "string",
          "maxLength": 1024
        },
        "IceSkateabilityTID": {
          "description": "Skøytebarhet. IceSkateabilityKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "IceCapacityTID": {
          "description": "Bæreevne. IceCapacityKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "Urls": {
          "items": {
            "$ref": "#/definitions/UrlEditModel"
          },
          "xml": {
            "name": "UrlEditModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "IceCoverEditModel"
      },
      "type": "object"
    },
    "IceThicknessEditModel": {
      "properties": {
        "SnowDepth": {
          "description": "Mengden tørr snø oppå isen. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "SlushSnow": {
          "description": "Mengden sørpe oppå isen. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "IceThicknessSum": {
          "description": "Total istykkelse. I tabellen IceThicknessLayer kan individuelle islag registreres. Summen av dem skal samsvare med IceThickenssSum. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "IceHeightBefore": {
          "description": "Isen kan være presset under vannspeilet eller flyte oppå. Her registreres denne høyden før borring. IceHeightBefore = 0 betyr at isen er tørr og negative verdier angir overvann. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "IceHeightAfter": {
          "description": "Isen kan være presset under vannspeilet eller flyte oppå. Her registreres denne høyden etter borring. IPositive verdier angir at vannet står nedi hulet og og negative verdier angir overvann. Verdi i meter [m].",
          "type": "number",
          "format": "double"
        },
        "Comment": {
          "description": "Comment",
          "type": "string",
          "maxLength": 1024
        },
        "IceThicknessLayers": {
          "items": {
            "$ref": "#/definitions/IceThicknessLayerEditModel"
          },
          "xml": {
            "name": "IceThicknessLayerEditModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "IceThicknessEditModel"
      },
      "type": "object"
    },
    "IncidentEditModel": {
      "properties": {
        "GeoHazardTID": {
          "description": "Sett naturfare. Tabellen brukes av alle naturfarer (snø, jord, vann, is).",
          "type": "integer",
          "format": "int32"
        },
        "ActivityInfluencedTID": {
          "description": "Hva ble påvirket av hendelsen. Valgene er gitt i ActivityInfluencedKD. The ActivityInfluencedKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "DamageExtentTID": {
          "description": "Skadeomfang. Hva var konsekvensen av hendelsen. Valgene gitt i DamageExtentKD. The DamageExtentKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ForecastAccurateTID": {
          "description": "Var det et varsel utstedt og stemte det? The ForecastAccurateKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "LocalTouristTID": {
          "description": "Var man lokal, norsk eller utenlandsk turist?",
          "type": "integer",
          "format": "int32"
        },
        "LocalKnowledgeTID": {
          "description": "Hvor ofte er man i området?",
          "type": "integer",
          "format": "int32"
        },
        "InvolvedNum": {
          "description": "Hvor mange var involvert?",
          "type": "integer",
          "format": "int32"
        },
        "CasualtiesNum": {
          "description": "Hvor mange var i skredet/vannet?",
          "type": "integer",
          "format": "int32"
        },
        "HarmedNum": {
          "description": "Hvor mange vart skadd?",
          "type": "integer",
          "format": "int32"
        },
        "DeadNum": {
          "description": "Hvor mange døde?",
          "type": "integer",
          "format": "int32"
        },
        "EvacuatedNum": {
          "description": "Hvor mange evakuerte?",
          "type": "integer",
          "format": "int32"
        },
        "TrafficObstructed": {
          "description": "Er  trafikk hindret?",
          "type": "boolean"
        },
        "MaterialDamages": {
          "description": "Er  det noen materielle skader?",
          "type": "boolean"
        },
        "SafetyGearTID": {
          "description": "Var det noe sikkerhetsutstyr i bruk?",
          "type": "integer",
          "format": "int32"
        },
        "RescueTID": {
          "description": "Hvem gjennomførte redningen?",
          "type": "integer",
          "format": "int32"
        },
        "SlopeActivityTID": {
          "description": "Hvilken turfase?",
          "type": "integer",
          "format": "int32"
        },
        "DtEndTime": {
          "description": "Om hendelsen strakte seg ut i tid, når sluttet den å gjelde? Feks, når åpnet veien igjen etter raset?",
          "type": "string",
          "format": "date-time"
        },
        "IncidentHeader": {
          "description": "Hendelsen beskrives med overskrift ..",
          "type": "string",
          "maxLength": 100
        },
        "IncidentIngress": {
          "description": ".. med ingress eller sammendrag ..",
          "type": "string",
          "maxLength": 512
        },
        "IncidentText": {
          "description": ".. og teksten eller artikkelen.",
          "type": "string",
          "maxLength": 2048
        },
        "Comment": {
          "description": "Comment.",
          "type": "string"
        },
        "IncidentURLs": {
          "description": "Provide description for IncidentURLs",
          "items": {
            "$ref": "#/definitions/UrlEditModel"
          },
          "xml": {
            "name": "UrlEditModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "IncidentEditModel"
      },
      "type": "object"
    },
    "LandslideEditModel": {
      "required": [
        "DtLandSlideTime"
      ],
      "properties": {
        "LandSlideTID": {
          "description": "Hva slags type skred er det snakk om? Valg gitt i LandSlideKD. The LandSlideKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "LandSlideTriggerTID": {
          "description": "Hva utløste skredet? The LandSlideTriggerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "LandSlideSizeTID": {
          "description": "Hvor stort er skredet? The LandSlideSizeKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "type": "string"
        },
        "GeoHazardTID": {
          "description": "Spesifiser skredtype. vått jordskred?, jordskred eller steinskred? GeoHazardTID = 20, 30 og 40 er aktuelle. The GeoHazardKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ActivityInfluencedTID": {
          "description": "Hva ble påvirket av hendelsen. Valgene er gitt i ActivityInfluencedKD. The ActivityInfluencedKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "ForecastAccurateTID": {
          "description": "Var det et varsel utstedt og stemte det? The ForecastAccurateKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "DamageExtentTID": {
          "description": "Skadeomfang. Hva var konsekvensen av hendelsen. Valgene gitt i DamageExtentKD. The DamageExtentKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "StartLat": {
          "description": "Latitude start posisjon",
          "type": "number",
          "format": "double"
        },
        "StartLong": {
          "description": "Long start posisjon",
          "type": "number",
          "format": "double"
        },
        "StopLat": {
          "description": "Latitude stopp posisjon",
          "type": "number",
          "format": "double"
        },
        "StopLong": {
          "description": "Long stopp posisjon",
          "type": "number",
          "format": "double"
        },
        "Extent": {
          "description": "Hull of avalanche polygon, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "StartExtent": {
          "description": "Hull of avalanche starting zone, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "StopExtent": {
          "description": "Hull of avalanche runout zone, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "DtLandSlideTime": {
          "description": "Når gikk skredet? Dette er ikke det samme tidspunktet da skredet ble observert.",
          "type": "string",
          "format": "date-time"
        },
        "DtLandSlideTimeEnd": {
          "description": "Når stoppet skredet?",
          "type": "string",
          "format": "date-time"
        },
        "Urls": {
          "items": {
            "$ref": "#/definitions/UrlEditModel"
          },
          "xml": {
            "name": "UrlEditModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "LandslideEditModel"
      },
      "type": "object"
    },
    "SnowProfileEditModel": {
      "properties": {
        "StratProfile": {
          "$ref": "#/definitions/StratProfileEditModel"
        },
        "Comment": {
          "type": "string"
        },
        "IsProfileToGround": {
          "type": "boolean"
        },
        "Exposition": {
          "type": "integer",
          "format": "int32"
        },
        "SlopeAngle": {
          "type": "integer",
          "format": "int32"
        },
        "SnowTemp": {
          "$ref": "#/definitions/SnowTempModel"
        },
        "SnowDensity": {
          "items": {
            "$ref": "#/definitions/SnowDensityModel"
          },
          "xml": {
            "name": "SnowDensityModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "SnowProfileEditModel"
      },
      "type": "object"
    },
    "SnowSurfaceEditModel": {
      "properties": {
        "SnowDepth": {
          "description": "Total snødybde i cm. Vi ønsker et gjennomsnitt for området.",
          "type": "number",
          "format": "double"
        },
        "NewSnowDepth24": {
          "description": "Nysnødybde i cm. Vi ønsker et gjennomsnitt for området",
          "type": "number",
          "format": "double"
        },
        "NewSnowLine": {
          "description": "Nysnøgrensa. Hvor faller nedbør som snø? Meter over havet.",
          "type": "integer",
          "format": "int32"
        },
        "SurfaceWaterContentTID": {
          "description": "Overflatefuktighet",
          "type": "integer",
          "format": "int32"
        },
        "SnowDriftTID": {
          "description": "Hvor mye har vinden transportert snøen? Valg fra nedtrekksmeny. The SnowDriftKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "SnowSurfaceTID": {
          "description": "Snødekkehardhet",
          "type": "integer",
          "format": "int32"
        },
        "SkiConditionsTID": {
          "description": "Skiføre",
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "description": "Kommentarfelt for å skrive utfyllende tekst om observasjonen.",
          "type": "string"
        },
        "HeightLimitLayeredSnow": {
          "description": "Grense lagdelt snø (moh)",
          "type": "number",
          "format": "double"
        },
        "SnowLine": {
          "description": "Snøgrense (moh)",
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "SnowSurfaceEditModel"
      },
      "type": "object"
    },
    "WeatherEditModel": {
      "properties": {
        "PrecipitationTID": {
          "type": "integer",
          "format": "int32"
        },
        "AirTemperature": {
          "type": "number",
          "format": "double",
          "maximum": 50,
          "minimum": -50
        },
        "WindSpeed": {
          "type": "number",
          "format": "double",
          "maximum": 50,
          "minimum": 0
        },
        "WindDirection": {
          "type": "integer",
          "format": "int32",
          "maximum": 359,
          "minimum": 0
        },
        "CloudCover": {
          "type": "integer",
          "format": "int32",
          "maximum": 100,
          "minimum": 0
        },
        "Comment": {
          "type": "string"
        }
      },
      "xml": {
        "name": "WeatherEditModel"
      },
      "type": "object"
    },
    "Waterlevel2EditModel": {
      "properties": {
        "WaterAstrayTID": {
          "type": "integer",
          "format": "int32"
        },
        "ObservationTimingTID": {
          "type": "integer",
          "format": "int32"
        },
        "MeasurementReferenceTID": {
          "type": "integer",
          "format": "int32"
        },
        "MeasurementTypeTID": {
          "type": "integer",
          "format": "int32"
        },
        "WaterLevelMethodTID": {
          "type": "integer",
          "format": "int32"
        },
        "MarkingReferenceTID": {
          "type": "integer",
          "format": "int32"
        },
        "WaterLevelStateTID": {
          "type": "integer",
          "format": "int32"
        },
        "MarkingTypeTID": {
          "type": "integer",
          "format": "int32"
        },
        "MeasuringToolDescription": {
          "type": "string"
        },
        "WaterLevelMeasurement": {
          "items": {
            "$ref": "#/definitions/WaterLevelMeasurementEditModel"
          },
          "xml": {
            "name": "WaterLevelMeasurementEditModel",
            "wrapped": true
          },
          "type": "array"
        },
        "Extent": {
          "description": "Flood polygon area, List(lon, lat)",
          "items": {
            "items": {
              "type": "number",
              "format": "double"
            },
            "type": "array"
          },
          "type": "array"
        },
        "Comment": {
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "Waterlevel2EditModel"
      },
      "type": "object"
    },
    "DamageObsEditModel": {
      "required": [
        "DamageTypeTID"
      ],
      "properties": {
        "GeoHazardTID": {
          "type": "integer",
          "format": "int32"
        },
        "DamageTypeTID": {
          "type": "integer",
          "format": "int32"
        },
        "DamagePosition": {
          "$ref": "#/definitions/LatLng"
        },
        "Comment": {
          "type": "string"
        },
        "Attachments": {
          "items": {
            "$ref": "#/definitions/AttachmentEditModel"
          },
          "xml": {
            "name": "AttachmentEditModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "DamageObsEditModel"
      },
      "type": "object"
    },
    "UrlEditModel": {
      "properties": {
        "UrlDescription": {
          "description": "UrlDescription",
          "type": "string",
          "maxLength": 1024
        },
        "UrlLine": {
          "description": "UrlLine",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "UrlEditModel"
      },
      "type": "object"
    },
    "IceThicknessLayerEditModel": {
      "properties": {
        "IceLayerTID": {
          "description": "The IceLayerKD unique identifier",
          "type": "integer",
          "format": "int32"
        },
        "IceLayerThickness": {
          "description": "IceLayerThickness",
          "type": "number",
          "format": "double"
        },
        "Comment": {
          "description": "Comment",
          "type": "string",
          "maxLength": 1024
        }
      },
      "xml": {
        "name": "IceThicknessLayerEditModel"
      },
      "type": "object"
    },
    "StratProfileEditModel": {
      "properties": {
        "Layers": {
          "items": {
            "$ref": "#/definitions/StratProfileLayerEditModel"
          },
          "xml": {
            "name": "StratProfileLayerEditModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "StratProfileEditModel"
      },
      "type": "object"
    },
    "WaterLevelMeasurementEditModel": {
      "required": [
        "DtMeasurementTime"
      ],
      "properties": {
        "WaterLevelMeasurementId": {
          "type": "integer",
          "format": "int32"
        },
        "WaterLevelValue": {
          "type": "number",
          "format": "double",
          "maximum": 999,
          "minimum": 0
        },
        "DtMeasurementTime": {
          "type": "string",
          "format": "date-time"
        },
        "Comment": {
          "type": "string"
        },
        "Attachments": {
          "items": {
            "$ref": "#/definitions/AttachmentEditModel"
          },
          "xml": {
            "name": "AttachmentEditModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "WaterLevelMeasurementEditModel"
      },
      "type": "object"
    },
    "StratProfileLayerEditModel": {
      "properties": {
        "DepthTop": {
          "type": "number",
          "format": "double"
        },
        "Thickness": {
          "type": "number",
          "format": "double"
        },
        "GrainFormPrimaryTID": {
          "type": "integer",
          "format": "int32"
        },
        "GrainFormSecondaryTID": {
          "type": "integer",
          "format": "int32"
        },
        "GrainSizeAvg": {
          "type": "number",
          "format": "double"
        },
        "GrainSizeAvgMax": {
          "type": "number",
          "format": "double"
        },
        "HardnessTID": {
          "type": "integer",
          "format": "int32"
        },
        "HardnessBottomTID": {
          "type": "integer",
          "format": "int32"
        },
        "WetnessTID": {
          "type": "integer",
          "format": "int32"
        },
        "CriticalLayerTID": {
          "type": "integer",
          "format": "int32"
        },
        "Comment": {
          "type": "string"
        },
        "SortOrder": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "StratProfileLayerEditModel"
      },
      "type": "object"
    },
    "SearchCriteriaRequestDto": {
      "description": "Use this to filter out registrations.",
      "properties": {
        "ObserverId": {
          "description": "Find registrations made by the observer with given ID",
          "type": "integer",
          "format": "int32"
        },
        "ObserverGuid": {
          "description": "Find registrations made by the observer with given GUID.\r\nThis attribute is  deprecated and will be removed in the future.",
          "type": "string"
        },
        "GroupId": {
          "description": "Find registrations made by the observers in a specific group",
          "type": "integer",
          "format": "int32"
        },
        "ObserverCompetence": {
          "description": "Find registrations made by observers with specific competence level IDs\r\nUse /Search/SearchCriteria to find out which competence levels are used for different geo hazards.",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array"
        },
        "ObserverNickName": {
          "description": "Find registrations made by the observer with given nick name",
          "type": "string"
        },
        "RegId": {
          "description": "Find a registration with a specific unique ID. You may also use GET /Registration/{regId}/{langKey}",
          "type": "integer",
          "format": "int32"
        },
        "LangKey": {
          "description": "Language of result\r\nNorwegian = 1, English = 2, German = 3, Slovenian = 4, Swedish = 5, Italian = 6, Norwegian (nn) = 7.\r\nDefault = 1",
          "type": "integer",
          "format": "int32"
        },
        "LocationId": {
          "type": "integer",
          "format": "int32"
        },
        "FromDtObsTime": {
          "description": "Find registrations with obervation time after given date and time (inclusive)",
          "type": "string",
          "format": "date-time"
        },
        "ToDtObsTime": {
          "description": "Find registrations with obervation time before given date and time (inclusive)",
          "type": "string",
          "format": "date-time"
        },
        "FromDtChangeTime": {
          "description": "Find registrations saved or changed after given date and time (inclusive)",
          "type": "string",
          "format": "date-time"
        },
        "ToDtChangeTime": {
          "description": "Find registrations saved or changed before given date and time (inclusive)",
          "type": "string",
          "format": "date-time"
        },
        "NumberOfRecords": {
          "description": "Max number of registrations to return. Default = 100",
          "type": "integer",
          "format": "int32"
        },
        "Offset": {
          "description": "Start index. If more registrations matches your filter than you get in one chunk, set Offset to the count of how many records you already fetched, to retrieve the next chunk",
          "type": "integer",
          "format": "int32"
        },
        "TimeZone": {
          "type": "string"
        },
        "SelectedRegistrationTypes": {
          "description": "Find registrations of given types. \r\nUse /Search/SearchCriteria to find out which types are used for different geo hazards.",
          "items": {
            "$ref": "#/definitions/RegistrationTypeCriteriaDto"
          },
          "xml": {
            "name": "RegistrationTypeCriteriaDto",
            "wrapped": true
          },
          "type": "array"
        },
        "SelectedRegions": {
          "description": "Find registrations in given regions. \r\nUse /Search/SearchCriteria to find the forecast region IDs that are used for different geo hazards.",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array"
        },
        "SelectedGeoHazards": {
          "description": "Find registrations on given geo hazard ID's. \r\nSnow = 10, dirt = 20, water = 60, ice = 70.",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array"
        },
        "Countries": {
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array"
        },
        "Counties": {
          "description": "Find registrations in given county.\r\nOnly relevant for Norway.\r\nØSTFOLD = 01, AKERSHUS = 02, OSLO = 03, HEDMARK = 04, OPPLAND = 05, BUSKERUD = 06, VESTFOLD = 07, TELEMARK = 08, AUST-AGDER = 09, VEST-AGDER = 10, ROGALAND = 11, HORDALAND = 12, SOGN OG FJORDANE = 14, MØRE OG ROMSDAL = 15, SØR-TRØNDELAG = 16, NORD-TRØNDELAG = 17, NORDLAND = 18, TROMS = 19, FINNMARK = 20, SVALBARD = 21, VIKEN = 30, INNLANDET = 34, VESTFOLD OG TELEMARK = 38, AGDER = 42, VESTLAND = 46, Trøndelag = 50, TROMS OG FINNMARK = 54",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "TextSearch": {
          "type": "string"
        },
        "Radius": {
          "$ref": "#/definitions/WithinRadiusCriteriaDto"
        },
        "Extent": {
          "$ref": "#/definitions/WithinExtentCriteriaDto"
        },
        "PropertyFilters": {
          "description": "Find registrations with given property value.\r\n[Obsolete(\"Experimental feature that may be changed or removed in later versions\")]",
          "items": {
            "$ref": "#/definitions/PropertyFilter"
          },
          "xml": {
            "name": "PropertyFilter",
            "wrapped": true
          },
          "type": "array"
        },
        "OrderBy": {
          "description": "Field to order by. You may use these fields: DtObsTime, DtRegTime, DtChangeTime. Default is DtObsTime. A few other fields may also work",
          "type": "string"
        },
        "AscendingOrder": {
          "description": "Descending order is default. Set this to true to use ascending order.",
          "type": "boolean"
        }
      },
      "xml": {
        "name": "SearchCriteriaRequestDto"
      },
      "type": "object"
    },
    "RegistrationTypeCriteriaDto": {
      "properties": {
        "Id": {
          "description": "TODO: See",
          "type": "integer",
          "format": "int32"
        },
        "SubTypes": {
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "RegistrationTypeCriteriaDto"
      },
      "type": "object"
    },
    "WithinRadiusCriteriaDto": {
      "properties": {
        "Position": {
          "$ref": "#/definitions/PositionDto"
        },
        "Radius": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "WithinRadiusCriteriaDto"
      },
      "type": "object"
    },
    "WithinExtentCriteriaDto": {
      "properties": {
        "TopLeft": {
          "$ref": "#/definitions/PositionDto"
        },
        "BottomRight": {
          "$ref": "#/definitions/PositionDto"
        }
      },
      "xml": {
        "name": "WithinExtentCriteriaDto"
      },
      "type": "object"
    },
    "PropertyFilter": {
      "description": "Filter by property value",
      "properties": {
        "Name": {
          "description": "Property name. Properties in sub schemas must be prefixed with schema name.\r\nExample: AvalancheObs.AvalancheTID\r\nMultiple instance schemas, like DangerSign, are not supported.\r\nIf you use unknown/unsupported properties, you will get an HTTP 400.",
          "type": "string"
        },
        "Operator": {
          "type": "integer",
          "format": "int32",
          "enum": [
            0
          ]
        },
        "Value": {
          "description": "Target property value",
          "type": "string"
        }
      },
      "xml": {
        "name": "PropertyFilter"
      },
      "type": "object"
    },
    "PositionDto": {
      "properties": {
        "Latitude": {
          "type": "number",
          "format": "double"
        },
        "Longitude": {
          "type": "number",
          "format": "double"
        }
      },
      "xml": {
        "name": "PositionDto"
      },
      "type": "object"
    },
    "SearchCriteriaExclUserRequestDto": {
      "description": "Use this to filter out registrations.",
      "properties": {
        "RegId": {
          "description": "Find a registration with a specific unique ID. You may also use GET /Registration/{regId}/{langKey}",
          "type": "integer",
          "format": "int32"
        },
        "LangKey": {
          "description": "Language of result\r\nNorwegian = 1, English = 2, German = 3, Slovenian = 4, Swedish = 5, Italian = 6, Norwegian (nn) = 7.\r\nDefault = 1",
          "type": "integer",
          "format": "int32"
        },
        "LocationId": {
          "type": "integer",
          "format": "int32"
        },
        "FromDtObsTime": {
          "description": "Find registrations with obervation time after given date and time (inclusive)",
          "type": "string",
          "format": "date-time"
        },
        "ToDtObsTime": {
          "description": "Find registrations with obervation time before given date and time (inclusive)",
          "type": "string",
          "format": "date-time"
        },
        "FromDtChangeTime": {
          "description": "Find registrations saved or changed after given date and time (inclusive)",
          "type": "string",
          "format": "date-time"
        },
        "ToDtChangeTime": {
          "description": "Find registrations saved or changed before given date and time (inclusive)",
          "type": "string",
          "format": "date-time"
        },
        "NumberOfRecords": {
          "description": "Max number of registrations to return. Default = 100",
          "type": "integer",
          "format": "int32"
        },
        "Offset": {
          "description": "Start index. If more registrations matches your filter than you get in one chunk, set Offset to the count of how many records you already fetched, to retrieve the next chunk",
          "type": "integer",
          "format": "int32"
        },
        "TimeZone": {
          "type": "string"
        },
        "SelectedRegistrationTypes": {
          "description": "Find registrations of given types. \r\nUse /Search/SearchCriteria to find out which types are used for different geo hazards.",
          "items": {
            "$ref": "#/definitions/RegistrationTypeCriteriaDto"
          },
          "xml": {
            "name": "RegistrationTypeCriteriaDto",
            "wrapped": true
          },
          "type": "array"
        },
        "SelectedRegions": {
          "description": "Find registrations in given regions. \r\nUse /Search/SearchCriteria to find the forecast region IDs that are used for different geo hazards.",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array"
        },
        "SelectedGeoHazards": {
          "description": "Find registrations on given geo hazard ID's. \r\nSnow = 10, dirt = 20, water = 60, ice = 70.",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array"
        },
        "Countries": {
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "type": "array"
        },
        "Counties": {
          "description": "Find registrations in given county.\r\nOnly relevant for Norway.\r\nØSTFOLD = 01, AKERSHUS = 02, OSLO = 03, HEDMARK = 04, OPPLAND = 05, BUSKERUD = 06, VESTFOLD = 07, TELEMARK = 08, AUST-AGDER = 09, VEST-AGDER = 10, ROGALAND = 11, HORDALAND = 12, SOGN OG FJORDANE = 14, MØRE OG ROMSDAL = 15, SØR-TRØNDELAG = 16, NORD-TRØNDELAG = 17, NORDLAND = 18, TROMS = 19, FINNMARK = 20, SVALBARD = 21, VIKEN = 30, INNLANDET = 34, VESTFOLD OG TELEMARK = 38, AGDER = 42, VESTLAND = 46, Trøndelag = 50, TROMS OG FINNMARK = 54",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "TextSearch": {
          "type": "string"
        },
        "Radius": {
          "$ref": "#/definitions/WithinRadiusCriteriaDto"
        },
        "Extent": {
          "$ref": "#/definitions/WithinExtentCriteriaDto"
        },
        "PropertyFilters": {
          "description": "Find registrations with given property value.\r\n[Obsolete(\"Experimental feature that may be changed or removed in later versions\")]",
          "items": {
            "$ref": "#/definitions/PropertyFilter"
          },
          "xml": {
            "name": "PropertyFilter",
            "wrapped": true
          },
          "type": "array"
        },
        "OrderBy": {
          "description": "Field to order by. You may use these fields: DtObsTime, DtRegTime, DtChangeTime. Default is DtObsTime. A few other fields may also work",
          "type": "string"
        },
        "AscendingOrder": {
          "description": "Descending order is default. Set this to true to use ascending order.",
          "type": "boolean"
        }
      },
      "xml": {
        "name": "SearchCriteriaExclUserRequestDto"
      },
      "type": "object"
    },
    "SearchCountResponseDto": {
      "properties": {
        "TotalMatches": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "SearchCountResponseDto"
      },
      "type": "object"
    },
    "SearchSideBarDto": {
      "properties": {
        "RegistrationTypes": {
          "properties": {
            "NotSpecified": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Avalanche": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "EarthFlow": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "LandSlide": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "RockFall": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "IceFall": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Flooding": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Ice": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "EventOnGlacier": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Jøkulhaup": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Drought": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Unknown": {
              "items": {
                "$ref": "#/definitions/RegistrationTypeDto"
              },
              "xml": {
                "name": "RegistrationTypeDto",
                "wrapped": true
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "ObserverCompetenceLevels": {
          "properties": {
            "NotSpecified": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Avalanche": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "EarthFlow": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "LandSlide": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "RockFall": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "IceFall": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Flooding": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Ice": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "EventOnGlacier": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Jøkulhaup": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Drought": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Unknown": {
              "items": {
                "$ref": "#/definitions/ObserverCompetenceLevelDto"
              },
              "xml": {
                "name": "ObserverCompetenceLevelDto",
                "wrapped": true
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "Areas": {
          "items": {
            "$ref": "#/definitions/AreasDto"
          },
          "xml": {
            "name": "AreasDto",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "SearchSideBarDto"
      },
      "type": "object"
    },
    "RegistrationTypeDto": {
      "properties": {
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "Name": {
          "type": "string"
        },
        "SubTypes": {
          "items": {
            "$ref": "#/definitions/RegistrationTypeSubTypeDto"
          },
          "xml": {
            "name": "RegistrationTypeSubTypeDto",
            "wrapped": true
          },
          "type": "array"
        },
        "SortOrder": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "RegistrationTypeDto"
      },
      "type": "object"
    },
    "ObserverCompetenceLevelDto": {
      "properties": {
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "SortOrder": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "ObserverCompetenceLevelDto"
      },
      "type": "object"
    },
    "AreasDto": {
      "properties": {
        "CountryId": {
          "type": "integer",
          "format": "int32"
        },
        "CountryName": {
          "type": "string"
        },
        "CountryDescription": {
          "type": "string"
        },
        "SortOrder": {
          "type": "integer",
          "format": "int32"
        },
        "ForecastRegions": {
          "properties": {
            "NotSpecified": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Avalanche": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "EarthFlow": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "LandSlide": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "RockFall": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "IceFall": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Flooding": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Ice": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "EventOnGlacier": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Jøkulhaup": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Drought": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            },
            "Unknown": {
              "items": {
                "$ref": "#/definitions/ForecastRegionDto"
              },
              "xml": {
                "name": "ForecastRegionDto",
                "wrapped": true
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "Counties": {
          "items": {
            "$ref": "#/definitions/CountyDto"
          },
          "xml": {
            "name": "CountyDto",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "AreasDto"
      },
      "type": "object"
    },
    "RegistrationTypeSubTypeDto": {
      "properties": {
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "Name": {
          "type": "string"
        },
        "SortOrder": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "RegistrationTypeSubTypeDto"
      },
      "type": "object"
    },
    "ForecastRegionDto": {
      "properties": {
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "Text": {
          "type": "string"
        },
        "SortOrder": {
          "type": "integer",
          "format": "int32"
        },
        "SubRegions": {
          "items": {
            "$ref": "#/definitions/ForecastRegionSubRegionDto"
          },
          "xml": {
            "name": "ForecastRegionSubRegionDto",
            "wrapped": true
          },
          "type": "array"
        },
        "IsRegionForGrouping": {
          "type": "boolean"
        }
      },
      "xml": {
        "name": "ForecastRegionDto"
      },
      "type": "object"
    },
    "CountyDto": {
      "properties": {
        "CountyNo": {
          "type": "string"
        },
        "Name": {
          "type": "string"
        }
      },
      "xml": {
        "name": "CountyDto"
      },
      "type": "object"
    },
    "ForecastRegionSubRegionDto": {
      "properties": {
        "Id": {
          "type": "integer",
          "format": "int32"
        },
        "Text": {
          "type": "string"
        },
        "RegionType": {
          "type": "string"
        },
        "SortOrder": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "ForecastRegionSubRegionDto"
      },
      "type": "object"
    },
    "AtAGlanceViewModel": {
      "properties": {
        "RegId": {
          "type": "integer",
          "format": "int32"
        },
        "GeoHazardTID": {
          "type": "integer",
          "format": "int32"
        },
        "DtObsTime": {
          "type": "string",
          "format": "date-time"
        },
        "NickName": {
          "type": "string"
        },
        "CompetenceLevelTID": {
          "type": "integer",
          "format": "int32"
        },
        "Title": {
          "type": "string"
        },
        "Latitude": {
          "type": "number",
          "format": "double"
        },
        "Longitude": {
          "type": "number",
          "format": "double"
        },
        "UtmNorth": {
          "type": "integer",
          "format": "int32"
        },
        "UtmEast": {
          "type": "integer",
          "format": "int32"
        },
        "FormNames": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "FirstAttachmentId": {
          "description": "this field is deprecated and wont be used inpcoming versions of the app",
          "type": "integer",
          "format": "int32"
        },
        "FirstAttachmentUrl": {
          "description": "Returns first attachement url from the observation or null",
          "type": "string"
        },
        "AttachmentsCount": {
          "description": "Count of all attachments",
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "AtAGlanceViewModel"
      },
      "type": "object"
    },
    "RegistrationsWithAttachments": {
      "properties": {
        "RegId": {
          "description": "Unique registration id that contains attachments",
          "type": "integer",
          "format": "int32"
        },
        "Attachments": {
          "description": "List of registration's attachments",
          "items": {
            "$ref": "#/definitions/AttachmentViewModel"
          },
          "xml": {
            "name": "AttachmentViewModel",
            "wrapped": true
          },
          "type": "array"
        }
      },
      "xml": {
        "name": "RegistrationsWithAttachments"
      },
      "type": "object"
    },
    "FinishTripDto": {
      "properties": {
        "DeviceGuid": {
          "example": "00000000-0000-0000-0000-000000000000",
          "type": "string",
          "format": "uuid"
        }
      },
      "xml": {
        "name": "FinishTripDto"
      },
      "type": "object"
    },
    "CreateTripDto": {
      "properties": {
        "Comment": {
          "type": "string",
          "maxLength": 1024
        },
        "DeviceGuid": {
          "example": "00000000-0000-0000-0000-000000000000",
          "type": "string",
          "format": "uuid"
        },
        "GeoHazardID": {
          "type": "integer",
          "format": "int32"
        },
        "Lat": {
          "type": "string",
          "maxLength": 28
        },
        "Lng": {
          "type": "string",
          "maxLength": 28
        },
        "ObservationExpectedMinutes": {
          "type": "integer",
          "format": "int32",
          "maximum": 1440,
          "minimum": 0
        },
        "TripTypeID": {
          "type": "integer",
          "format": "int32"
        }
      },
      "xml": {
        "name": "CreateTripDto"
      },
      "type": "object"
    }
  },
  "securityDefinitions": {
    "regObs_apptoken": {
      "type": "apiKey",
      "description": "API Key Authentication",
      "name": "regObs_apptoken",
      "in": "header"
    },
    "oauth2": {
      "type": "oauth2",
      "description": "Varsom User SSO Authentication",
      "flow": "implicit",
      "authorizationUrl": "https://nveb2c01prod.b2clogin.com/nveb2c01prod.onmicrosoft.com/oauth2/v2.0/authorize",
      "scopes": {
        "openid": "Permission to sign in the user and get data about the user in the form of ID tokens",
        "https://nveb2c01prod.onmicrosoft.com/nveuserapi/user.read": "Read profile data"
      }
    }
  },
  "tags": [
    {
      "name": "Account"
    },
    {
      "name": "Attachment"
    },
    {
      "name": "Helptext"
    },
    {
      "name": "KdvElements"
    },
    {
      "name": "Location"
    },
    {
      "name": "Registration"
    },
    {
      "name": "Search",
      "description": "Search for registrations.\r\nSome methods use POST although they don't change anything in Regobs. The search criteria is too complex to put in the url, so we chose POST in order to have the search criteria in the body."
    },
    {
      "name": "Trip"
    }
  ]
}