{
  "openapi": "3.0.0",
  "info": {
    "title": "Inatur API",
    "license": {
      "name": "Inatur API License",
      "url": "https://dev.inatur.no/license"
    },
    "version": "0.0.0"
  },
  "tags": [
    {
      "name": "Purchases"
    },
    {
      "name": "Activations"
    },
    {
      "name": "Orders"
    },
    {
      "name": "Sales page"
    },
    {
      "name": "SellerSales"
    },
    {
      "name": "Permits"
    },
    {
      "name": "SellerPaymentSettlementReport"
    },
    {
      "name": "SellerRevenueReport"
    },
    {
      "name": "SellerHuntingReportsReport"
    },
    {
      "name": "SellerCabinOccupationReport"
    },
    {
      "name": "SellerActivityReport"
    },
    {
      "name": "SellerManualSalesReport"
    },
    {
      "name": "SellerTaxableTenanciesReport"
    },
    {
      "name": "ScanaturaReportUrls"
    },
    {
      "name": "SellerLiveDashboard"
    },
    {
      "name": "Reports"
    },
    {
      "name": "CustomerServiceAnnouncements"
    },
    {
      "name": "Users"
    },
    {
      "name": "TrekningerResultsM2m"
    },
    {
      "name": "TrekningerResultsSeller"
    },
    {
      "name": "TrekkbarJaktApi"
    },
    {
      "name": "Postal information"
    },
    {
      "name": "SalesPageChangelog"
    },
    {
      "name": "PressureRegulation"
    },
    {
      "name": "SellersSalesPages"
    },
    {
      "name": "PriceTables"
    },
    {
      "name": "SellerUserAccess"
    },
    {
      "name": "CustomerContracts"
    },
    {
      "name": "SellersCustomers"
    },
    {
      "name": "CustomerSellerRegistration"
    },
    {
      "name": "UserAccounts"
    },
    {
      "name": "ContractTemplates"
    },
    {
      "name": "CustomerHuntingReports"
    },
    {
      "name": "CustomerFishingPermits"
    },
    {
      "name": "SellerHuntingReports"
    },
    {
      "name": "SellerContracts"
    },
    {
      "name": "SellerContractRevisions"
    },
    {
      "name": "SellerMessages"
    },
    {
      "name": "UserApplicationsPurchase"
    },
    {
      "name": "UserApplications"
    },
    {
      "name": "Giftcards"
    },
    {
      "name": "SellerApplications"
    },
    {
      "name": "PermitInspection"
    },
    {
      "name": "SellerInvitations"
    },
    {
      "name": "CustomerInvitations"
    },
    {
      "name": "SellerRetailers"
    },
    {
      "name": "RetailerAgreements"
    },
    {
      "name": "SellerSubscriptionPrices"
    },
    {
      "name": "PrivacyPolicy"
    },
    {
      "name": "SellerLegalInstruments"
    },
    {
      "name": "SellerTradingIdentity"
    },
    {
      "name": "SellerBusinessContact"
    },
    {
      "name": "SellerLegalIdentity"
    },
    {
      "name": "SellerSignatures"
    },
    {
      "name": "SellerProfile"
    },
    {
      "name": "CompanySearch"
    },
    {
      "name": "Faq"
    },
    {
      "name": "Helpdesk"
    },
    {
      "name": "Filters"
    }
  ],
  "paths": {
    "/internal/noop": {
      "get": {
        "operationId": "Internal_forceUnusedModelGeneration",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.PaginationParams"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/v1/account": {
      "get": {
        "operationId": "UserAccountsApi_getUserAccount",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Accounts.UserAccount"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "UserAccounts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/account/privacy-statement-timestamp": {
      "put": {
        "operationId": "UserAccountsApi_updateLastReadPrivacyStatementTimestamp",
        "parameters": [],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserAccounts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/activations": {
      "post": {
        "operationId": "Activations_performActivation",
        "description": "Activates the given permit.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "permitId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "subareaId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "date",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "201": {
            "description": "The request has succeeded and a new resource has been created as a result.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "activationId": {
                      "type": "string",
                      "description": "The ID of the newly created activation."
                    }
                  },
                  "required": [
                    "activationId"
                  ]
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state of the server.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "422": {
            "description": "Client error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Activations"
        ]
      },
      "get": {
        "operationId": "PermitsApi_listActivations",
        "description": "Returns a paginated list of activations performed by the user.",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Permits.Activation"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Permits"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/activations/{activationId}": {
      "patch": {
        "operationId": "Activations_replaceActivation",
        "description": "Updates the activation to apply to the new subarea.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "activationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subareaId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "403": {
            "description": "Access is forbidden."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "422": {
            "description": "Client error"
          }
        },
        "tags": [
          "Activations"
        ]
      },
      "delete": {
        "operationId": "Activations_deleteActivation",
        "description": "Deletes the given activation.",
        "parameters": [
          {
            "name": "activationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "403": {
            "description": "Access is forbidden."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Activations"
        ]
      }
    },
    "/v1/checkout": {
      "post": {
        "operationId": "CheckoutApi_createCheckout",
        "description": "Starts a new checkout process for the contents of the shopping cart.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Purchases.Checkout.CreateCheckout200Response"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state of the server.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Purchases"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Purchases.Checkout.CreateCheckoutBody"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/checkout/{checkoutId}": {
      "delete": {
        "operationId": "CheckoutApi_deleteCheckout",
        "description": "Deletes the checkout associated with the given ID.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "checkoutId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful. "
          },
          "410": {
            "description": "Client error"
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      },
      "get": {
        "operationId": "CheckoutApi_getCheckout",
        "description": "Returns the reservations in the checkout.\n\nThe items in the returned checkout represent the reserved items at the\nmoment the checkout was created, i.e. when POST /v1/checkout was requested.\nThe fees in the returned checkout represent the calculated fees at this\nmoment. A checkout is immutable after creation, i.e. changes made to the\nshopping cart or an individual reservation will not be reflected in the checkout.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "checkoutId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Purchases.Checkout.GetCheckoutResponseBody"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/checkout/{checkoutId}/consumerPreview": {
      "get": {
        "operationId": "CheckoutApi_getLoggedInConsumerPreview",
        "description": "Returns the payment consumer data for a logged in user for a given checkout,\nwith validation errors that may prevent the user from creating a payment.",
        "parameters": [
          {
            "name": "checkoutId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Purchases.Checkout.LoggedInConsumerPreviewBody"
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": [],
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/company-search/companies": {
      "get": {
        "operationId": "CompanySearchApi_findCompanyDetails",
        "parameters": [
          {
            "name": "organisationNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/CompanySearch.Company"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "500": {
            "description": "Server error"
          }
        },
        "tags": [
          "CompanySearch"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/contract-templates/{sellerId}": {
      "get": {
        "operationId": "ContractTemplatesApi_listAll",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ContractTemplates.ListItem"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "post": {
        "operationId": "ContractTemplatesApi_createContractTemplate",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/ContractTemplates.NewlyCreatedItem"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/contract-templates/{sellerId}/{contractTemplateId}": {
      "get": {
        "operationId": "ContractTemplatesApi_getContractTemplate",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/ContractTemplates.ContractTemplate"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "ContractTemplatesApi_deleteContract",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The request has been accepted for processing, but processing has not yet completed."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/contract-templates/{sellerId}/{contractTemplateId}/draft": {
      "put": {
        "operationId": "ContractTemplatesApi_updateContractTemplateDraft",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContractTemplates.ContractTemplateDraft"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "ContractTemplatesApi_deleteContractDraft",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/contract-templates/{sellerId}/{contractTemplateId}/draft/preview/html": {
      "get": {
        "operationId": "ContractTemplatesApi_previewDraftHtml",
        "description": "Get an HTML preview of the contract template draft.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/contract-templates/{sellerId}/{contractTemplateId}/draft/preview/pdf": {
      "get": {
        "operationId": "ContractTemplatesApi_previewDraftPdf",
        "description": "Get a PDF preview of the contract template draft.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/contract-templates/{sellerId}/{contractTemplateId}/preview/html": {
      "get": {
        "operationId": "ContractTemplatesApi_previewHtml",
        "description": "Get an HTML preview of the published contract template.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/contract-templates/{sellerId}/{contractTemplateId}/preview/pdf": {
      "get": {
        "operationId": "ContractTemplatesApi_previewPdf",
        "description": "Get a PDF preview of the published contract template.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/contract-templates/{sellerId}/{contractTemplateId}/publish-draft": {
      "post": {
        "operationId": "ContractTemplatesApi_publishDraft",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "ContractTemplates"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/customer/contracts/active": {
      "get": {
        "operationId": "CustomerContractApi_listActiveContracts",
        "description": "List contracts that are signed and currently active.",
        "parameters": [
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Customers.Contracts.SortFieldParam"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Customers.Contracts.ActiveContractItem"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "CustomerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/customer/contracts/expired": {
      "get": {
        "operationId": "CustomerContractApi_listExpiredContracts",
        "description": "List signed contracts where the contracted period is expired.",
        "parameters": [
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Customers.Contracts.SortFieldParam"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Customers.Contracts.ExpiredContractItem"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "CustomerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/customer/contracts/signable": {
      "get": {
        "operationId": "CustomerContractApi_listSignableContracts",
        "description": "List contract revisions that may be signed by the customer within the signing deadline.",
        "parameters": [
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Customers.Contracts.SortFieldParam"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Customers.Contracts.SignableContractItem"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "CustomerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/customer/contracts/{contractId}/pdf": {
      "get": {
        "operationId": "CustomerContractApi_streamContractPdf",
        "description": "Get the PDF of a contract or a contract revision.",
        "parameters": [
          {
            "name": "contractId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "CustomerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/customer/contracts/{contractId}/reject": {
      "post": {
        "operationId": "CustomerContractApi_rejectContract",
        "description": "Reject a contract revision issued by the seller.",
        "parameters": [
          {
            "name": "contractId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "CustomerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/customer/contracts/{contractId}/sign": {
      "post": {
        "operationId": "CustomerContractApi_signContract",
        "description": "Signed a contract revision issued by the seller, making it active from the start of the contracted period.",
        "parameters": [
          {
            "name": "contractId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "CustomerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/faq/categories": {
      "get": {
        "operationId": "FaqApi_getAllFaqCategories",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Faq.User.FaqCategoryReference"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Faq"
        ]
      }
    },
    "/v1/faq/categories/{slug}": {
      "get": {
        "operationId": "FaqApi_getFaqCategoryBySlug",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Faq.User.FaqCategory"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Faq"
        ]
      }
    },
    "/v1/faq/groups/{groupIds}": {
      "get": {
        "operationId": "FaqApi_getFaqGroupsByIds",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "groupIds",
            "in": "path",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Faq.User.FaqGroup"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Faq"
        ]
      }
    },
    "/v1/faq/index": {
      "get": {
        "operationId": "FaqApi_getFaqIndex",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Faq.User.FaqIndex"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Faq"
        ]
      }
    },
    "/v1/filters/cabin-amenities": {
      "get": {
        "operationId": "FiltersApi_listCabinAmenities",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SalesPages.Cabin.AmenityListingItem"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Filters"
        ]
      }
    },
    "/v1/filters/fylker": {
      "get": {
        "operationId": "FiltersApi_listFylker",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FylkeListingItem"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Filters"
        ]
      }
    },
    "/v1/filters/kommuner": {
      "get": {
        "operationId": "FiltersApi_listKommuner",
        "parameters": [
          {
            "name": "fylke",
            "in": "query",
            "required": false,
            "description": "The name of the fylke by which to filter the kommuner.\n\nThe fylke must be in title-case and must use æøå when applicable,\ne.g. \"Trøndelag\", \"Møre og Romsdal\".",
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/KommuneListingItem"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Filters"
        ]
      }
    },
    "/v1/filters/species": {
      "get": {
        "operationId": "FiltersApi_listSpecies",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "category",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Species.Category"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Species.Item"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Filters"
        ]
      }
    },
    "/v1/fishing-permits": {
      "get": {
        "operationId": "CustomerFishingReportsApi_listPermits",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerFishingPermitsApi.Item"
                      }
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "CustomerFishingPermits"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/giftcard": {
      "post": {
        "operationId": "GiftCardApi_reserveGiftCard",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "orderNumber": {
                      "type": "string"
                    },
                    "scriptUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "scriptKey": {
                      "type": "string"
                    },
                    "paymentId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "orderNumber",
                    "scriptUrl",
                    "scriptKey",
                    "paymentId"
                  ]
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state of the server.",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Errors.BusinessLogicError"
                    },
                    {
                      "$ref": "#/components/schemas/Errors.BusinessLogicError"
                    }
                  ]
                }
              }
            }
          },
          "422": {
            "description": "Client error",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/Errors.BusinessLogicError"
                    },
                    {
                      "$ref": "#/components/schemas/Errors.BusinessLogicError"
                    }
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.ReserveGiftCard"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/balance": {
      "post": {
        "operationId": "GiftCardApi_checkGiftCardBalance",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "balance": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "balance"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Access is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "enum": [
                            "incorrect_gift_card_pin"
                          ]
                        },
                        "attemptsRemaining": {
                          "type": "integer",
                          "description": "The number of incorrect PIN attempts remaining before the gift card is closed."
                        },
                        "message": {
                          "type": "string",
                          "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                        }
                      },
                      "required": [
                        "error",
                        "attemptsRemaining",
                        "message"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "enum": [
                            "gift_card_closed"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                        }
                      },
                      "required": [
                        "error",
                        "message"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "not_found"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.CheckGiftCardBalance"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/download": {
      "post": {
        "operationId": "GiftCardApi_downloadGiftCardPdf",
        "parameters": [
          {
            "name": "X-GiftCard-ReceiptToken",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "not_found"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          },
          "412": {
            "description": "Precondition failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "purchase_not_confirmed"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.DownloadGiftCardPdf"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/payment/details": {
      "post": {
        "operationId": "GiftCardApi_getPaymentProcessDetails",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "scriptUrl": {
                      "type": "string"
                    },
                    "scriptKey": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "scriptUrl",
                    "scriptKey"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.GetPaymentProcessDetailsRequest"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/payment/process": {
      "post": {
        "operationId": "GiftCardApi_processPayment",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item",
                    "links"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/GiftCard.ProcessPaymentResponse"
                    },
                    "links": {
                      "$ref": "#/components/schemas/GiftCard.ProcessPaymentLinks"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicError"
                }
              }
            }
          },
          "410": {
            "description": "Client error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicError"
                }
              }
            }
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.ProcessGiftCardPaymentRequest"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/payment/receipt": {
      "post": {
        "operationId": "GiftCardApi_getReceipt",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GiftCard.GetReceiptResponse"
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "not_found"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          },
          "412": {
            "description": "Precondition failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "purchase_not_confirmed"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.GetReceiptRequest"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/redemption/check": {
      "post": {
        "operationId": "GiftCardApi_checkRedemptionReservationAmount",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GiftCard.CheckRedemptionReservationAmountResponse"
                }
              }
            }
          },
          "403": {
            "description": "Access is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "enum": [
                            "incorrect_gift_card_pin"
                          ]
                        },
                        "attemptsRemaining": {
                          "type": "integer",
                          "description": "The number of incorrect PIN attempts remaining before the gift card is closed."
                        },
                        "message": {
                          "type": "string",
                          "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                        }
                      },
                      "required": [
                        "error",
                        "attemptsRemaining",
                        "message"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "enum": [
                            "gift_card_closed"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                        }
                      },
                      "required": [
                        "error",
                        "message"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "not_found"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          },
          "410": {
            "description": "Client error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "gift_card_expired"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.CheckRedemptionReservationAmount"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/redemption/reservations/delete": {
      "post": {
        "operationId": "GiftCardApi_deleteGiftCardRedemptionReservation",
        "parameters": [
          {
            "name": "handlekurvId",
            "in": "cookie",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.DeleteRedemptionReservationRequest"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/redemption/reserve": {
      "post": {
        "operationId": "GiftCardApi_reserveGiftCardRedemption",
        "parameters": [
          {
            "name": "handlekurvId",
            "in": "cookie",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GiftCard.ReserverGiftCardRedemptionOkResponse"
                }
              }
            }
          },
          "403": {
            "description": "Access is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "enum": [
                            "incorrect_gift_card_pin"
                          ]
                        },
                        "attemptsRemaining": {
                          "type": "integer",
                          "description": "The number of incorrect PIN attempts remaining before the gift card is closed."
                        },
                        "message": {
                          "type": "string",
                          "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                        }
                      },
                      "required": [
                        "error",
                        "attemptsRemaining",
                        "message"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "enum": [
                            "gift_card_closed"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                        }
                      },
                      "required": [
                        "error",
                        "message"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "not_found"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state of the server.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "already_reserved"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          },
          "410": {
            "description": "Client error",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "enum": [
                            "gift_card_expired"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                        }
                      },
                      "required": [
                        "error",
                        "message"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "enum": [
                            "gift_card_depleted"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                        }
                      },
                      "required": [
                        "error",
                        "message"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "412": {
            "description": "Precondition failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "purchase_not_confirmed"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          },
          "422": {
            "description": "Client error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "insufficient_balance"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.ReserveRedemptionRequest"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/reservations/delete": {
      "post": {
        "operationId": "GiftCardApi_deleteGiftCardReservation",
        "parameters": [],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "404": {
            "description": "The server cannot find the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "not_found"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
                    }
                  },
                  "required": [
                    "error",
                    "message"
                  ]
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "Giftcards"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCard.DeleteGiftCardReservationRequest"
              }
            }
          }
        }
      }
    },
    "/v1/giftcard/terms": {
      "get": {
        "operationId": "GiftCardApi_getTerms",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "text"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Giftcards"
        ]
      }
    },
    "/v1/helpdesk/tickets": {
      "post": {
        "operationId": "HelpdeskApi_createSupportTicket",
        "parameters": [],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "Helpdesk"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Helpdesk.CreateSupportTicketBody"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/hunting-reports/historic": {
      "get": {
        "operationId": "CustomerHuntingReportsApi_listHistoric",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "searchText",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerHuntingReports.HistoricHuntListItem"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "CustomerHuntingReports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/hunting-reports/historic/count": {
      "get": {
        "operationId": "CustomerHuntingReportsApi_getTotalHistoricReports",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/CustomerHuntingReports.GetTotalHistoricReportsResponseBody"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "CustomerHuntingReports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/hunting-reports/unreported": {
      "get": {
        "operationId": "CustomerHuntingReportsApi_listUnreported",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerHuntingReports.UnreportedHuntListItem"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "CustomerHuntingReports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/hunting-reports/unreported/count": {
      "get": {
        "operationId": "CustomerHuntingReportsApi_getTotalUnreportedReports",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/CustomerHuntingReports.GetTotalUnreportedReportsResponseBody"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "CustomerHuntingReports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/invitations": {
      "get": {
        "operationId": "CustomerInvitationsApi_listWaitingInvitations",
        "description": "Lists all the invitations that have been sent to the current user.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Invitations.Customer.WaitingInvitation"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "CustomerInvitations"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/invitations/{invitationId}/status": {
      "patch": {
        "operationId": "CustomerInvitationsApi_updateInvitationDecision",
        "description": "Accepts or declines the invitation.",
        "parameters": [
          {
            "name": "invitationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "CustomerInvitations"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Invitations.Customer.UpdateInvitationDecisionBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/m2m/trekningslister": {
      "get": {
        "operationId": "TrekningerResultsM2mApi_list",
        "parameters": [
          {
            "$ref": "#/components/parameters/Trekninger.Results.M2m.TilbyderIdQueryParam"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "$ref": "#/components/parameters/Trekninger.Results.Shared.AssingedTrekningCommonParams.searchQuery"
          },
          {
            "$ref": "#/components/parameters/Trekninger.Results.Shared.AssingedTrekningCommonParams.fromDate"
          },
          {
            "$ref": "#/components/parameters/Trekninger.Results.Shared.AssingedTrekningCommonParams.toDate"
          },
          {
            "$ref": "#/components/parameters/Trekninger.Results.Shared.AssingedTrekningCommonParams.type"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Trekninger.Results.M2m.ListResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "TrekningerResultsM2m"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/m2m/trekningslister/{trekningId}/assigned": {
      "get": {
        "operationId": "TrekningerResultsM2mApi_getAssigned",
        "parameters": [
          {
            "$ref": "#/components/parameters/Trekninger.Results.M2m.TilbyderIdQueryParam"
          },
          {
            "name": "trekningId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Trekninger.Results.M2m.AssignedResponse"
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "TrekningerResultsM2m"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/m2m/trekningslister/{trekningId}/waiting": {
      "get": {
        "operationId": "TrekningerResultsM2mApi_getWaiting",
        "parameters": [
          {
            "$ref": "#/components/parameters/Trekninger.Results.M2m.TilbyderIdQueryParam"
          },
          {
            "name": "trekningId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Trekninger.Results.M2m.WaitingResponse"
                }
              }
            }
          }
        },
        "tags": [
          "TrekningerResultsM2m"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/orders": {
      "get": {
        "operationId": "OrdersApi_listOrders",
        "description": "Returns a paginated list of orders belonging to the user.",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "purchaseTime",
                "price",
                "product"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "name": "salesPageType",
            "in": "query",
            "required": false,
            "description": "Filter to a specific sales page category/product type",
            "schema": {
              "$ref": "#/components/schemas/SalesPages.Shared.Type"
            },
            "explode": false
          },
          {
            "name": "orderNumber",
            "in": "query",
            "required": false,
            "description": "Filters all orders returned to be from the specified orderNumber",
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "item",
                          "links"
                        ],
                        "properties": {
                          "item": {
                            "$ref": "#/components/schemas/Orders.OrderListingItemDetails"
                          },
                          "links": {
                            "$ref": "#/components/schemas/Orders.OrderListingItemLinks"
                          }
                        }
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Orders"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/orders/{orderId}": {
      "get": {
        "operationId": "OrdersApi_getOrder",
        "description": "Returns details about a specific order",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "description": "The order to retrieve.\n\n**NOTE:** To retrieve all order lines for a given order number,\nuse `GET /v1/orders` with the `orderNumber` parameter.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item",
                    "links"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Orders.OrderDetails"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Orders.OrderLinks"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Orders"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/payment": {
      "post": {
        "operationId": "PaymentApi_createPayment",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Purchases.Payment.CreatePayment200Response"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Purchases"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Purchases.Payment.CreatePaymentBody"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "ApiKeyAuth": [],
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/payment/{paymentId}/process": {
      "post": {
        "operationId": "PaymentApi_processPaymentCompleted",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "paymentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/payment/{paymentId}/receipt": {
      "get": {
        "operationId": "PaymentApi_getReceipt",
        "description": "Returns information about the order that represents a receipt.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "paymentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Purchases.Payment.Receipt"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "ApiKeyAuth": [],
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/permitinspection": {
      "get": {
        "operationId": "PermitInspectionApi_listPermits",
        "parameters": [
          {
            "name": "searchText",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "from",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PermitInspection.InspectedPermit"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "403": {
            "description": "Access is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "PermitInspection"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/permitinspection/sellers": {
      "get": {
        "operationId": "PermitInspectionApi_listSellers",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PermitInspection.Seller"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "PermitInspection"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/permitinspection/sellers/{sellerId}/activity-report": {
      "post": {
        "operationId": "PermitInspectionApi_generateSellerActivityReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermitInspection.GenerateActivityReportResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "PermitInspection"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/permits": {
      "get": {
        "operationId": "PermitsApi_listPermits",
        "description": "Returns a paginated list of permits purchased by the user.",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Permits.UnactivatedPermit"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "type": "object",
                      "required": [
                        "pagination",
                        "salesPages"
                      ],
                      "properties": {
                        "pagination": {
                          "$ref": "#/components/schemas/Common.PaginationLinks"
                        },
                        "salesPages": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "string",
                            "format": "uri"
                          },
                          "description": "A mapping between permit ID and the sales page URL."
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Permits"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/postal-information": {
      "get": {
        "operationId": "PostalInformationApi_getPostalInformation",
        "parameters": [
          {
            "name": "postcode",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostalInformation.GetPostalInformationResponse"
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Postal information"
        ]
      }
    },
    "/v1/privacy-policy": {
      "get": {
        "operationId": "PrivacyPolicyApi_getPrivacyPolicy",
        "description": "Returns the privacy policy for Inatur.\n\nThe content is returned in the format specified by the `Accept` header,\neither as HTML or Markdown. The language is determined by the\n`Accept-Language` header.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "accept",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "text/html",
                "text/markdown"
              ],
              "default": "text/html"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              },
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax."
          }
        },
        "tags": [
          "PrivacyPolicy"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/privacy-policy/last-updated": {
      "get": {
        "operationId": "PrivacyPolicyApi_getLastUpdated",
        "description": "Returns the date when the privacy policy was last updated.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrivacyPolicy.LastUpdatedResponse"
                }
              }
            }
          }
        },
        "tags": [
          "PrivacyPolicy"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/reports/scanatura-urls/economy": {
      "get": {
        "operationId": "ScanaturaReportUrlsApi_getEconomyReportUrl",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.Scanatura.GetEconomyReportUrlResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "ScanaturaReportUrls"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/reports/scanatura-urls/fangstrapport": {
      "get": {
        "operationId": "ScanaturaReportUrlsApi_getFangstrapportUrl",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.Scanatura.GetFangstrapportUrlResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "ScanaturaReportUrls"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/reports/{reportId}": {
      "get": {
        "operationId": "ReportsApi_streamReportContents",
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Reports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/reports/{reportId}/status": {
      "get": {
        "operationId": "ReportsApi_getReportStatus",
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Reports.ReportStatusItem"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Reports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/reservations": {
      "post": {
        "operationId": "ReservationsApi_createReservation",
        "description": "Reserves one or more instances of a given product.\n\nExactly what an \"instance\" of a product is depends on product's category:\n\nFor permits, e.g. `SalePages.BigGame.Permit` or `SalesPages.SalmonFishing.DrawBasedPermit`,\nan instance is one copy of the permit. If there is a limited quantity of the\npermit available, reserving one will remove this instance from the pool.\n\nFor cabins (`SalesPages.Cabins.Cabin`), an instance is an agreement to\nrent the cabin between the specified date range. Once the cabin is reserved,\nother users will not be able to rent it between that date range.\n\nWhen purchasing an instance of a product on Inatur, the first step is to\nreserve it. Once an instance of a product is reserved, it is no longer\navailable for purchase by other users. Reservations expire after fifteen\nminutes, at which point the instance is made available again.\n\nSince Inatur allows purchases to be made without a user being logged in,\nreservations exist in the context of a \"shopping cart\". A shopping cart\ncan be thought of as a unique session for each user, whether or not they\nare logged in.\n\nMany products, such as fishing permits, support bulk purchases where multiple\ninstances can be purchased at once. In such a scenario, each individual permit\nhas its own reservation.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item",
                    "links"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Purchases.Reservations.CreateReservation200ResponseBody"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Purchases.Reservations.CreateReservation200ResponseLinks"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Purchases"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Purchases.Reservations.CreateReservationBody"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/reservations/{shoppingCartId}": {
      "get": {
        "operationId": "ReservationsApi_getReservations",
        "description": "Lists the reservations stored in the given shopping cart.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "shoppingCartId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Purchases.Reservations.GetReservationsResponseBody"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "ReservationsApi_deleteAllReservations",
        "description": "Deletes all reservations from the shopping cart.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "shoppingCartId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful. "
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/reservations/{shoppingCartId}/extend": {
      "post": {
        "operationId": "ReservationsApi_extendExpirationTimestamp",
        "description": "Extends the expiration timestamp for all reservations in the shopping cart.\n\nThe expiration timestamp for the shopping cart is based on the timestamp\nat which a product was last added to it, so reserving a new product will\nautomatically extend it.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "shoppingCartId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Purchases.Reservations.ExtendExpirationResponseBody"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/reservations/{shoppingCartId}/licensees": {
      "post": {
        "operationId": "ReservationsApi_assignLicensees",
        "description": "Assigns licensees to reservations.\n\nInitially, reservations are \"unassigned\", meaning they do not have any\ninformation about the individual who will use the product associated with\nthem (the licensee). This ensures that reservations don't expire whilst the\npurchaser is in the middle of filling them out.\n\nFor the sake of expediency, this endpoint accepts a list of assignments,\nwhere each assigment contains the reservation ID and information about\nthe licensee. All reservation must belong to the same shopping cart.\n\nIt's important that a licensee be sent for each unassigned reservation in\nthe shopping cart. After this endpoint is called, all reservations in the\nshopping cart that don't have a licensee will expire. This means that this\nendpoint must be called _before_ more reservations in the same shopping\ncart are created, else it will not be possible to assign licensees to the\nreservations created from the previous call.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "shoppingCartId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Purchases"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Purchases.Reservations.AssignLicenseesBody"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/reservations/{shoppingCartId}/sms-receipt-fee": {
      "put": {
        "operationId": "ReservationsApi_addSmsReceiptFee",
        "description": "Adds the SMS receipt fee to the shopping cart. This is an idempotent operation.",
        "parameters": [
          {
            "name": "shoppingCartId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "ReservationsApi_removeSmsReceiptFee",
        "description": "Removes the SMS receipt fee from the shopping cart.",
        "parameters": [
          {
            "name": "shoppingCartId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/reservations/{shoppingCartId}/terms/{type}/{reservationId}": {
      "get": {
        "operationId": "ReservationsApi_getTerms",
        "description": "Get the rich text for a reservation.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "accept",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "text/html",
                "text/markdown",
                "text/plain"
              ],
              "default": "text/html"
            }
          },
          {
            "name": "shoppingCartId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reservationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "inatur",
                "sales-page",
                "license"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              },
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/reservations/{shoppingCartId}/{reservationId}": {
      "delete": {
        "operationId": "ReservationsApi_deleteReservation",
        "description": "Deletes a specific reservation from the shopping cart. It is a requirement\nthat the reservation have a licensee assigned for this operation to succeed.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "shoppingCartId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reservationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful. "
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Purchases"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/retailers/{retailerId}/agreements": {
      "get": {
        "operationId": "RetailerAgreementsApi_listAgreements",
        "description": "Returns the agreements that the retailer has established with sellers.",
        "parameters": [
          {
            "name": "retailerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchTerm",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Retailers.Retailer.ListAgreementsSortField"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Retailers.Retailer.AgreementSummary"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "RetailerAgreements"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sales-pages": {
      "get": {
        "operationId": "SalesPageApi_listSalesPages",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/SalesPages.Shared.Type"
            },
            "explode": false
          },
          {
            "name": "searchTerm",
            "in": "query",
            "required": false,
            "description": "Filters for sales pages according to a given search term.\n\nThe search term is case-insensitive, and will be matched against the\n`title`, `shortDescription` and `longDescription` fields.",
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "species",
            "in": "query",
            "required": false,
            "description": "Filters for sales pages that advertise the given species.\n\nSee the `/species` endpoint for a list of species that can be associated\nwith each sales page category.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "explode": false
          },
          {
            "name": "county",
            "in": "query",
            "required": false,
            "description": "Filters for sales pages that are located in the given county.\n\nSee the `/filters/counties` endpoint for a list of valid counties.",
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "municipality",
            "in": "query",
            "required": false,
            "description": "Filters for sales pages that are located in the given municipality.\n\nSee the `/filters/municipalities` endpoint for a list of valid municipalities.",
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": false,
            "description": "Filters for sales pages where a product is available to purchase from the given date.",
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": false,
            "description": "Filters for sales pages where a product is available to purchase up to the given date.",
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "totalBeds",
            "in": "query",
            "required": false,
            "description": "Filters for cabins that have at least the specified number of beds.",
            "schema": {
              "$ref": "#/components/schemas/Common.positiveInteger"
            },
            "explode": false
          },
          {
            "name": "maxKmFromRoadSummer",
            "in": "query",
            "required": false,
            "description": "Filters for cabins that lie a maximum of the specified number of kilometres from the road in summer.\n\nThis will also include cabins that don't specify any distance from the road.",
            "schema": {
              "$ref": "#/components/schemas/Common.positiveInteger"
            },
            "explode": false
          },
          {
            "name": "maxKmFromRoadWinter",
            "in": "query",
            "required": false,
            "description": "Filters for cabins that lie a maximum of the specified number of kilometres from the road in winter.\n\nThis will also include cabins that don't specify any distance from the road.",
            "schema": {
              "$ref": "#/components/schemas/Common.positiveInteger"
            },
            "explode": false
          },
          {
            "name": "cabinAmenities",
            "in": "query",
            "required": false,
            "description": "Filters for cabins that provide the given amenities.\n\nSee the `/filters/cabin-amenities` endpoint for a list of possible amenities.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "explode": false
          },
          {
            "name": "minPrice",
            "in": "query",
            "required": false,
            "description": "Filters for sales pages whose lowest price is at least the given amount in NOK.",
            "schema": {
              "type": "integer",
              "minimum": 0
            },
            "explode": false
          },
          {
            "name": "maxPrice",
            "in": "query",
            "required": false,
            "description": "Filters for sales pages whose lowest price is at most the given amount in NOK.",
            "schema": {
              "type": "integer",
              "minimum": 0
            },
            "explode": false
          },
          {
            "name": "sellerId",
            "in": "query",
            "required": false,
            "description": "If a seller ID is given, the `county`, `municipality` and `species`\nfilters will be ignored.",
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "includeExpiredOffers",
            "in": "query",
            "required": false,
            "description": "Include sales pages that are out of season.",
            "schema": {
              "type": "boolean",
              "default": true
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SalesPages.SalesPagePreview"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    },
                    "totalCount": {
                      "type": "integer",
                      "deprecated": true
                    }
                  },
                  "required": [
                    "items",
                    "pagination",
                    "links",
                    "totalCount"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Sales page"
        ]
      }
    },
    "/v1/sales-pages/map-previews": {
      "get": {
        "operationId": "SalesPageApi_listMapPreviews",
        "parameters": [
          {
            "name": "salesPageIds",
            "in": "query",
            "required": true,
            "description": "The IDs of the sales pages to include in the response.\n\nAny ID that doesn't correspond to a sales page will be not be included\nin the response.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/SalesPages.MapPreview"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Sales page"
        ]
      }
    },
    "/v1/sales-pages/{cabinSalesPageId}/availability/ical": {
      "get": {
        "operationId": "SalesPageApi_exportCabinIcal",
        "description": "Exports the availability of a cabin in iCal format. This file will contain\nall dates where the cabin is sold out starting from the current date and including\nthe coming two years.",
        "parameters": [
          {
            "name": "cabinSalesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "text/calendar": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Sales page"
        ]
      }
    },
    "/v1/sales-pages/{id}": {
      "get": {
        "operationId": "SalesPageApi_get",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item",
                    "links"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/SalesPages.SalesPage"
                    },
                    "links": {
                      "$ref": "#/components/schemas/SalesPages.Links"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Sales page"
        ]
      }
    },
    "/v1/sales-pages/{salesPageId}/activations": {
      "get": {
        "operationId": "Activations_listActivations",
        "description": "Returns a record keyed by subarea ID, where each value is an array\ncontaining the activation status for each date in the given range.",
        "parameters": [
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subareaIds",
            "in": "query",
            "required": false,
            "description": "A list of subarea IDs by which to filter the returned activations.\n\nIf no IDs are given, all subareas will be included.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "explode": false
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "description": "The first date to show activations from.",
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "description": "The last date up to which activations should be shown (inclusive).\n\nIf this value is more than 30 days after `fromDate`, it will be\ntruncated down to 30 days.",
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "array",
                        "items": {
                          "$ref": "#/components/schemas/Activations.ActivationStatus"
                        }
                      }
                    }
                  },
                  "required": [
                    "items"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Activations"
        ]
      }
    },
    "/v1/sales-pages/{salesPageId}/activations/municipalities": {
      "get": {
        "operationId": "Activations_listMunicipalities",
        "description": "Returns a list of all the municipalities available for the given sales page.",
        "parameters": [
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Activations.Municipality"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Activations"
        ]
      }
    },
    "/v1/sales-pages/{salesPageId}/activations/subareas": {
      "get": {
        "operationId": "Activations_listSubareas",
        "description": "Returns a record keyed by municipality ID, where each key is an array of\nsubareas inside the municipality.",
        "parameters": [
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "municipalityIds",
            "in": "query",
            "required": false,
            "description": "A list of municipality IDs by which to filter the returned subareas.\n\nIf no IDs are given, all subareas will be returned.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "array",
                        "items": {
                          "$ref": "#/components/schemas/Activations.Subarea"
                        }
                      }
                    }
                  },
                  "required": [
                    "items"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Activations"
        ]
      }
    },
    "/v1/sales-pages/{salesPageId}/availability": {
      "get": {
        "operationId": "SalesPageApi_findSalesPageAvailability",
        "parameters": [
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesPages.SalesPageAvailability"
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Sales page"
        ]
      }
    },
    "/v1/sales-pages/{salesPageId}/products/{productId}/availability": {
      "get": {
        "operationId": "SalesPageApi_findProductAvailabilityForPeriod",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": true,
            "description": "Start time for search",
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "description": "End time for search. Maximum period for search is 40 days.",
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesPages.ProductAvailability"
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Sales page"
        ]
      }
    },
    "/v1/sales-pages/{salesPageId}/products/{productId}/availability/ical": {
      "get": {
        "operationId": "SalesPageApi_exportIcal",
        "description": "Exports the availability of a cabin in iCal format. This file will contain\nall dates where the product is sold out starting from the current date and including\nthe coming two years.",
        "parameters": [
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "text/calendar": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "Sales page"
        ],
        "deprecated": true
      }
    },
    "/v1/seller-accounts": {
      "post": {
        "operationId": "CustomerSellerRegistrationApi_createSellerAccount",
        "description": "Creates a seller owned by the calling user. The user accepts the seller terms of\nservice and is granted administrator access to the new seller. A natural-person\nseller requires the user to have an established identity, which they become the\nlegal owner of. A company seller must use an organisation number that no other\nseller holds; only Inatur staff can register sellers with a shared number.",
        "parameters": [],
        "responses": {
          "201": {
            "description": "The request has succeeded and a new resource has been created as a result.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Accounts.CreateSellerAccountResponseBody"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "409": {
            "description": "The request conflicts with the current state of the server.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "errorCode"
                  ],
                  "properties": {
                    "errorCode": {
                      "$ref": "#/components/schemas/Accounts.CreateSellerAccountConflictErrorCode"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "CustomerSellerRegistration"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Accounts.CreateSellerAccountBody"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/seller/legal-instruments/seller-agreement": {
      "get": {
        "operationId": "SellerAgreementApi_getSellerAgreement",
        "description": "Returns the text of the seller agreement, which lays out the terms of the\nsubscription that allows sellers to use Inatur.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "accept",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "text/html",
                "text/markdown"
              ],
              "default": "text/html"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              },
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "SellerLegalInstruments"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/seller/legal-instruments/terms-and-conditions": {
      "get": {
        "operationId": "SellerAgreementApi_getTermsAndConditions",
        "description": "Returns the text of the seller terms and conditions, which must be accepted\nbefore sellers can use their account.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "accept",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "text/html",
                "text/markdown"
              ],
              "default": "text/html"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              },
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "SellerLegalInstruments"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/seller/{sellerId}/invitations": {
      "post": {
        "operationId": "SellerInvitationsApi_sendInvitation",
        "description": "Invites the user specified in the request body to become a member of the current\nseller account.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invitations.Seller.InviteUserOkResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invitations.Seller.InviteUserConflictResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "SellerInvitations"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Invitations.Seller.InviteUserBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "get": {
        "operationId": "SellerInvitationsApi_listInvitations",
        "description": "Returns a paginated list of previously sent invitations.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Invitations.Seller.ListInvitationsResponseBodyItem"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerInvitations"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/seller/{sellerId}/invitations/{invitationId}": {
      "delete": {
        "operationId": "SellerInvitationsApi_rescindInvitation",
        "description": "Rescinds a previously sent invitation.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "invitationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerInvitations"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/seller/{sellerId}/subscription-prices": {
      "get": {
        "operationId": "SellerSubscriptionPricesApi_getSubscriptionPrices",
        "description": "Get the prices for services and subscriptions between the seller and Inatur",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/SubscriptionPrices.SubscriptionPrices"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerSubscriptionPrices"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/applications/active": {
      "get": {
        "operationId": "SellerApplicationsApi_listActiveApplications",
        "description": "Returns all active applications, that will say those where the application deadline has not passed.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchTerm",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "from",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "typeFilter",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Trekninger.Shared.Trekningstype"
            },
            "explode": false
          },
          {
            "name": "processedStatusFilter",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/SellerApplications.ProcessedStatus"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "applicationDeadline"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SellerApplications.ActiveApplication"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/applications/{applicationId}/status": {
      "put": {
        "operationId": "SellerApplicationsApi_updateStatus",
        "description": "Updates the status for a given application.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SellerApplications.ProcessedStatus"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/business-contact/bank-account-number": {
      "patch": {
        "operationId": "SellerBusinessContactApi_patchBankAccountNumber",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerBusinessContact"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SellerBusinessContact.PatchBankAccountNumberBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/business-contact/contact-email": {
      "patch": {
        "operationId": "SellerBusinessContactApi_patchContactEmail",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerBusinessContact"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SellerBusinessContact.PatchContactEmailBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/business-contact/contact-phone": {
      "patch": {
        "operationId": "SellerBusinessContactApi_patchContactPhone",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerBusinessContact"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SellerBusinessContact.PatchContactPhoneBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/business-contact/invoice-email": {
      "patch": {
        "operationId": "SellerBusinessContactApi_patchInvoiceEmail",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerBusinessContact"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SellerBusinessContact.PatchInvoiceEmailBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/for-application": {
      "post": {
        "operationId": "SellerContractRevisionApi_createContractRevisionForApplication",
        "description": "The application must have been assigned a permit in a draw, and must not\nalready have a contract or a revision.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trekningId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "applicationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sellers.ContractRevisions.NewRevision"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/for-contract": {
      "post": {
        "operationId": "SellerContractRevisionApi_createContractRevisionForContract",
        "description": "The revision starts as a copy of the contract, and replaces it once the\ncustomer has signed it. A contract that already has an open revision resolves\nto that revision, so repeating the call is safe.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sellers.ContractRevisions.NewRevision"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/preview/pdf": {
      "get": {
        "operationId": "SellerContractRevisionApi_streamApplicationContractPreviewPdf",
        "description": "The contract that would be created for the application, watermarked as a\npreview.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trekningId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "applicationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}": {
      "get": {
        "operationId": "SellerContractRevisionApi_getContractRevision",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sellers.ContractRevisions.ContractRevisionDetails"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/detection-equipages": {
      "put": {
        "operationId": "SellerContractRevisionApi_updateDetectionEquipages",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ValidationErrorsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sellers.ContractRevisions.UpdateDetectionEquipagesRequest"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/hunting-period": {
      "put": {
        "operationId": "SellerContractRevisionApi_updateHuntingPeriod",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ValidationErrorsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sellers.ContractRevisions.UpdateHuntingPeriodRequest"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/hunting-team": {
      "post": {
        "operationId": "SellerContractRevisionApi_addTeamMember",
        "description": "The team leader is a party to the contract rather than an editable field, and\nis neither listed nor replaced here.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ValidationErrorsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sellers.ContractRevisions.Hunter"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/hunting-team/{memberIndex}": {
      "put": {
        "operationId": "SellerContractRevisionApi_updateTeamMember",
        "description": "A field left as it is stored is accepted even where it breaks the rules, so a\nmember written before them can be corrected a field at a time rather than all\nat once.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "memberIndex",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ValidationErrorsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sellers.ContractRevisions.Hunter"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "SellerContractRevisionApi_removeTeamMember",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "memberIndex",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/issue-for-signing": {
      "post": {
        "operationId": "SellerContractRevisionApi_issueContractRevisionForSigning",
        "description": "Notifies the customer, and is where completeness is validated, since the\nupdate operations accept incomplete drafts.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "signingDeadlineDays",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 1
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/preview/pdf": {
      "get": {
        "operationId": "SellerContractRevisionApi_streamContractRevisionPreviewPdf",
        "description": "Watermarked as a preview.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/price-table": {
      "put": {
        "operationId": "SellerContractRevisionApi_updatePriceTable",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ValidationErrorsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sellers.ContractRevisions.UpdatePriceTableRequest"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/product": {
      "put": {
        "operationId": "SellerContractRevisionApi_updateProduct",
        "description": "Points the contract at another product, in the same or another sales page of the\nsame category. Only the product's own details follow it over; quotas, prices, the\ncontract period and the template the contract is rendered from are left as they are.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sellers.ContractRevisions.UpdateProductRequest"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/product-options": {
      "get": {
        "operationId": "SellerContractRevisionApi_listProductOptions",
        "description": "The products of one of the sales pages the contract may be moved to, by default the\none it is on.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Sellers.ContractRevisions.ProductOption"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/quotas": {
      "put": {
        "operationId": "SellerContractRevisionApi_updateQuotas",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ValidationErrorsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sellers.ContractRevisions.UpdateQuotasRequest"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contract-revisions/{revisionId}/sales-page-options": {
      "get": {
        "operationId": "SellerContractRevisionApi_listSalesPageOptions",
        "description": "The seller's published and deactivated sales pages in the same category as the one\nthe contract was made from, which are the ones it may be moved to. The contract's own\nsales page is always among them, whatever became of it.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Sellers.ContractRevisions.SalesPageOption"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContractRevisions"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contracts/active": {
      "get": {
        "operationId": "SellerContractApi_listActiveContracts",
        "description": "List contracts that are signed and currently active.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Sellers.Contracts.SortFieldParam"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sellers.Contracts.ActiveContractPage"
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contracts/expired": {
      "get": {
        "operationId": "SellerContractApi_listExpiredContracts",
        "description": "List signed contracts where the contracted period is expired.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Sellers.Contracts.SortFieldParam"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sellers.Contracts.ExpiredContractPage"
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contracts/rejected": {
      "get": {
        "operationId": "SellerContractApi_listRejectedContracts",
        "description": "List contract revisions that have been issued by the seller and rejected by the customer.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Sellers.Contracts.SortFieldParam"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sellers.Contracts.RejectedContractPage"
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contracts/signable": {
      "get": {
        "operationId": "SellerContractApi_listSignableContracts",
        "description": "List contract revisions that have been issued by the seller for the customer to sign.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Sellers.Contracts.SortFieldParam"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sellers.Contracts.SignableContractPage"
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contracts/unsigned": {
      "get": {
        "operationId": "SellerContractApi_listUnsignedContracts",
        "description": "List issued contract revisions where the deadline for the customer to sign has passed.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Sellers.Contracts.SortFieldParam"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sellers.Contracts.UnsignedContractPage"
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contracts/{contractId}/pdf": {
      "get": {
        "operationId": "SellerContractApi_streamContractPdf",
        "description": "Get the PDF of a contract or a contract revision.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contracts/{contractId}/revisions": {
      "get": {
        "operationId": "SellerContractApi_getContractRevisionArchive",
        "description": "Get the revision archive for a single contract.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sellers.Contracts.ContractRevisionArchive"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/contracts/{contractId}/terminate": {
      "post": {
        "operationId": "SellerContractApi_terminateContract",
        "description": "Terminate an active contract.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerContracts"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/customers": {
      "get": {
        "operationId": "SellersCustomersApi_listCustomers",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchQuery",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Customers.ListItem"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "SellersCustomers"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/customers/{customerId}": {
      "get": {
        "operationId": "SellersCustomersApi_getCustomerDetails",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Customers.Details"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "SellersCustomers"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/hunting-reports": {
      "get": {
        "operationId": "SellerHuntingReports_listUnreported",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.pressureRegulated"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.searchQuery"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.year"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.month"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportSearchFilters.salesPageId"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportSearchFilters.productId"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Sellers.HuntingReports.ListItem"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerHuntingReports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/hunting-reports/filters/sales-pages": {
      "get": {
        "operationId": "SellerHuntingReports_getSalesPageFilterItems",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.pressureRegulated"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.searchQuery"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.year"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.month"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Sellers.HuntingReports.SalesPage"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerHuntingReports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/hunting-reports/reminders": {
      "post": {
        "operationId": "SellerHuntingReports_sendPermitReminders",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "SellerHuntingReports"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sellers.HuntingReports.SendPermitRemindersBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/hunting-reports/reminders/search": {
      "post": {
        "operationId": "SellerHuntingReports_sendSearchReminders",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.pressureRegulated"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.searchQuery"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.year"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportRequirementFilters.month"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportSearchFilters.salesPageId"
          },
          {
            "$ref": "#/components/parameters/Sellers.HuntingReports.HuntingReportSearchFilters.productId"
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "SellerHuntingReports"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sellers.HuntingReports.SendSearchRemindersBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/hunting-reports/sanctions": {
      "put": {
        "operationId": "SellerHuntingReports_enableSanctions",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "SellerHuntingReports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "SellerHuntingReports_disableSanctions",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "SellerHuntingReports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/hunting-reports/settings": {
      "get": {
        "operationId": "SellerHuntingReports_getSettings",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Sellers.HuntingReports.Settings"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "SellerHuntingReports"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/hunts/{huntId}/applications": {
      "get": {
        "operationId": "SellerApplicationsApi_listHuntApplications",
        "description": "Returns all the applications that have with the hunt to do.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "huntId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "leaderName",
                "municipality"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "name": "processedStatusFilter",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/SellerApplications.ProcessedStatus"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "item",
                          "links"
                        ],
                        "properties": {
                          "item": {
                            "$ref": "#/components/schemas/SellerApplications.HuntApplication"
                          },
                          "links": {
                            "$ref": "#/components/schemas/SellerApplications.HuntApplicationLinks"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/hunts/{huntId}/applications/status": {
      "put": {
        "operationId": "SellerApplicationsApi_updateHuntApplicationsStatus",
        "description": "Updates the status of all the applications that belong to the given hunt with\nthe new status.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "huntId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SellerApplications.ProcessedStatus"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/legal-identity/company-syncs": {
      "post": {
        "operationId": "SellerLegalIdentityApi_syncCompany",
        "description": "Reconciles the seller's legal identity against Enhetsregisteret, the national\ndatabase of organisations provided by Brønnøysundsregistrene. The organisation\nnumber included in the request body is looked up in the register and, on a\nsuccessful match, saved as the seller's organisation number.\n\nAn organisation number is locked once the register has confirmed it. If the seller\nalready has a confirmed number, the number in the request body must match it.\nRe-syncing the same number refreshes the company details, but a different number\nwill be rejected. A number that has not been confirmed yet is self-asserted, so it\nis replaced by the number in the request body on a successful lookup.\n\nA seller cannot take an organisation number that another seller already holds.\nRe-syncing the seller's own stored number is not affected by this, so sellers that\nInatur staff have deliberately registered with a shared number can still refresh\ntheir company details.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "The request has succeeded and a new resource has been created as a result."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "errorCode"
                  ],
                  "properties": {
                    "errorCode": {
                      "$ref": "#/components/schemas/SellerLegalIdentity.SyncCompanyConflictErrorCode"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "SellerLegalIdentity"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SellerLegalIdentity.SyncCompanyRequestBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/legal-identity/legal-ownership": {
      "post": {
        "operationId": "SellerLegalIdentityApi_claimLegalOwnership",
        "description": "Marks the user making the request as the legal owner of the seller, meaning that\ntheir user account will be used for tax reporting purposes. The user's identity\nhave been confirmed, and the seller must be a \"natural person\" type.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "SellerLegalIdentity"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "get": {
        "operationId": "SellerLegalIdentityApi_getLegalOwnershipStatus",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/SellerLegalIdentity.LegalOwnershipStatus"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerLegalIdentity"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/legal-identity/organisation-number": {
      "get": {
        "operationId": "SellerLegalIdentityApi_getOrganisationNumber",
        "description": "Returns the organisation number associated with the seller.\n\nA 200 response is guaranteed if the seller exists, but the organisation\nnumber itself may be null. See the response body for more information.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SellerLegalIdentity.GetOrganisationNumberResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerLegalIdentity"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/messages": {
      "get": {
        "operationId": "SellerMessagesApi_listMessages",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "type",
                "sentDate"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Messages.SentMessage"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerMessages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/price-tables": {
      "get": {
        "operationId": "PriceTableApi_listPriceTables",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Seller.PriceTable.PriceTableListItem"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "PriceTables"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "post": {
        "operationId": "PriceTableApi_createPriceTable",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Seller.PriceTable.NewlyCreatedItem"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "PriceTables"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/price-tables/{priceTableId}": {
      "get": {
        "operationId": "PriceTableApi_getPriceTable",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "priceTableId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.PriceTable.PriceTable"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "PriceTables"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "put": {
        "operationId": "PriceTableApi_updatePriceTable",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "priceTableId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "PriceTables"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Seller.PriceTable.UpdatePriceTableRequest"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "PriceTableApi_deletePriceTable",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "priceTableId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "errorCode"
                  ],
                  "properties": {
                    "errorCode": {
                      "$ref": "#/components/schemas/Seller.PriceTable.DeletePriceTableConflictResponseErrorCode"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "PriceTables"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/price-tables/{priceTableId}/title": {
      "put": {
        "operationId": "PriceTableApi_updatePriceTableTitle",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "priceTableId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "PriceTables"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Seller.PriceTable.UpdatePriceTableTitleRequest"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/profile": {
      "get": {
        "operationId": "SellerProfileApi_getSellerProfile",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/SellerProfile"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerProfile"
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/activity/cabin": {
      "post": {
        "operationId": "SellerActivityReportApi_generateCabinReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.Seller.Activity.GenerateCabinReportResponse"
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerActivityReport"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/activity/other": {
      "post": {
        "operationId": "SellerActivityReportApi_generateOtherProductsReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.Seller.Activity.GenerateOtherProductsReportResponse"
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerActivityReport"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/cabin-occupation": {
      "get": {
        "operationId": "SellerCabinOccupationReportApi_getReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerCabinOccupationReport"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/hunting-reports/activated": {
      "post": {
        "operationId": "SellerHuntingReportsReportApi_generateActivationReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.Seller.HuntingReports.GenerateActivationReportResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerHuntingReportsReport"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/hunting-reports/small-game": {
      "post": {
        "operationId": "SellerHuntingReportsReportApi_generateSmallGameReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.Seller.HuntingReports.GenerateSmallGameReportResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerHuntingReportsReport"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/live-dashboard": {
      "get": {
        "operationId": "SellerLiveDashboardApi_getLiveDashboard",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.LiveDashboard.Data"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerLiveDashboard"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/manual-sales": {
      "get": {
        "operationId": "SellerManualSalesReportApi_getReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerManualSalesReport"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/payment-settlement": {
      "get": {
        "operationId": "SellerPaymentSettlementReportApi_getReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "month",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Utilities.MonthParam"
            },
            "explode": false
          },
          {
            "name": "year",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Utilities.Year"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerPaymentSettlementReport"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/revenue/detailed": {
      "post": {
        "operationId": "SellerRevenueReportApi_generateDetailedReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.Seller.Revenue.GeneratDetailedReportResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerRevenueReport"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/revenue/simple": {
      "post": {
        "operationId": "SellerRevenueReportApi_generateSimpleReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.Seller.Revenue.GenerateSimpleReportResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerRevenueReport"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/taxable-tenancies/annual-settlement/{year}": {
      "get": {
        "operationId": "SellerTaxableTenanciesReportApi_getAnnualSettlement",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Utilities.Year"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerTaxableTenanciesReport"
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/taxable-tenancies/available-years": {
      "get": {
        "operationId": "SellerTaxableTenanciesReportApi_getAvailableYears",
        "description": "Returns the years for which taxable tenancy reports exist for the seller.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reports.Seller.TaxableTenancies.GetAvailableYearsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerTaxableTenanciesReport"
        ]
      }
    },
    "/v1/sellers/{sellerId}/reports/taxable-tenancies/data-basis/{year}": {
      "get": {
        "operationId": "SellerTaxableTenanciesReportApi_getDataBasis",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Utilities.Year"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerTaxableTenanciesReport"
        ]
      }
    },
    "/v1/sellers/{sellerId}/retailers": {
      "get": {
        "operationId": "SellerRetailersApi_listRetailers",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchTerm",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "$ref": "#/components/schemas/Retailers.Seller.ListRetailersSortField"
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Retailers.Seller.Retailer"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerRetailers"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/retailers/available": {
      "get": {
        "operationId": "SellerRetailersApi_listAvailableRetailers",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchQuery",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Retailers.Seller.AvailableRetailer"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerRetailers"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/retailers/{retailerId}/agreement": {
      "get": {
        "operationId": "SellerRetailersApi_getAgreement",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "retailerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Retailers.Seller.Agreement"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerRetailers"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "post": {
        "operationId": "SellerRetailersApi_establishAgreement",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "retailerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "SellerRetailers"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "put": {
        "operationId": "SellerRetailersApi_reviseAgreement",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "retailerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerRetailers"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Retailers.Seller.ReviseAgreementBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "SellerRetailersApi_cancelAgreement",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "retailerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerRetailers"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/retailers/{retailerId}/agreement/available": {
      "get": {
        "operationId": "SellerRetailersApi_getAvailableSalesPages",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "retailerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Retailers.Seller.UnassignedSalesPageData"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerRetailers"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/retailers/{retailerId}/settlement-report": {
      "post": {
        "operationId": "SellerRetailersApi_generateSettlementReport",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "retailerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Retailers.Seller.GenerateSettlementReportResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerRetailers"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales": {
      "get": {
        "operationId": "SellerSalesApi_listSales",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "date",
                "salesPage_type",
                "salesChannel",
                "product_price",
                "salesPage_title",
                "startDate"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "name": "customerId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "salesPageType",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/SalesPages.Shared.Type"
            },
            "explode": false
          },
          {
            "name": "salesChannel",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Orders.SalesChannel"
            },
            "explode": false
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "searchQuery",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/Sales.SellerIdPathParam"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Sales.Order"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerSales"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages": {
      "get": {
        "operationId": "SellersSalesPagesApi_listSalesPages",
        "description": "Returns a list of all sales pages owned by the seller that match the given criteria.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "title",
                "updatedTimestamp",
                "createdTimestamp"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "fylke",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Common.SalesPageType"
            },
            "explode": false
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Seller.SalesPages.Status"
            },
            "explode": false
          },
          {
            "name": "species",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "isInaturAccount",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          },
          {
            "name": "includeLocked",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          },
          {
            "name": "includeOnlyPressureRegulated",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "object",
                      "required": [
                        "items",
                        "pagination",
                        "links"
                      ],
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Seller.SalesPages.Item"
                          }
                        },
                        "pagination": {
                          "$ref": "#/components/schemas/Common.PaginationData"
                        },
                        "links": {
                          "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                        }
                      },
                      "description": "A paginated list of sales pages that match the given filters."
                    },
                    "hasSalesPages": {
                      "type": "boolean",
                      "description": "Whether the seller has any sales pages at all.\n\nThis is a separate value because the `results` property is not necessarily\na reliable indicator, since filters may have been applied to it. There are\nalso some edge cases, such as a seller whose sales pages are all locked,\nthat aren't easily resolved using a naive check."
                    }
                  },
                  "required": [
                    "results",
                    "hasSalesPages"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellersSalesPages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/drafts/{salesPageId}": {
      "delete": {
        "operationId": "SellersSalesPagesApi_deleteDraft",
        "description": "Deletes the given sales page. The page must have the `Draft` status.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isInaturAccount",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "SellersSalesPages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "post": {
        "operationId": "SellersSalesPagesApi_createDraft",
        "description": "Creates a new draft for a sales page. On receiving a 200 response from this endpoint,\nit's safe to redirect to the editing page for sales page.\n\nIf a draft already exists with the given ID, a new draft will not be created, but the\nendpoint will still return a 200 response. This makes this endpoint idempotent; i.e.\nyou can only create one draft per sales page.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellersSalesPages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/activate": {
      "put": {
        "operationId": "SellersSalesPagesApi_activate",
        "description": "Activates a previously deactivated sales page, allowing it to be purchased\nagain. The updated data structure is returned as a response.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isInaturAccount",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.Item"
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellersSalesPages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/changelog": {
      "get": {
        "operationId": "SalesPageChangelogApi_getChangelog",
        "parameters": [
          {
            "$ref": "#/components/parameters/Seller.SalesPages.Changelog.CommonPathParams.sellerId"
          },
          {
            "$ref": "#/components/parameters/Seller.SalesPages.Changelog.CommonPathParams.salesPageId"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.Changelog.Changelog"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SalesPageChangelog"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/changelog/entries/{entryId}": {
      "get": {
        "operationId": "SalesPageChangelogApi_getEntryDetails",
        "description": "Find the details of a change in the given sales page.",
        "parameters": [
          {
            "$ref": "#/components/parameters/Seller.SalesPages.Changelog.CommonPathParams.sellerId"
          },
          {
            "$ref": "#/components/parameters/Seller.SalesPages.Changelog.CommonPathParams.salesPageId"
          },
          {
            "name": "entryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.Changelog.ChangelogEntryDetails"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SalesPageChangelog"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/changelog/parents/{parentId}/entries/{entryId}": {
      "get": {
        "operationId": "SalesPageChangelogApi_getEntryDetailsFromSalesPageNode",
        "description": "Find the details of a changelog entry for a sales page's parent.",
        "parameters": [
          {
            "$ref": "#/components/parameters/Seller.SalesPages.Changelog.CommonPathParams.sellerId"
          },
          {
            "$ref": "#/components/parameters/Seller.SalesPages.Changelog.CommonPathParams.salesPageId"
          },
          {
            "name": "parentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.Changelog.ChangelogEntryDetails"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SalesPageChangelog"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/changelog/salesPageInfo": {
      "get": {
        "operationId": "SalesPageChangelogApi_getChangelogSalesPageInfo",
        "parameters": [
          {
            "$ref": "#/components/parameters/Seller.SalesPages.Changelog.CommonPathParams.sellerId"
          },
          {
            "$ref": "#/components/parameters/Seller.SalesPages.Changelog.CommonPathParams.salesPageId"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.Changelog.SalesPageInfo"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SalesPageChangelog"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/copy": {
      "post": {
        "operationId": "SellersSalesPagesApi_copy",
        "description": "Creates a copy of the sales page and attaches it to the original seller.\nThe new sales page is returned as a response.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isInaturAccount",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.Item"
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellersSalesPages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/deactivate": {
      "put": {
        "operationId": "SellersSalesPagesApi_deactivate",
        "description": "Deactivates the sales page with the given ID, preventing it from being viewed\nor purchased in the webshop. The updated data structure is returned as a response.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isInaturAccount",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.Item"
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellersSalesPages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/lock": {
      "put": {
        "operationId": "SellersSalesPagesApi_lock",
        "description": "Locks a sales page, preventing the seller from interacting with it and users\nfrom viewing or purchasing it on the webshop.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isInaturAccount",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.Item"
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellersSalesPages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/pressure-regulation": {
      "get": {
        "operationId": "PressureRegulationApi_getPressureRegulation",
        "description": "Returns the pressure regulation settings for the given sales page.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.PressureRegulation.PressureRegulation"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "PressureRegulation"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "post": {
        "operationId": "PressureRegulationApi_setPressureRegulation",
        "description": "Creates or updates the pressure regulation settings for the given sales page.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "PressureRegulation"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Seller.SalesPages.PressureRegulation.PressureRegulation"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/pressure-regulation/reset-accumulated": {
      "post": {
        "operationId": "PressureRegulationApi_resetAccumulatedLimitations",
        "description": "Resets all accumulated limitations for the given sales page.",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "PressureRegulation"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales-pages/{salesPageId}/unlock": {
      "put": {
        "operationId": "SellersSalesPagesApi_unlock",
        "description": "Unlocks a previously locked sales page.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "salesPageId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isInaturAccount",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Seller.SalesPages.Item"
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellersSalesPages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales/activation-receipts/{receiptId}": {
      "get": {
        "operationId": "SellerSalesApi_streamActivationReceipt",
        "parameters": [
          {
            "$ref": "#/components/parameters/Sales.SellerIdPathParam"
          },
          {
            "name": "receiptId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerSales"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales/{orderId}": {
      "put": {
        "operationId": "SellerSalesApi_cancelOrder",
        "parameters": [
          {
            "$ref": "#/components/parameters/Sales.OrderIdPathParam"
          },
          {
            "$ref": "#/components/parameters/Sales.SellerIdPathParam"
          },
          {
            "name": "comment",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerSales"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales/{orderId}/activation-receipts": {
      "get": {
        "operationId": "SellerSalesApi_listActivationReceipts",
        "parameters": [
          {
            "$ref": "#/components/parameters/Sales.OrderIdPathParam"
          },
          {
            "$ref": "#/components/parameters/Sales.SellerIdPathParam"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Sales.ActivationReceipt"
                      }
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerSales"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales/{orderId}/cabin-rental-calendar": {
      "get": {
        "operationId": "SellerSalesApi_getCabinRentalCalendar",
        "parameters": [
          {
            "$ref": "#/components/parameters/Sales.OrderIdPathParam"
          },
          {
            "$ref": "#/components/parameters/Sales.SellerIdPathParam"
          },
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/Sales.CabinRentalCalendar.Response"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerSales"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/sales/{orderId}/rental-period": {
      "put": {
        "operationId": "SellerSalesApi_updateCabinRentalPeriod",
        "parameters": [
          {
            "$ref": "#/components/parameters/Sales.OrderIdPathParam"
          },
          {
            "$ref": "#/components/parameters/Sales.SellerIdPathParam"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sales.CabinRentalCalendar.UpdateRentalPeriodResponse"
                }
              }
            }
          },
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerSales"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sales.CabinRentalCalendar.UpdateRentalPeriodBody"
              }
            }
          },
          "description": "The body type of the operation request or response."
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/signatures/seller-agreement": {
      "patch": {
        "operationId": "SellerSignaturesApi_signSellerAgreement",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "SellerSignatures"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/signatures/terms-and-conditions": {
      "patch": {
        "operationId": "SellerSignaturesApi_signTerms",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "SellerSignatures"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/trading-identity/trading-name": {
      "patch": {
        "operationId": "SellerTradingIdentityApi_patchTradingName",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerTradingIdentity"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SellerTradingIdentity.PatchTradingNameBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/trekkbarjakt": {
      "get": {
        "operationId": "TrekkbarJaktApi_list",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchTerm",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "from",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "explode": false
          },
          {
            "name": "trekningstypeFilter",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Trekninger.Shared.Trekningstype"
            },
            "explode": false
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "applicationDeadline"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "item"
                        ],
                        "properties": {
                          "item": {
                            "$ref": "#/components/schemas/Trekninger.TrekkbarJakt.TrekkbarJakt"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "TrekkbarJaktApi"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/trekningslister": {
      "get": {
        "operationId": "TrekningerResultsSellerApi_list",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "$ref": "#/components/parameters/Trekninger.Results.Shared.AssingedTrekningCommonParams.searchQuery"
          },
          {
            "$ref": "#/components/parameters/Trekninger.Results.Shared.AssingedTrekningCommonParams.fromDate"
          },
          {
            "$ref": "#/components/parameters/Trekninger.Results.Shared.AssingedTrekningCommonParams.toDate"
          },
          {
            "$ref": "#/components/parameters/Trekninger.Results.Shared.AssingedTrekningCommonParams.type"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Trekninger.Results.Seller.ListResponse"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "TrekningerResultsSeller"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/trekningslister/{trekningId}/applications/{applicationId}/acceptance-status": {
      "put": {
        "operationId": "TrekningerResultsSellerApi_updateAcceptanceStatus",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trekningId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "acceptanceStatus",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Trekninger.Results.Seller.AcceptanceStatusParam"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "TrekningerResultsSeller"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/trekningslister/{trekningId}/assigned": {
      "get": {
        "operationId": "TrekningerResultsSellerApi_getAssigned",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trekningId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Trekninger.Results.Seller.AssignedResponse"
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "TrekningerResultsSeller"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/trekningslister/{trekningId}/reassign-waiting": {
      "post": {
        "operationId": "TrekningerResultsSellerApi_reassignWaitingApplications",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trekningId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "paymentDeadlineDays",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "TrekningerResultsSeller"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/trekningslister/{trekningId}/summary": {
      "get": {
        "operationId": "TrekningerResultsSellerApi_getSummary",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trekningId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "salesPageTitle",
                "productTitle",
                "numAvailablePermits",
                "numApplications"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Trekninger.Results.Seller.SummaryResponse"
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "TrekningerResultsSeller"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/trekningslister/{trekningId}/waiting": {
      "get": {
        "operationId": "TrekningerResultsSellerApi_getWaiting",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trekningId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Trekninger.Results.Seller.WaitingResponse"
                }
              }
            }
          }
        },
        "tags": [
          "TrekningerResultsSeller"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/user-access": {
      "get": {
        "operationId": "SellerUserAccessApi_listUserAccess",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Seller.UserAccess.UserAccessItem"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellerUserAccess"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "post": {
        "operationId": "SellerUserAccessApi_createUserAccess",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          },
          "500": {
            "description": "Server error"
          }
        },
        "tags": [
          "SellerUserAccess"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Seller.UserAccess.CreateUserAccessRequest"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/sellers/{sellerId}/user-access/{userId}": {
      "put": {
        "operationId": "SellerUserAccessApi_updateUserAccess",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "SellerUserAccess"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Seller.UserAccess.UpdateUserAccessRequest"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "SellerUserAccessApi_deleteUserAccess",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "SellerUserAccess"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/serviceannouncements": {
      "get": {
        "operationId": "CustomerServiceAnnouncementsApi_getServiceAnnouncements",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ServiceAnnouncements.Customer.ServiceAnnouncement"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "CustomerServiceAnnouncements"
        ]
      }
    },
    "/v1/user": {
      "get": {
        "operationId": "UserApi_get",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users.User"
                }
              }
            }
          }
        },
        "tags": [
          "Users"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "put": {
        "operationId": "UserApi_update",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users.User"
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Users"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Users.UserUpdate"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/user/address": {
      "patch": {
        "operationId": "UserApi_updateAddress",
        "parameters": [],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Users"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Users.AddressUpdate"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/user/hunter-details": {
      "patch": {
        "operationId": "UserApi_updateHunterDetails",
        "parameters": [],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Users"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Users.HunterDetailsUpdate"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/user/personal-details": {
      "patch": {
        "operationId": "UserApi_updatePersonalDetails",
        "parameters": [],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Errors.ErrorsResponseBody"
                }
              }
            }
          }
        },
        "tags": [
          "Users"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Users.PersonalDetailsUpdate"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/user/terms-of-service": {
      "put": {
        "operationId": "UserApi_acceptTermsOfService",
        "parameters": [],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          }
        },
        "tags": [
          "Users"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/closed": {
      "get": {
        "operationId": "UserApplicationsApi_listClosedApplications",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "deadline"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/UserApplications.ClosedApplicationDetails"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/granted": {
      "get": {
        "operationId": "UserApplicationsApi_listGrantedHunts",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/UserApplications.GrantedHunt"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/granted/{id}": {
      "get": {
        "operationId": "UserApplicationsApi_getGrantedHunt",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/UserApplications.GrantedHunt"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "UserApplicationsApi_declineGrantedHunt",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "UserApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/open": {
      "get": {
        "operationId": "UserApplicationsApi_listOpenApplications",
        "parameters": [
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "deadline"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/UserApplications.OpenApplicationDetails"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Common.PaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginatedPageLinks"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/purchase/{grantedProductId}/hunter-validation": {
      "get": {
        "operationId": "UserApplicationsPurchaseApi_validateHunters",
        "description": "Validates participants using existing data from the application.",
        "parameters": [
          {
            "name": "grantedProductId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.Result"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplicationsPurchase"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      },
      "post": {
        "operationId": "UserApplicationsPurchaseApi_validateHuntersWithOverrides",
        "description": "Validates participants with client-provided hunter number overrides.\nUse this as a dry-run before calling createHuntReservation with the same body.",
        "parameters": [
          {
            "name": "grantedProductId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.Result"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplicationsPurchase"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserApplications.Purchase.Reservations.CreateHuntingReservationBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/purchase/{grantedProductId}/payment": {
      "post": {
        "operationId": "UserApplicationsPurchaseApi_createPayment",
        "description": "Creates a payment for an existing reservation, returning a NetsEasy hosted payment\npage URL.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "name": "grantedProductId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/UserApplications.Purchase.Payment.CreatePaymentResponse"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The server could not understand the request due to invalid syntax."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplicationsPurchase"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserApplications.Purchase.Payment.CreatePaymentBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/purchase/{grantedProductId}/reservation": {
      "get": {
        "operationId": "UserApplicationsPurchaseApi_getActiveReservation",
        "description": "Returns the id of the user's active reservation for the given granted product, if one exists.",
        "parameters": [
          {
            "name": "grantedProductId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/UserApplications.Purchase.Reservations.GetActiveReservationResponse"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplicationsPurchase"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/purchase/{grantedProductId}/reservations": {
      "post": {
        "operationId": "UserApplicationsPurchaseApi_createReservation",
        "description": "Creates a reservation for a granted products, assigning the licensees.\n\nFor the most part, these licensees are taken from the submitted application form.\nCertain fields may be missing or changeable, however, which can be submitted in the\nbody of this request.",
        "parameters": [
          {
            "name": "grantedProductId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplicationsPurchase"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserApplications.Purchase.Reservations.CreateReservationBody"
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/purchase/{grantedProductId}/stage": {
      "get": {
        "operationId": "UserApplicationsPurchaseApi_getStage",
        "description": "Returns the current stage in the purchase process that a granted product purchase is at.",
        "parameters": [
          {
            "name": "grantedProductId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/UserApplications.Purchase.Stage.Union"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "UserApplicationsPurchase"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/usage-status": {
      "get": {
        "operationId": "UserApplicationsApi_getUsageStatus",
        "description": "Returns whether or not the user has any applications at all, useful for\ndetermining whether to show a \"welcome to applications\" message.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "item"
                  ],
                  "properties": {
                    "item": {
                      "$ref": "#/components/schemas/UserApplications.UsageStatusResponseBody"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          }
        },
        "tags": [
          "UserApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v1/userapplications/{id}": {
      "delete": {
        "operationId": "UserApplicationsApi_deleteUserApplication",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "There is no content to send for this request, but the headers may be useful."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          },
          "409": {
            "description": "The request conflicts with the current state of the server."
          }
        },
        "tags": [
          "UserApplications"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/v2/sellers/{sellerId}/sales-pages": {
      "get": {
        "operationId": "SellersSalesPagesApiV2_listSalesPagesV2",
        "description": "Returns a list of all sales pages owned by the seller that match the given criteria.",
        "parameters": [
          {
            "$ref": "#/components/parameters/I18n.AcceptLanguageHeader"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.page"
          },
          {
            "$ref": "#/components/parameters/Common.PaginationParams.perPage"
          },
          {
            "name": "sortField",
            "in": "query",
            "required": false,
            "description": "The field to sort on.",
            "schema": {
              "type": "string",
              "enum": [
                "title",
                "updatedTimestamp",
                "createdTimestamp"
              ]
            },
            "explode": false
          },
          {
            "name": "sortDirection",
            "in": "query",
            "required": false,
            "description": "The sort direction.",
            "schema": {
              "$ref": "#/components/schemas/Common.SortDirection"
            },
            "explode": false
          },
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "fylke",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Common.SalesPageType"
            },
            "explode": false
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Seller.SalesPages.Status"
            },
            "explode": false
          },
          {
            "name": "species",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "explode": false
          },
          {
            "name": "isInaturAccount",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          },
          {
            "name": "includeLocked",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          },
          {
            "name": "includeOnlyPressureRegulated",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Seller.SalesPages.V2.SalesPageWithLinks"
                      }
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Seller.SalesPages.V2.SalesPagePaginationData"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Common.PaginationLinks"
                    }
                  },
                  "required": [
                    "items",
                    "pagination",
                    "links"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        },
        "tags": [
          "SellersSalesPages"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/{sellerId}": {
      "put": {
        "operationId": "SellerProductAccess_GrantProductAccess",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        }
      },
      "delete": {
        "operationId": "SellerProductAccess_RevokeProductAccess",
        "parameters": [
          {
            "name": "sellerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded."
          },
          "401": {
            "description": "Access is unauthorized."
          },
          "404": {
            "description": "The server cannot find the requested resource."
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "Common.PaginationParams.page": {
        "name": "page",
        "in": "query",
        "required": false,
        "description": "The page to show.",
        "schema": {
          "type": "integer",
          "format": "uint32",
          "minimum": 1,
          "default": 1
        },
        "explode": false
      },
      "Common.PaginationParams.perPage": {
        "name": "perPage",
        "in": "query",
        "required": false,
        "description": "The number of results to show on each page.",
        "schema": {
          "type": "integer",
          "format": "uint32",
          "maximum": 50,
          "default": 20
        },
        "explode": false
      },
      "I18n.AcceptLanguageHeader": {
        "name": "Accept-Language",
        "in": "header",
        "required": false,
        "schema": {
          "allOf": [
            {
              "$ref": "#/components/schemas/I18n.ApiLocale"
            }
          ],
          "default": "no"
        }
      },
      "Sales.OrderIdPathParam": {
        "name": "orderId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "Sales.SellerIdPathParam": {
        "name": "sellerId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "Seller.SalesPages.Changelog.CommonPathParams.salesPageId": {
        "name": "salesPageId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "Seller.SalesPages.Changelog.CommonPathParams.sellerId": {
        "name": "sellerId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "Sellers.HuntingReports.HuntingReportRequirementFilters.month": {
        "name": "month",
        "in": "query",
        "required": false,
        "schema": {
          "$ref": "#/components/schemas/Utilities.MonthParam"
        },
        "explode": false
      },
      "Sellers.HuntingReports.HuntingReportRequirementFilters.pressureRegulated": {
        "name": "pressureRegulated",
        "in": "query",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/Sellers.HuntingReports.PressureRegulationFilter"
        },
        "explode": false
      },
      "Sellers.HuntingReports.HuntingReportRequirementFilters.searchQuery": {
        "name": "searchQuery",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "explode": false
      },
      "Sellers.HuntingReports.HuntingReportRequirementFilters.year": {
        "name": "year",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "format": "int32"
        },
        "explode": false
      },
      "Sellers.HuntingReports.HuntingReportSearchFilters.productId": {
        "name": "productId",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "explode": false
      },
      "Sellers.HuntingReports.HuntingReportSearchFilters.salesPageId": {
        "name": "salesPageId",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "explode": false
      },
      "Trekninger.Results.M2m.TilbyderIdQueryParam": {
        "name": "tilbyderId",
        "in": "query",
        "required": true,
        "description": "The ID of the tilbyder to which the trekningsresultater belong.\n\nIf the tilbyder is not directly associated with the user belonging\nto the provided bearer token, the user must have previously been given\naccess to the tilbyder's trekninger.",
        "schema": {
          "type": "string"
        },
        "explode": false
      },
      "Trekninger.Results.Shared.AssingedTrekningCommonParams.fromDate": {
        "name": "fromDate",
        "in": "query",
        "required": false,
        "description": "The earliest possible trekningsdato (inclusive).",
        "schema": {
          "type": "string",
          "format": "date"
        },
        "explode": false
      },
      "Trekninger.Results.Shared.AssingedTrekningCommonParams.searchQuery": {
        "name": "searchQuery",
        "in": "query",
        "required": false,
        "description": "Searches trekninger that match the query based on the following fields:\n* Permit ID\n* Permit title\n* Sales page ID\n* Sales page title",
        "schema": {
          "type": "string"
        },
        "explode": false
      },
      "Trekninger.Results.Shared.AssingedTrekningCommonParams.toDate": {
        "name": "toDate",
        "in": "query",
        "required": false,
        "description": "The latest possible trekningsdato (inclusive).",
        "schema": {
          "type": "string",
          "format": "date"
        },
        "explode": false
      },
      "Trekninger.Results.Shared.AssingedTrekningCommonParams.type": {
        "name": "type",
        "in": "query",
        "required": false,
        "description": "The type of trekning to include.",
        "schema": {
          "$ref": "#/components/schemas/Trekninger.Shared.Trekningstype"
        },
        "explode": false
      }
    },
    "schemas": {
      "Accounts.CreateSellerAccountBody": {
        "type": "object",
        "required": [
          "legalIdentity",
          "tradingIdentity",
          "businessContact"
        ],
        "properties": {
          "legalIdentity": {
            "$ref": "#/components/schemas/Accounts.CreateSellerAccountBodyLegalIdentity.Union"
          },
          "tradingIdentity": {
            "type": "object",
            "properties": {
              "tradingName": {
                "type": "string"
              }
            },
            "required": [
              "tradingName"
            ],
            "X-Model-Name": "CreateSellerAccountBodyTradingIdentity"
          },
          "businessContact": {
            "type": "object",
            "properties": {
              "invoiceEmail": {
                "type": "string"
              },
              "bankAccountNumber": {
                "type": "string"
              },
              "contactEmail": {
                "type": "string"
              },
              "contactPhone": {
                "$ref": "#/components/schemas/Common.PhoneNumber"
              }
            },
            "required": [
              "contactEmail",
              "contactPhone"
            ],
            "X-Model-Name": "CreateSellerAccountBodyBusinessContact"
          }
        },
        "X-Model-Name": "CreateSellerAccountBody"
      },
      "Accounts.CreateSellerAccountBodyLegalIdentity.NaturalPerson": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "naturalPerson"
            ]
          }
        },
        "X-Model-Name": "CreateSellerAccountBodyLegalIdentityNaturalPerson"
      },
      "Accounts.CreateSellerAccountBodyLegalIdentity.Organisation": {
        "type": "object",
        "required": [
          "type",
          "organisationNumber"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "organisation"
            ]
          },
          "organisationNumber": {
            "type": "string"
          }
        },
        "X-Model-Name": "CreateSellerAccountBodyLegalIdentityOrganisation"
      },
      "Accounts.CreateSellerAccountBodyLegalIdentity.Union": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Accounts.CreateSellerAccountBodyLegalIdentity.Organisation"
          },
          {
            "$ref": "#/components/schemas/Accounts.CreateSellerAccountBodyLegalIdentity.NaturalPerson"
          }
        ],
        "X-Model-Name": "CreateSellerAccountBodyLegalIdentity"
      },
      "Accounts.CreateSellerAccountConflictErrorCode": {
        "type": "string",
        "enum": [
          "UserIdentityNotEstablished",
          "DuplicateOrganisationNumber"
        ]
      },
      "Accounts.CreateSellerAccountResponseBody": {
        "type": "object",
        "required": [
          "sellerId"
        ],
        "properties": {
          "sellerId": {
            "type": "string",
            "description": "The ID of the newly created seller."
          }
        },
        "X-Model-Name": "CreateSellerAccountResponseBody"
      },
      "Accounts.RetailerAccount": {
        "type": "object",
        "required": [
          "id",
          "name",
          "role"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Accounts.RetailerRole"
              }
            ],
            "description": "The access level the user has to the retailer."
          }
        },
        "description": "Concise information about a retailer-role attached to the user.",
        "X-Model-Name": "RetailerAccount"
      },
      "Accounts.RetailerRole": {
        "type": "string",
        "enum": [
          "Administrator",
          "User"
        ],
        "X-Model-Name": "RetailerAccountRole"
      },
      "Accounts.SellerAccount": {
        "type": "object",
        "required": [
          "id",
          "name",
          "isDeactivated",
          "incompleteFields",
          "role",
          "productAccess"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "incompleteFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Accounts.SellerIncompleteField"
            }
          },
          "role": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Accounts.SellerRole"
              }
            ],
            "description": "The access level the user has to the seller."
          },
          "productAccess": {
            "type": "object",
            "properties": {
              "nodes": {
                "type": "boolean"
              },
              "nodeAdministration": {
                "type": "boolean"
              },
              "pressureRegulatedSales": {
                "type": "boolean"
              },
              "contracts": {
                "type": "boolean"
              },
              "draws": {
                "type": "boolean"
              },
              "onlineSalesCustomFields": {
                "type": "boolean"
              },
              "mapDigitalization": {
                "type": "boolean"
              },
              "statskogAreas": {
                "type": "boolean"
              }
            },
            "required": [
              "nodes",
              "nodeAdministration",
              "pressureRegulatedSales",
              "contracts",
              "draws",
              "onlineSalesCustomFields",
              "mapDigitalization",
              "statskogAreas"
            ],
            "X-Model-Name": "SellerAccountProductAccess"
          }
        },
        "description": "Concise information about a seller-role attached to the user.",
        "X-Model-Name": "SellerAccount"
      },
      "Accounts.SellerIncompleteField": {
        "type": "string",
        "enum": [
          "BankAccountNumber",
          "VerifiedCompanyDetails",
          "LegalOwner",
          "SellerAgreement",
          "TermsAndConditions",
          "ContactEmail"
        ],
        "X-Model-Name": "SellerAccountIncompleteField"
      },
      "Accounts.SellerRole": {
        "type": "string",
        "enum": [
          "Administrator",
          "User"
        ],
        "X-Model-Name": "SellerAccountRole"
      },
      "Accounts.UserAccount": {
        "type": "object",
        "required": [
          "id",
          "name",
          "email",
          "isInaturUser",
          "permissions",
          "sellerRoles",
          "incompleteFields",
          "retailerRoles",
          "isIdentityVerified",
          "shouldReadPrivacyStatement",
          "sentrySamplingRates"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isInaturUser": {
            "type": "boolean"
          },
          "permissions": {
            "type": "object",
            "properties": {
              "permitInspection": {
                "type": "boolean"
              }
            },
            "required": [
              "permitInspection"
            ],
            "X-Model-Name": "UserAccountPermissions"
          },
          "sellerRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Accounts.SellerAccount"
            }
          },
          "incompleteFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Accounts.UserIncompleteField"
            }
          },
          "retailerRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Accounts.RetailerAccount"
            }
          },
          "isIdentityVerified": {
            "type": "boolean"
          },
          "shouldReadPrivacyStatement": {
            "type": "boolean"
          },
          "sentrySamplingRates": {
            "$ref": "#/components/schemas/SentryConfiguration.SamplingRates"
          }
        },
        "X-Model-Name": "UserAccount"
      },
      "Accounts.UserIncompleteField": {
        "type": "string",
        "enum": [
          "Name",
          "PhoneNumber",
          "Address",
          "TermsAndConditions",
          "HuntingNumber",
          "BirthDate"
        ],
        "X-Model-Name": "UserAccountIncompleteField"
      },
      "Activations.ActivationStatus": {
        "type": "object",
        "required": [
          "date",
          "totalActivated",
          "capacity",
          "subareaState"
        ],
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "totalActivated": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          },
          "capacity": {
            "$ref": "#/components/schemas/Activations.ActivationStatusCapacity"
          },
          "subareaState": {
            "type": "string",
            "enum": [
              "open",
              "closed",
              "full"
            ]
          }
        }
      },
      "Activations.ActivationStatusCapacity": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Activations.UnlimitedCapacity"
          },
          {
            "$ref": "#/components/schemas/Activations.LimitedCapacity"
          }
        ]
      },
      "Activations.LimitedCapacity": {
        "type": "object",
        "required": [
          "type",
          "value"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "limited"
            ]
          },
          "value": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          }
        }
      },
      "Activations.Municipality": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "Activations.Subarea": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "Activations.UnlimitedCapacity": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "unlimited"
            ]
          }
        }
      },
      "Applications.Shared.TeamSizeLimit": {
        "type": "object",
        "required": [
          "value",
          "type"
        ],
        "properties": {
          "value": {
            "type": "integer"
          },
          "type": {
            "type": "string",
            "enum": [
              "MAX",
              "MIN"
            ]
          }
        }
      },
      "Common.DatePeriod": {
        "type": "object",
        "required": [
          "from",
          "to"
        ],
        "properties": {
          "from": {
            "type": "string",
            "format": "date"
          },
          "to": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Common.DateTimePeriod": {
        "type": "object",
        "required": [
          "from",
          "to"
        ],
        "properties": {
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "Common.DayValidity": {
        "type": "object",
        "required": [
          "type",
          "value"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Days"
            ]
          },
          "value": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          }
        }
      },
      "Common.ExtrasDetails": {
        "type": "object",
        "required": [
          "key",
          "title",
          "price",
          "type"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "price": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Common.ExtrasType"
          },
          "customerInput": {
            "type": "string"
          }
        }
      },
      "Common.ExtrasType": {
        "type": "string",
        "enum": [
          "DISCOUNT",
          "EXTRA"
        ]
      },
      "Common.FullName": {
        "type": "object",
        "required": [
          "firstName",
          "lastName"
        ],
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          }
        }
      },
      "Common.HoursValidity": {
        "type": "object",
        "required": [
          "type",
          "value"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Hours"
            ]
          },
          "value": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          }
        }
      },
      "Common.InaturFile": {
        "type": "object",
        "required": [
          "name",
          "url",
          "contentType",
          "uploadedAt"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "contentType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "uploadedAt": {
            "type": "string",
            "format": "date-time"
          },
          "width": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The width of the original image in pixels. Missing for files that are not images, and for\nimages whose size is unknown."
          },
          "height": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The height of the original image in pixels. Missing for files that are not images, and for\nimages whose size is unknown."
          }
        }
      },
      "Common.Municipality": {
        "type": "object",
        "required": [
          "name",
          "number"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "number": {
            "type": "string"
          }
        }
      },
      "Common.PaginatedPageLinks": {
        "type": "object",
        "required": [
          "pagination"
        ],
        "properties": {
          "pagination": {
            "$ref": "#/components/schemas/Common.PaginationLinks"
          }
        }
      },
      "Common.PaginationData": {
        "type": "object",
        "required": [
          "totalCount",
          "currentPage",
          "totalPages"
        ],
        "properties": {
          "totalCount": {
            "type": "integer",
            "minimum": 0
          },
          "currentPage": {
            "type": "integer",
            "minimum": 1
          },
          "totalPages": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "Common.PaginationLinks": {
        "type": "object",
        "properties": {
          "next": {
            "type": "string",
            "format": "uri"
          },
          "prev": {
            "type": "string",
            "format": "uri"
          },
          "firstLink": {
            "type": "string",
            "format": "uri"
          },
          "lastLink": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Common.PaginationParams": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "format": "uint32",
            "minimum": 1,
            "description": "The page to show.",
            "default": 1
          },
          "perPage": {
            "type": "integer",
            "format": "uint32",
            "maximum": 50,
            "description": "The number of results to show on each page.",
            "default": 20
          }
        }
      },
      "Common.PhoneNumber": {
        "type": "object",
        "required": [
          "countryCode",
          "number"
        ],
        "properties": {
          "countryCode": {
            "type": "string",
            "pattern": "^[1-9]\\d{0,2}$"
          },
          "number": {
            "$ref": "#/components/schemas/Common.numberString"
          }
        }
      },
      "Common.RichText": {
        "type": "object",
        "required": [
          "type",
          "files",
          "value"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "html"
            ]
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Common.InaturFile"
            }
          },
          "value": {
            "type": "string"
          }
        },
        "description": "A string which can potentially contain HTML."
      },
      "Common.SalesPageType": {
        "type": "string",
        "enum": [
          "SmallGame",
          "BigGame",
          "SalmonFish",
          "FreshwaterFish",
          "Cabin",
          "Other"
        ]
      },
      "Common.SeasonValidity": {
        "type": "object",
        "required": [
          "type",
          "value"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Season"
            ]
          },
          "value": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          }
        }
      },
      "Common.SortDirection": {
        "type": "string",
        "enum": [
          "asc",
          "desc"
        ]
      },
      "Common.Validity": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Common.DayValidity"
          },
          {
            "$ref": "#/components/schemas/Common.HoursValidity"
          },
          {
            "$ref": "#/components/schemas/Common.SeasonValidity"
          }
        ]
      },
      "Common.ValidityType": {
        "type": "string",
        "enum": [
          "Days",
          "Hours",
          "Season"
        ]
      },
      "Common.numberString": {
        "type": "string",
        "pattern": "\\d+"
      },
      "Common.positiveInteger": {
        "type": "integer",
        "format": "int32",
        "minimum": 0
      },
      "CompanySearch.Company": {
        "type": "object",
        "required": [
          "organisationNumber",
          "name",
          "organisationForm",
          "isMvaRegistered",
          "isRegisteredAsSeller"
        ],
        "properties": {
          "organisationNumber": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "organisationForm": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "properties": {
              "addressLines": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "postcode": {
                "type": "string"
              },
              "town": {
                "type": "string"
              },
              "kommuneName": {
                "type": "string"
              },
              "kommuneNumber": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "countryCode": {
                "type": "string"
              }
            },
            "required": [
              "addressLines"
            ],
            "X-Model-Name": "CompanySearchResultAddress"
          },
          "isMvaRegistered": {
            "type": "boolean"
          },
          "isRegisteredAsSeller": {
            "type": "boolean"
          }
        },
        "X-Model-Name": "CompanySearchResult"
      },
      "ContractTemplates.ContractTemplate": {
        "type": "object",
        "required": [
          "id",
          "title",
          "createdAt",
          "updatedAt",
          "elements"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "elements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractTemplates.Element.Union"
            }
          },
          "draft": {
            "$ref": "#/components/schemas/ContractTemplates.ContractTemplateDraft"
          }
        }
      },
      "ContractTemplates.ContractTemplateDraft": {
        "type": "object",
        "required": [
          "title"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "elements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractTemplates.Element.Union"
            }
          }
        }
      },
      "ContractTemplates.Element.ContractPartner": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "ContractPartner"
            ]
          }
        }
      },
      "ContractTemplates.Element.ContractedTime": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "ContractedTime"
            ]
          }
        }
      },
      "ContractTemplates.Element.ContractedTimeOneYear": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "ContractedTimeOneYear"
            ]
          }
        }
      },
      "ContractTemplates.Element.FreeText": {
        "type": "object",
        "required": [
          "type",
          "title",
          "body"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "FreeText"
            ]
          },
          "title": {
            "type": "string"
          },
          "body": {
            "type": "string"
          }
        }
      },
      "ContractTemplates.Element.HarvestQuota": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "HarvestQuota"
            ]
          }
        }
      },
      "ContractTemplates.Element.HuntLeader": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "HuntLeader"
            ]
          }
        }
      },
      "ContractTemplates.Element.HuntingAreaInfo": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "HuntingAreaInfo"
            ]
          }
        }
      },
      "ContractTemplates.Element.SellerInfo": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SellerInfo"
            ]
          }
        }
      },
      "ContractTemplates.Element.Signing": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Signing"
            ]
          }
        }
      },
      "ContractTemplates.Element.SigningIndividual": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SigningIndividual"
            ]
          }
        }
      },
      "ContractTemplates.Element.TeamMembers": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TeamMembers"
            ]
          }
        }
      },
      "ContractTemplates.Element.TrackingDogRequirements": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TrackingDogRequirements"
            ]
          }
        }
      },
      "ContractTemplates.Element.TrackingTeam": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TrackingTeam"
            ]
          }
        }
      },
      "ContractTemplates.Element.Union": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.HuntLeader"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.TeamMembers"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.FreeText"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.ContractPartner"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.TrackingDogRequirements"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.TrackingTeam"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.HuntingAreaInfo"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.ContractedTime"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.ContractedTimeOneYear"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.HarvestQuota"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.SellerInfo"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.Signing"
          },
          {
            "$ref": "#/components/schemas/ContractTemplates.Element.SigningIndividual"
          }
        ]
      },
      "ContractTemplates.LinkedSalesPage": {
        "type": "object",
        "required": [
          "id",
          "name",
          "permits"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "permits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractTemplates.LinkedSalesPagePermit"
            }
          }
        }
      },
      "ContractTemplates.LinkedSalesPagePermit": {
        "type": "object",
        "required": [
          "id",
          "title"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      },
      "ContractTemplates.ListItem": {
        "type": "object",
        "required": [
          "id",
          "title",
          "createdAt",
          "updatedAt",
          "hasDraft",
          "linkedSalesPages"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "hasDraft": {
            "type": "boolean"
          },
          "changedBy": {
            "type": "string"
          },
          "linkedSalesPages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractTemplates.LinkedSalesPage"
            }
          }
        }
      },
      "ContractTemplates.NewlyCreatedItem": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string"
          }
        }
      },
      "CustomerFishingPermitsApi.Item": {
        "type": "object",
        "required": [
          "permitNumber",
          "permitName",
          "period",
          "fisher",
          "salesPage",
          "isReportDelivered",
          "reportItems"
        ],
        "properties": {
          "permitNumber": {
            "type": "string"
          },
          "permitName": {
            "type": "string"
          },
          "period": {
            "$ref": "#/components/schemas/CustomerFishingPermitsApi.ItemPeriod"
          },
          "fisher": {
            "type": "string"
          },
          "salesPage": {
            "$ref": "#/components/schemas/CustomerFishingPermitsApi.ItemSalesPage"
          },
          "isReportDelivered": {
            "type": "boolean"
          },
          "reportItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerFishingPermitsApi.ReportItem"
            }
          }
        }
      },
      "CustomerFishingPermitsApi.ItemPeriod": {
        "type": "object",
        "required": [
          "start",
          "end"
        ],
        "properties": {
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "CustomerFishingPermitsApi.ItemSalesPage": {
        "type": "object",
        "required": [
          "id",
          "name",
          "thumbnailUrl"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "CustomerFishingPermitsApi.ReportItem": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/CustomerFishingPermitsApi.ReportItemWithCatches"
          },
          {
            "$ref": "#/components/schemas/CustomerFishingPermitsApi.ReportItemNoCatches"
          }
        ]
      },
      "CustomerFishingPermitsApi.ReportItemNoCatches": {
        "type": "object",
        "required": [
          "type",
          "date"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "NoCatches"
            ]
          },
          "date": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "CustomerFishingPermitsApi.ReportItemWithCatches": {
        "type": "object",
        "required": [
          "type",
          "date"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "WithCatches"
            ]
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "species": {
            "$ref": "#/components/schemas/CustomerFishingPermitsApi.Species"
          },
          "amount": {
            "type": "integer"
          },
          "totalWeight": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CustomerFishingPermitsApi.Species": {
        "type": "string",
        "enum": [
          "Salmon",
          "PinkSalmon",
          "ChinookSalmon",
          "SeaTrout",
          "RainbowTrout",
          "BrownTrout",
          "SeaChar",
          "BrookeChar",
          "InlandChar",
          "Persch",
          "Pike",
          "Grayling",
          "Other"
        ]
      },
      "CustomerHuntingReports.GetTotalHistoricReportsResponseBody": {
        "type": "object",
        "required": [
          "total"
        ],
        "properties": {
          "total": {
            "type": "integer"
          }
        }
      },
      "CustomerHuntingReports.GetTotalUnreportedReportsResponseBody": {
        "type": "object",
        "required": [
          "total"
        ],
        "properties": {
          "total": {
            "type": "integer"
          }
        }
      },
      "CustomerHuntingReports.HistoricHuntListItem": {
        "type": "object",
        "required": [
          "id",
          "salesPage",
          "permit",
          "permitId",
          "purchaseId",
          "from",
          "to",
          "reporterName",
          "reportDate",
          "catchSummary",
          "totalHuntDays"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "salesPage": {
            "$ref": "#/components/schemas/CustomerHuntingReports.ListItemSalesPage"
          },
          "permit": {
            "type": "string"
          },
          "permitId": {
            "type": "string"
          },
          "purchaseId": {
            "type": "string"
          },
          "from": {
            "type": "string",
            "format": "date"
          },
          "to": {
            "type": "string",
            "format": "date"
          },
          "reporterName": {
            "type": "string"
          },
          "reportDate": {
            "type": "string",
            "format": "date"
          },
          "catchSummary": {
            "type": "string"
          },
          "totalHuntDays": {
            "type": "integer"
          }
        }
      },
      "CustomerHuntingReports.ListItemSalesPage": {
        "type": "object",
        "required": [
          "id",
          "type",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Common.SalesPageType"
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CustomerHuntingReports.UnreportedHuntListItem": {
        "type": "object",
        "required": [
          "salesPage",
          "permitName",
          "permitNumber",
          "validDates"
        ],
        "properties": {
          "salesPage": {
            "$ref": "#/components/schemas/CustomerHuntingReports.ListItemSalesPage"
          },
          "permitName": {
            "type": "string"
          },
          "permitNumber": {
            "type": "string"
          },
          "hunter": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "phoneNumber": {
                "$ref": "#/components/schemas/Common.PhoneNumber"
              }
            },
            "required": [
              "name",
              "phoneNumber"
            ]
          },
          "validDates": {
            "type": "string"
          }
        }
      },
      "Customers.Contracts.ActiveContractItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "salesPage": {
                "$ref": "#/components/schemas/Customers.Contracts.ContractSalesPage"
              },
              "productTitle": {
                "type": "string"
              },
              "sellerName": {
                "type": "string"
              },
              "issued": {
                "type": "string",
                "format": "date-time"
              },
              "activePeriod": {
                "$ref": "#/components/schemas/Common.DatePeriod"
              },
              "signedByCustomer": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "id",
              "salesPage",
              "productTitle",
              "sellerName",
              "issued",
              "activePeriod",
              "signedByCustomer"
            ],
            "X-Model-Name": "CustomerContractsActiveContract"
          },
          "links": {
            "type": "object",
            "properties": {
              "download": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "download"
            ],
            "X-Model-Name": "CustomerContractsActiveContractLinks"
          }
        },
        "X-Model-Name": "CustomerContractsActiveContractItem"
      },
      "Customers.Contracts.ContractSalesPage": {
        "type": "object",
        "required": [
          "id",
          "title"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "X-Model-Name": "CustomerContractsSalesPage"
      },
      "Customers.Contracts.ExpiredContractItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "salesPage": {
                "$ref": "#/components/schemas/Customers.Contracts.ContractSalesPage"
              },
              "productTitle": {
                "type": "string"
              },
              "sellerName": {
                "type": "string"
              },
              "activePeriod": {
                "$ref": "#/components/schemas/Common.DatePeriod"
              }
            },
            "required": [
              "id",
              "salesPage",
              "productTitle",
              "sellerName",
              "activePeriod"
            ],
            "X-Model-Name": "CustomerContractsExpiredContract"
          },
          "links": {
            "type": "object",
            "properties": {
              "download": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "download"
            ],
            "X-Model-Name": "CustomerContractsExpiredContractLinks"
          }
        },
        "X-Model-Name": "CustomerContractsExpiredContractItem"
      },
      "Customers.Contracts.SignableContractItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "deadline": {
                "type": "string",
                "format": "date-time"
              },
              "salesPage": {
                "$ref": "#/components/schemas/Customers.Contracts.ContractSalesPage"
              },
              "productTitle": {
                "type": "string"
              },
              "sellerName": {
                "type": "string"
              },
              "issued": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "id",
              "deadline",
              "salesPage",
              "productTitle",
              "sellerName",
              "issued"
            ],
            "X-Model-Name": "CustomerContractsSignableContract"
          },
          "links": {
            "type": "object",
            "properties": {
              "sign": {
                "type": "string",
                "format": "uri"
              },
              "reject": {
                "type": "string",
                "format": "uri"
              },
              "download": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "sign",
              "reject",
              "download"
            ],
            "X-Model-Name": "CustomerContractsSignableContractLinks"
          }
        },
        "X-Model-Name": "CustomerContractsSignableContractItem"
      },
      "Customers.Contracts.SortField": {
        "type": "string",
        "enum": [
          "Issued",
          "Signed",
          "SigningDeadline",
          "ProductTitle",
          "EndOfContract"
        ],
        "X-Model-Name": "CustomerContractsSortField"
      },
      "Customers.Contracts.SortFieldParam": {
        "type": "string",
        "enum": [
          "Issued",
          "Signed",
          "SigningDeadline",
          "ProductTitle",
          "EndOfContract"
        ]
      },
      "Customers.Details": {
        "type": "object",
        "required": [
          "id",
          "name",
          "email"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "address": {
            "$ref": "#/components/schemas/Customers.DetailsAddress"
          }
        }
      },
      "Customers.DetailsAddress": {
        "type": "object",
        "required": [
          "addressLine1",
          "town",
          "postcode",
          "country"
        ],
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "town": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "country": {
            "type": "string"
          }
        }
      },
      "Customers.ListItem": {
        "type": "object",
        "required": [
          "id",
          "name",
          "phoneNumber",
          "email"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        }
      },
      "Errors.Base": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
          }
        }
      },
      "Errors.BusinessLogicError": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
          }
        }
      },
      "Errors.BusinessLogicErrorResponse": {
        "type": "object",
        "required": [
          "type",
          "errors"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "BusinessLogicError"
            ]
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Errors.BusinessLogicError"
            }
          }
        }
      },
      "Errors.ErrorsResponseBody": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Errors.ValidationErrorsResponse"
          },
          {
            "$ref": "#/components/schemas/Errors.InternalServerErrorsResponse"
          },
          {
            "$ref": "#/components/schemas/Errors.ForbiddenErrorsResponse"
          },
          {
            "$ref": "#/components/schemas/Errors.BusinessLogicErrorResponse"
          }
        ]
      },
      "Errors.ForbiddenError": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
          }
        }
      },
      "Errors.ForbiddenErrorsResponse": {
        "type": "object",
        "required": [
          "type",
          "errors"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Forbidden"
            ]
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Errors.ForbiddenError"
            }
          }
        }
      },
      "Errors.InternalServerError": {
        "type": "object",
        "required": [
          "message",
          "logId"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
          },
          "logId": {
            "type": "string",
            "description": "An ID that can be used to trace the internal logs of Inatur. Please provide this ID if you need to assistance with debugging."
          }
        }
      },
      "Errors.InternalServerErrorsResponse": {
        "type": "object",
        "required": [
          "type",
          "errors"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "InternalServerError"
            ]
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Errors.InternalServerError"
            }
          }
        }
      },
      "Errors.Type": {
        "type": "string",
        "enum": [
          "ValidationError",
          "InternalServerError",
          "Forbidden",
          "BusinessLogicError"
        ]
      },
      "Errors.ValidationError": {
        "type": "object",
        "required": [
          "message",
          "field",
          "rejectedValue"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "A localised string that explains the error.\n\nThe language of this message will depend on the value of the \"Accept-Langugage\"\nheader sent in the request."
          },
          "field": {
            "type": "string",
            "description": "The field that has failed validation, and to which the `message` pertains."
          },
          "rejectedValue": {
            "type": "string"
          }
        }
      },
      "Errors.ValidationErrorsResponse": {
        "type": "object",
        "required": [
          "type",
          "errors"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "ValidationError"
            ]
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Errors.ValidationError"
            }
          }
        }
      },
      "Faq.User.FaqCategory": {
        "type": "object",
        "required": [
          "id",
          "slug",
          "title",
          "body",
          "groups"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "body": {
            "type": "string",
            "description": "Introductory HTML shown above the category's groups."
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Faq.User.FaqGroup"
            },
            "description": "The category's groups, in display order."
          }
        },
        "X-Model-Name": "FaqCategory"
      },
      "Faq.User.FaqCategoryReference": {
        "type": "object",
        "required": [
          "id",
          "slug",
          "title"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string",
            "description": "Addresses the category's own page, e.g. `kunder` for `/faq/kunder`."
          },
          "title": {
            "type": "string"
          }
        },
        "description": "A category named but not resolved, for listing every knowledge base on one page.",
        "X-Model-Name": "FaqCategoryReference"
      },
      "Faq.User.FaqGroup": {
        "type": "object",
        "required": [
          "id",
          "name",
          "entries"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Faq.User.FaqGroupEntry"
            }
          }
        },
        "X-Model-Name": "FaqGroup"
      },
      "Faq.User.FaqGroupEntry": {
        "type": "object",
        "required": [
          "id",
          "title",
          "body"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "body": {
            "type": "string"
          }
        },
        "X-Model-Name": "FaqGroupEntry"
      },
      "Faq.User.FaqIndex": {
        "type": "object",
        "required": [
          "entries"
        ],
        "properties": {
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Faq.User.FaqIndexEntry"
            }
          }
        },
        "X-Model-Name": "FaqIndex"
      },
      "Faq.User.FaqIndexEntry": {
        "type": "object",
        "required": [
          "groupId",
          "routePattern"
        ],
        "properties": {
          "groupId": {
            "type": "string"
          },
          "routePattern": {
            "type": "string"
          }
        },
        "X-Model-Name": "FaqIndexEntry"
      },
      "FylkeListingItem": {
        "type": "object",
        "required": [
          "name",
          "number"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "number": {
            "type": "string"
          }
        }
      },
      "GiftCard.CheckGiftCardBalance": {
        "type": "object",
        "required": [
          "giftCardCode",
          "pin"
        ],
        "properties": {
          "giftCardCode": {
            "type": "string",
            "maxLength": 64
          },
          "pin": {
            "type": "string",
            "maxLength": 64
          }
        }
      },
      "GiftCard.CheckRedemptionReservationAmount": {
        "type": "object",
        "required": [
          "giftCardCode",
          "pin",
          "amount"
        ],
        "properties": {
          "giftCardCode": {
            "type": "string",
            "maxLength": 64
          },
          "pin": {
            "type": "string",
            "maxLength": 64
          },
          "amount": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100000
          }
        }
      },
      "GiftCard.CheckRedemptionReservationAmountResponse": {
        "type": "object",
        "required": [
          "reservationBalance",
          "redemptionPossible"
        ],
        "properties": {
          "reservationBalance": {
            "type": "string"
          },
          "redemptionPossible": {
            "type": "boolean"
          }
        }
      },
      "GiftCard.DeleteGiftCardReservationRequest": {
        "type": "object",
        "required": [
          "paymentId",
          "orderNumber"
        ],
        "properties": {
          "paymentId": {
            "type": "string",
            "maxLength": 64
          },
          "orderNumber": {
            "type": "string"
          }
        }
      },
      "GiftCard.DeleteRedemptionReservationRequest": {
        "type": "object",
        "required": [
          "giftCardCode"
        ],
        "properties": {
          "giftCardCode": {
            "type": "string",
            "maxLength": 64
          },
          "shoppingCartId": {
            "type": "string",
            "maxLength": 64
          }
        }
      },
      "GiftCard.DownloadGiftCardPdf": {
        "type": "object",
        "required": [
          "giftCardCode",
          "pin"
        ],
        "properties": {
          "giftCardCode": {
            "type": "string",
            "maxLength": 64
          },
          "pin": {
            "type": "string",
            "maxLength": 64
          }
        }
      },
      "GiftCard.GetPaymentProcessDetailsRequest": {
        "type": "object",
        "required": [
          "orderNumber",
          "paymentId"
        ],
        "properties": {
          "orderNumber": {
            "type": "string",
            "maxLength": 64,
            "pattern": "[a-zA-Z0-9]+"
          },
          "paymentId": {
            "type": "string",
            "maxLength": 64,
            "pattern": "[a-zA-Z0-9]+"
          }
        }
      },
      "GiftCard.GetReceiptRequest": {
        "type": "object",
        "required": [
          "paymentId",
          "receiptToken"
        ],
        "properties": {
          "paymentId": {
            "type": "string"
          },
          "receiptToken": {
            "type": "string"
          }
        }
      },
      "GiftCard.GetReceiptResponse": {
        "type": "object",
        "required": [
          "price",
          "amount",
          "receiptRecipientEmail",
          "giftCardRecipientEmail",
          "giftCardNumber",
          "pin"
        ],
        "properties": {
          "price": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "receiptRecipientEmail": {
            "type": "string"
          },
          "giftCardRecipientEmail": {
            "type": "string"
          },
          "giftCardNumber": {
            "type": "string"
          },
          "pin": {
            "type": "string"
          }
        }
      },
      "GiftCard.ProcessGiftCardPaymentRequest": {
        "type": "object",
        "required": [
          "paymentId"
        ],
        "properties": {
          "paymentId": {
            "type": "string",
            "maxLength": 64
          }
        }
      },
      "GiftCard.ProcessPaymentLinks": {
        "type": "object",
        "required": [
          "receipt",
          "downloadPdf"
        ],
        "properties": {
          "receipt": {
            "type": "string"
          },
          "downloadPdf": {
            "type": "string"
          }
        }
      },
      "GiftCard.ProcessPaymentResponse": {
        "type": "object",
        "required": [
          "receiptToken"
        ],
        "properties": {
          "receiptToken": {
            "type": "string"
          }
        }
      },
      "GiftCard.ReserveGiftCard": {
        "type": "object",
        "required": [
          "receiptRecipientEmail",
          "giftCardRecipientEmail",
          "amount"
        ],
        "properties": {
          "receiptRecipientEmail": {
            "type": "string",
            "format": "email"
          },
          "giftCardRecipientEmail": {
            "type": "string",
            "format": "email"
          },
          "amount": {
            "type": "integer",
            "minimum": 200,
            "maximum": 100000
          }
        }
      },
      "GiftCard.ReserveRedemptionRequest": {
        "type": "object",
        "required": [
          "giftCardCode",
          "pin",
          "amount"
        ],
        "properties": {
          "giftCardCode": {
            "type": "string",
            "maxLength": 64
          },
          "pin": {
            "type": "string",
            "maxLength": 64
          },
          "amount": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100000
          },
          "shoppingCartId": {
            "type": "string",
            "maxLength": 64
          }
        }
      },
      "GiftCard.ReserverGiftCardRedemptionOkResponse": {
        "type": "object",
        "required": [
          "coverage",
          "availableAmount"
        ],
        "properties": {
          "coverage": {
            "type": "string",
            "enum": [
              "full",
              "partial"
            ]
          },
          "availableAmount": {
            "type": "integer"
          }
        }
      },
      "Helpdesk.CreateSupportTicketBody": {
        "type": "object",
        "required": [
          "body",
          "currentPath",
          "user"
        ],
        "properties": {
          "sellerId": {
            "type": "string",
            "description": "If the user is acting as a seller, the seller's ID."
          },
          "body": {
            "type": "string",
            "description": "The contents of the support ticket."
          },
          "currentPath": {
            "type": "string",
            "description": "The path the user is sending the support ticket from."
          },
          "user": {
            "$ref": "#/components/schemas/Helpdesk.User.Union"
          }
        },
        "X-Model-Name": "HelpdeskCreateSupportTicketBody"
      },
      "Helpdesk.User.LoggedIn": {
        "type": "object",
        "required": [
          "type",
          "userId"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "loggedIn"
            ]
          },
          "userId": {
            "type": "string"
          }
        },
        "X-Model-Name": "HelpdeskCreateSupportTicketBodyLoggedInUser"
      },
      "Helpdesk.User.LoggedOut": {
        "type": "object",
        "required": [
          "type",
          "email"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "loggedOut"
            ]
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          }
        },
        "X-Model-Name": "HelpdeskCreateSupportTicketBodyLoggedOutUser"
      },
      "Helpdesk.User.Union": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Helpdesk.User.LoggedIn"
          },
          {
            "$ref": "#/components/schemas/Helpdesk.User.LoggedOut"
          }
        ],
        "X-Model-Name": "HelpdeskCreateSupportTicketBodyUserUnion"
      },
      "I18n.ApiLocale": {
        "type": "string",
        "enum": [
          "no",
          "en"
        ]
      },
      "I18n.LocalisedText.MaybeTranslated": {
        "type": "object",
        "required": [
          "nb"
        ],
        "properties": {
          "nb": {
            "type": "string",
            "minLength": 1
          },
          "en": {
            "type": "string",
            "minLength": 1
          }
        },
        "description": "Text where there exists at least a Norwegian version, but other languages\nare optional.",
        "X-Model-Name": "LocalisedTextMaybeTranslated"
      },
      "Invitations.Customer.Decision": {
        "type": "string",
        "enum": [
          "Accepted",
          "Declined"
        ]
      },
      "Invitations.Customer.UpdateInvitationDecisionBody": {
        "type": "object",
        "properties": {
          "decision": {
            "$ref": "#/components/schemas/Invitations.Customer.Decision"
          }
        }
      },
      "Invitations.Customer.WaitingInvitation": {
        "type": "object",
        "required": [
          "id",
          "sellerName",
          "sentDate",
          "role"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "sellerName": {
            "type": "string"
          },
          "sentDate": {
            "type": "string",
            "format": "date"
          },
          "role": {
            "$ref": "#/components/schemas/Invitations.InvitationRole"
          }
        },
        "description": "An invitation sent to a user, that is yet to be either accepted or declined."
      },
      "Invitations.InvitationRole": {
        "type": "string",
        "enum": [
          "User",
          "Admin",
          "Inspection"
        ]
      },
      "Invitations.Seller.InviteUserBody": {
        "type": "object",
        "required": [
          "email",
          "role"
        ],
        "properties": {
          "email": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Invitations.InvitationRole"
          }
        }
      },
      "Invitations.Seller.InviteUserConflictResponseBody": {
        "type": "object",
        "required": [
          "reason"
        ],
        "properties": {
          "reason": {
            "type": "string",
            "enum": [
              "AlreadyInvited",
              "AlreadyHasAccess"
            ]
          }
        }
      },
      "Invitations.Seller.InviteUserOkResponseBody": {
        "type": "object",
        "required": [
          "invitationId",
          "isEmailSent"
        ],
        "properties": {
          "invitationId": {
            "type": "string"
          },
          "isEmailSent": {
            "type": "boolean"
          }
        }
      },
      "Invitations.Seller.ListInvitationsResponseBodyItem": {
        "type": "object",
        "required": [
          "id",
          "email",
          "sentDate",
          "role"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "sentDate": {
            "type": "string",
            "format": "date"
          },
          "role": {
            "$ref": "#/components/schemas/Invitations.InvitationRole"
          }
        }
      },
      "KommuneListingItem": {
        "type": "object",
        "required": [
          "name",
          "number"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "number": {
            "type": "string"
          }
        }
      },
      "Messages.SentEmailMessage": {
        "type": "object",
        "required": [
          "id",
          "type",
          "body",
          "subject",
          "sentDate"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "email"
            ]
          },
          "body": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "sentDate": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Messages.SentMessage": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Messages.SentEmailMessage"
          },
          {
            "$ref": "#/components/schemas/Messages.SentSMSMessage"
          }
        ]
      },
      "Messages.SentSMSMessage": {
        "type": "object",
        "required": [
          "id",
          "type",
          "body",
          "sentDate"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "sms"
            ]
          },
          "body": {
            "type": "string"
          },
          "sentDate": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Orders.CommonOrderDetails": {
        "type": "object",
        "required": [
          "id",
          "purchaseTime",
          "salesPageId",
          "salesPageType",
          "salesPageTitle",
          "salesPageImage",
          "productTitle",
          "cardNumber",
          "cardHolder",
          "cardHolderName",
          "orderNumber",
          "price",
          "validityDescription",
          "validityDates",
          "extrasDetails"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "purchaseTime": {
            "type": "string",
            "format": "date-time"
          },
          "salesPageId": {
            "type": "string"
          },
          "salesPageType": {
            "$ref": "#/components/schemas/SalesPages.Shared.Type"
          },
          "salesPageTitle": {
            "type": "string"
          },
          "salesPageImage": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          },
          "cardNumber": {
            "type": "string"
          },
          "cardHolder": {
            "type": "string",
            "deprecated": true
          },
          "cardHolderName": {
            "type": "string"
          },
          "cardHolderPhone": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "orderNumber": {
            "type": "string"
          },
          "price": {
            "type": "number",
            "format": "decimal"
          },
          "validityDescription": {
            "type": "string",
            "description": "Contains an opinionated description of the dates the card\nis valid for. Dates are formatted in Norwegian format e.g.\n(24.12.2024). The string can contain Norwegian text for\nperiods (e.g. \"fra\", \"til\") or specific times of day as well.",
            "example": "01.03.2024, 02.03.2024, 03.03.2024"
          },
          "validityDates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            },
            "description": "Contains all valid dates in machine readable format."
          },
          "extrasDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Common.ExtrasDetails"
            }
          }
        }
      },
      "Orders.CommonOrderLinks": {
        "type": "object",
        "required": [
          "self",
          "salesPage"
        ],
        "properties": {
          "self": {
            "type": "string",
            "description": "Link to fetching complete information about this order"
          },
          "salesPage": {
            "type": "string",
            "description": "Link to fetching information about the sales page this was\nordered from"
          }
        }
      },
      "Orders.CustomSalesPageInput": {
        "type": "object",
        "required": [
          "id",
          "label",
          "value"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "Orders.OrderDetails": {
        "type": "object",
        "required": [
          "id",
          "purchaseTime",
          "salesPageId",
          "salesPageType",
          "salesPageTitle",
          "salesPageImage",
          "productTitle",
          "cardNumber",
          "cardHolder",
          "cardHolderName",
          "orderNumber",
          "price",
          "validityDescription",
          "validityDates",
          "extrasDetails",
          "purchasedBy",
          "seller",
          "serviceFee",
          "vat",
          "vatPercent"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "purchaseTime": {
            "type": "string",
            "format": "date-time"
          },
          "salesPageId": {
            "type": "string"
          },
          "salesPageType": {
            "$ref": "#/components/schemas/SalesPages.Shared.Type"
          },
          "salesPageTitle": {
            "type": "string"
          },
          "salesPageImage": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          },
          "cardNumber": {
            "type": "string"
          },
          "cardHolder": {
            "type": "string",
            "deprecated": true
          },
          "cardHolderName": {
            "type": "string"
          },
          "cardHolderPhone": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "orderNumber": {
            "type": "string"
          },
          "price": {
            "type": "number",
            "format": "decimal"
          },
          "validityDescription": {
            "type": "string",
            "description": "Contains an opinionated description of the dates the card\nis valid for. Dates are formatted in Norwegian format e.g.\n(24.12.2024). The string can contain Norwegian text for\nperiods (e.g. \"fra\", \"til\") or specific times of day as well.",
            "example": "01.03.2024, 02.03.2024, 03.03.2024"
          },
          "validityDates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            },
            "description": "Contains all valid dates in machine readable format."
          },
          "extrasDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Common.ExtrasDetails"
            }
          },
          "purchasedBy": {
            "$ref": "#/components/schemas/Orders.Purchaser"
          },
          "seller": {
            "$ref": "#/components/schemas/Orders.SimpleSellerDetail"
          },
          "serviceFee": {
            "type": "number",
            "format": "decimal"
          },
          "vat": {
            "type": "number",
            "format": "decimal"
          },
          "vatPercent": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "Orders.OrderLinks": {
        "type": "object",
        "required": [
          "self",
          "salesPage"
        ],
        "properties": {
          "self": {
            "type": "string",
            "description": "Link to fetching complete information about this order"
          },
          "salesPage": {
            "type": "string",
            "description": "Link to fetching information about the sales page this was\nordered from"
          },
          "catchReporting": {
            "type": "string"
          },
          "receipt": {
            "type": "string",
            "description": "Link to fetching receipt data for the order."
          }
        }
      },
      "Orders.OrderListingItemDetails": {
        "type": "object",
        "required": [
          "id",
          "purchaseTime",
          "salesPageId",
          "salesPageType",
          "salesPageTitle",
          "salesPageImage",
          "productTitle",
          "cardNumber",
          "cardHolder",
          "cardHolderName",
          "orderNumber",
          "price",
          "validityDescription",
          "validityDates",
          "extrasDetails",
          "purchasedBy",
          "salesChannel",
          "status"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "purchaseTime": {
            "type": "string",
            "format": "date-time"
          },
          "salesPageId": {
            "type": "string"
          },
          "salesPageType": {
            "$ref": "#/components/schemas/SalesPages.Shared.Type"
          },
          "salesPageTitle": {
            "type": "string"
          },
          "salesPageImage": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          },
          "cardNumber": {
            "type": "string"
          },
          "cardHolder": {
            "type": "string",
            "deprecated": true
          },
          "cardHolderName": {
            "type": "string"
          },
          "cardHolderPhone": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "orderNumber": {
            "type": "string"
          },
          "price": {
            "type": "number",
            "format": "decimal"
          },
          "validityDescription": {
            "type": "string",
            "description": "Contains an opinionated description of the dates the card\nis valid for. Dates are formatted in Norwegian format e.g.\n(24.12.2024). The string can contain Norwegian text for\nperiods (e.g. \"fra\", \"til\") or specific times of day as well.",
            "example": "01.03.2024, 02.03.2024, 03.03.2024"
          },
          "validityDates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            },
            "description": "Contains all valid dates in machine readable format."
          },
          "extrasDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Common.ExtrasDetails"
            }
          },
          "purchasedBy": {
            "$ref": "#/components/schemas/Orders.Purchaser"
          },
          "salesChannel": {
            "$ref": "#/components/schemas/Orders.SalesChannel"
          },
          "status": {
            "$ref": "#/components/schemas/Sales.OrderStatus"
          },
          "customSalesPageInputs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Orders.CustomSalesPageInput"
            }
          }
        }
      },
      "Orders.OrderListingItemLinks": {
        "type": "object",
        "required": [
          "self",
          "salesPage"
        ],
        "properties": {
          "self": {
            "type": "string",
            "description": "Link to fetching complete information about this order"
          },
          "salesPage": {
            "type": "string",
            "description": "Link to fetching information about the sales page this was\nordered from"
          }
        }
      },
      "Orders.Purchaser": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "phone": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "email": {
            "type": "string"
          }
        },
        "description": "Personal details about a purchaser. Since purchases can be done\nwithout being logged in information can be sparse, and thus all\nfields are optional."
      },
      "Orders.SalesChannel": {
        "type": "string",
        "enum": [
          "Online",
          "Forhandler",
          "Manual",
          "SMS",
          "ApplicationBased",
          "Fiskekortapp"
        ]
      },
      "Orders.SimpleSellerDetail": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "organizationNumber": {
            "type": "string"
          }
        }
      },
      "PermitInspection.GenerateActivityReportResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "$ref": "#/components/schemas/Reports.ReportReference"
              }
            }
          }
        ]
      },
      "PermitInspection.InspectedActivation": {
        "type": "object",
        "required": [
          "date",
          "area"
        ],
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "area": {
            "type": "string"
          }
        }
      },
      "PermitInspection.InspectedPermit": {
        "type": "object",
        "required": [
          "owner",
          "cardNumber",
          "salespageId",
          "salespageTitle",
          "salespageType",
          "sellerName",
          "validPeriod"
        ],
        "properties": {
          "owner": {
            "type": "string"
          },
          "cardNumber": {
            "type": "string"
          },
          "salespageId": {
            "type": "string"
          },
          "salespageTitle": {
            "type": "string"
          },
          "salespageThumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "salespageType": {
            "$ref": "#/components/schemas/Common.SalesPageType"
          },
          "sellerName": {
            "type": "string"
          },
          "validPeriod": {
            "type": "string"
          },
          "hunterId": {
            "type": "string"
          },
          "inspectedActivations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermitInspection.InspectedActivation"
            }
          }
        }
      },
      "PermitInspection.Seller": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "Permits.Activation": {
        "type": "object",
        "required": [
          "activationId",
          "permitId",
          "activatedDate",
          "salesPageTitle",
          "permitName",
          "subarea"
        ],
        "properties": {
          "activationId": {
            "type": "string"
          },
          "permitId": {
            "type": "string"
          },
          "activatedDate": {
            "type": "string",
            "format": "date"
          },
          "salesPageTitle": {
            "type": "string"
          },
          "permitName": {
            "type": "string"
          },
          "subarea": {
            "type": "string"
          }
        }
      },
      "Permits.UnactivatedPermit": {
        "type": "object",
        "required": [
          "id",
          "dates",
          "salesPage",
          "price",
          "permitName",
          "canBeActivated",
          "phone"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "dates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            }
          },
          "salesPage": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "title"
            ]
          },
          "price": {
            "type": "number"
          },
          "permitName": {
            "type": "string"
          },
          "canBeActivated": {
            "type": "boolean"
          },
          "phone": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          }
        }
      },
      "PostalInformation.GetPostalInformationResponse": {
        "type": "object",
        "required": [
          "postcode",
          "city",
          "fylke",
          "kommune"
        ],
        "properties": {
          "postcode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "fylke": {
            "type": "string"
          },
          "kommune": {
            "$ref": "#/components/schemas/PostalInformation.KommuneListingItem"
          }
        }
      },
      "PostalInformation.KommuneListingItem": {
        "type": "object",
        "required": [
          "name",
          "number"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "number": {
            "type": "string"
          }
        }
      },
      "PrivacyPolicy.LastUpdatedResponse": {
        "type": "object",
        "required": [
          "date"
        ],
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Purchases.Checkout.Address": {
        "type": "object",
        "required": [
          "addressLine1",
          "city",
          "country"
        ],
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          }
        }
      },
      "Purchases.Checkout.CreateCheckout200Response": {
        "type": "object",
        "required": [
          "checkoutId"
        ],
        "properties": {
          "checkoutId": {
            "type": "string"
          }
        }
      },
      "Purchases.Checkout.CreateCheckoutBody": {
        "type": "object",
        "required": [
          "shoppingCartId",
          "acceptedTermsIds"
        ],
        "properties": {
          "shoppingCartId": {
            "type": "string"
          },
          "acceptedTermsIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of sales terms keys that the user accepts upon creating the checkout.\nThe required terms for a given reservation list is returned from GET /v1/reservations/{shoppingCartId}\nThere items in this field must be equal to the keys for the required userTermsAccepts."
          }
        }
      },
      "Purchases.Checkout.GetCheckoutResponseBody": {
        "type": "object",
        "required": [
          "prices",
          "reservations"
        ],
        "properties": {
          "prices": {
            "$ref": "#/components/schemas/Purchases.Checkout.GetCheckoutResponseBodyPrices"
          },
          "reservations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purchases.Reservations.Reservation"
            }
          }
        }
      },
      "Purchases.Checkout.GetCheckoutResponseBodyPrices": {
        "type": "object",
        "required": [
          "serviceFee",
          "totalPrice",
          "smsFee"
        ],
        "properties": {
          "serviceFee": {
            "type": "string"
          },
          "totalPrice": {
            "type": "string"
          },
          "smsFee": {
            "type": "string"
          }
        }
      },
      "Purchases.Checkout.LoggedInConsumerPreview": {
        "type": "object",
        "required": [
          "email",
          "phoneNumber",
          "fullName"
        ],
        "properties": {
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "fullName": {
            "$ref": "#/components/schemas/Common.FullName"
          },
          "address": {
            "$ref": "#/components/schemas/Purchases.Checkout.Address"
          }
        }
      },
      "Purchases.Checkout.LoggedInConsumerPreviewBody": {
        "type": "object",
        "required": [
          "consumer"
        ],
        "properties": {
          "consumer": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Purchases.Checkout.LoggedInConsumerPreview"
              }
            ],
            "description": "Payment information used to create the payment for this checkout."
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Errors.ValidationError"
            },
            "description": "Validation for consumer data.\nIf null, the user's data is valid for creating a payment.\nIf not null, the fields at these paths are invalid and the user\nmust fix them to complete the purchase."
          }
        }
      },
      "Purchases.Payment.AnonymousPaymentConsumer": {
        "type": "object",
        "required": [
          "email",
          "phoneNumber",
          "firstName",
          "lastName",
          "address"
        ],
        "properties": {
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "companyContactFirstName": {
            "type": "string"
          },
          "companyContactLastName": {
            "type": "string"
          },
          "address": {
            "$ref": "#/components/schemas/Purchases.Payment.AnonymousPaymentConsumerAddress"
          }
        }
      },
      "Purchases.Payment.AnonymousPaymentConsumerAddress": {
        "type": "object",
        "required": [
          "addressLine1",
          "city",
          "country"
        ],
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          }
        }
      },
      "Purchases.Payment.CreatePayment200Response": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Purchases.Payment.PaymentCreated"
          },
          {
            "$ref": "#/components/schemas/Purchases.Payment.ZeroAmountPurchaseCompleted"
          }
        ]
      },
      "Purchases.Payment.CreatePaymentBody": {
        "type": "object",
        "required": [
          "checkoutId",
          "acceptNewsletter",
          "paymentSuccessUrl",
          "paymentCancelledUrl"
        ],
        "properties": {
          "checkoutId": {
            "type": "string"
          },
          "acceptNewsletter": {
            "type": "boolean",
            "description": "Whether or not the user agrees to subscribe to Inatur's newsletter."
          },
          "anonymousPaymentConsumer": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Purchases.Payment.AnonymousPaymentConsumer"
              }
            ],
            "description": "Information about the consumer making the payment.\n\nIt is only necessary to send this if no user bearer token is sent with the\nrequest; when a token is sent, the user associated with the token is recorded\nas the payment consumer."
          },
          "specifyConsumerDetails": {
            "type": "boolean",
            "description": "If true, shows the simple Nets form (payment details only, e.g., card or Vipps).\nIf false, shows the full Nets form (payment + address details)."
          },
          "paymentSuccessUrl": {
            "type": "string",
            "format": "uri",
            "description": "The URL to which the user will be taken to after the Nets transaction has successfully completed."
          },
          "paymentCancelledUrl": {
            "type": "string",
            "format": "uri",
            "description": "The URL to which the user will be taken to if the Nets transaction was cancelled."
          }
        }
      },
      "Purchases.Payment.PaymentCreated": {
        "type": "object",
        "required": [
          "type",
          "hostedPaymentPageUrl",
          "orderNumber"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "paymentCreated"
            ]
          },
          "hostedPaymentPageUrl": {
            "type": "string",
            "format": "uri"
          },
          "orderNumber": {
            "type": "string"
          }
        }
      },
      "Purchases.Payment.Receipt": {
        "type": "object",
        "required": [
          "orderNumber",
          "formattedIssueDate",
          "serviceFee",
          "totalPrice",
          "smsFee",
          "billingAccount",
          "salesPages",
          "vatSum"
        ],
        "properties": {
          "orderNumber": {
            "type": "string"
          },
          "formattedIssueDate": {
            "type": "string"
          },
          "serviceFee": {
            "type": "string"
          },
          "totalPrice": {
            "type": "string"
          },
          "smsFee": {
            "type": "string"
          },
          "billingAccount": {
            "$ref": "#/components/schemas/Purchases.Payment.ReceiptBillingAccount"
          },
          "salesPages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purchases.Payment.ReceiptSalesPage"
            }
          },
          "vatSum": {
            "$ref": "#/components/schemas/Purchases.Payment.VatSum"
          }
        }
      },
      "Purchases.Payment.ReceiptBillingAccount": {
        "type": "object",
        "required": [
          "id",
          "name",
          "email",
          "phoneNumber",
          "organizationNumber",
          "address"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "organizationNumber": {
            "type": "string"
          },
          "address": {
            "$ref": "#/components/schemas/Purchases.Payment.ReceiptBillingAccountAddress"
          }
        }
      },
      "Purchases.Payment.ReceiptBillingAccountAddress": {
        "type": "object",
        "required": [
          "addressLine1",
          "addressLine2",
          "postalCode",
          "city",
          "country"
        ],
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          }
        }
      },
      "Purchases.Payment.ReceiptSalesPage": {
        "type": "object",
        "required": [
          "id",
          "title",
          "link",
          "products"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "link": {
            "type": "string",
            "format": "uri"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purchases.Payment.ReceiptSalesPageProduct"
            }
          }
        }
      },
      "Purchases.Payment.ReceiptSalesPageProduct": {
        "type": "object",
        "required": [
          "id",
          "title",
          "productPrice",
          "formattedPeriod",
          "requiresActivation",
          "requiresCatchReport",
          "extras",
          "extrasDetails"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "productPrice": {
            "type": "string"
          },
          "cleaningFee": {
            "type": "string"
          },
          "formattedPeriod": {
            "type": "string"
          },
          "requiresActivation": {
            "type": "boolean"
          },
          "requiresCatchReport": {
            "type": "boolean"
          },
          "cardNumber": {
            "type": "string"
          },
          "extras": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "extrasDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Common.ExtrasDetails"
            }
          }
        }
      },
      "Purchases.Payment.VatSum": {
        "type": "object",
        "required": [
          "ordinary",
          "isOrdinary",
          "low",
          "isLow"
        ],
        "properties": {
          "ordinary": {
            "type": "string"
          },
          "isOrdinary": {
            "type": "boolean"
          },
          "low": {
            "type": "string"
          },
          "isLow": {
            "type": "boolean"
          }
        }
      },
      "Purchases.Payment.ZeroAmountPurchaseCompleted": {
        "type": "object",
        "required": [
          "type",
          "receiptUrl"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "zeroAmountPurchaseCompleted"
            ]
          },
          "receiptUrl": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Purchases.Reservations.AssignLicenseesBody": {
        "type": "object",
        "required": [
          "licenseeAssignments"
        ],
        "properties": {
          "licenseeAssignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purchases.Reservations.LicenseeAssignment"
            }
          }
        }
      },
      "Purchases.Reservations.CreateReservation200ResponseBody": {
        "type": "object",
        "required": [
          "shoppingCartId",
          "expirationTimestamp",
          "reservationIds"
        ],
        "properties": {
          "shoppingCartId": {
            "type": "string",
            "description": "A new shopping cart ID if one was not passed as part of the request, or\nthe same ID if one was."
          },
          "expirationTimestamp": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp at which the reservations in the shopping cart will expire.\n\nAfter this timestamp has passed, it will no longer be possible to assign\nlicensees to the reservations or move forward to the checkout stage."
          },
          "reservationIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of IDs, each representing a reservation.\n\nIf a `count` field was passed as part of `productData`, this list will\ncontain that number of reservations."
          }
        }
      },
      "Purchases.Reservations.CreateReservation200ResponseLinks": {
        "type": "object",
        "required": [
          "assignLicensees"
        ],
        "properties": {
          "assignLicensees": {
            "type": "string",
            "format": "uri",
            "description": "A link to the POST-endpoint at which licensees can be assigned to the reservation."
          }
        }
      },
      "Purchases.Reservations.CreateReservationBody": {
        "type": "object",
        "required": [
          "salesPageId",
          "productId",
          "productData"
        ],
        "properties": {
          "shoppingCartId": {
            "type": "string",
            "description": "An ID that uniquely identifies the user's shopping cart.\n\nThis value should be left empty for the user's first reservation in a\nsession. A new ID will be returned as part of the response, which should\nbe sent in subsequent reservation requests to associate them with the same\nshopping cart."
          },
          "salesPageId": {
            "type": "string",
            "description": "The ID of the sales page which the product belongs to."
          },
          "productId": {
            "type": "string",
            "description": "The ID of the product being reserved."
          },
          "productData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Purchases.Reservations.ProductData.Union"
              }
            ],
            "description": "Details about the reservation specific to the product being reserved."
          }
        }
      },
      "Purchases.Reservations.CustomFieldValue": {
        "type": "object",
        "required": [
          "id",
          "value"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "Purchases.Reservations.ExtendExpirationResponseBody": {
        "type": "object",
        "required": [
          "expirationTimestamp"
        ],
        "properties": {
          "expirationTimestamp": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp at which the reservations in the shopping cart will expire.\n\nAfter this timestamp has passed, it will no longer be possible to assign\nlicensees to the reservations or move forward to the checkout stage."
          }
        }
      },
      "Purchases.Reservations.GetReservationsResponseBody": {
        "type": "object",
        "required": [
          "shoppingCartId",
          "expirationTimestamp",
          "requiredUserTermsAcceptance",
          "prices",
          "reservations"
        ],
        "properties": {
          "shoppingCartId": {
            "type": "string"
          },
          "expirationTimestamp": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp at which the reservations in the shopping cart will expire.\n\nAfter this timestamp has passed, it will no longer be possible to assign\nlicensees to the reservations or move forward to the checkout stage."
          },
          "requiredUserAccepts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of IDs referencing terms and conditions that the user has to accept.\n\nThese IDs must be passed in the request body when calling the\n\"POST /checkout\" endpoint, as confirmation that the user has accepted them.",
            "deprecated": true
          },
          "requiredUserTermsAcceptance": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purchases.Reservations.UserTermsAcceptance"
            }
          },
          "prices": {
            "type": "object",
            "properties": {
              "serviceFee": {
                "type": "string"
              },
              "totalPrice": {
                "type": "string"
              },
              "smsFee": {
                "type": "string"
              },
              "vatSum": {
                "$ref": "#/components/schemas/Purchases.Payment.VatSum"
              }
            },
            "required": [
              "serviceFee",
              "totalPrice",
              "vatSum"
            ]
          },
          "reservations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purchases.Reservations.Reservation"
            }
          }
        }
      },
      "Purchases.Reservations.Licensee": {
        "type": "object",
        "required": [
          "name",
          "email",
          "phoneNumber"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "municipality": {
            "type": "string"
          },
          "membershipNumber": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "hunterNumber": {
            "type": "string"
          },
          "birthDate": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Purchases.Reservations.LicenseeAssignment": {
        "type": "object",
        "required": [
          "reservationId",
          "licensee"
        ],
        "properties": {
          "reservationId": {
            "type": "string",
            "description": "The ID of the reservation being assigned to."
          },
          "licensee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Purchases.Reservations.Licensee"
              }
            ],
            "description": "Details about the individual to whom the license will be assigned."
          },
          "customFieldValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purchases.Reservations.CustomFieldValue"
            },
            "description": "Input corresponding to custom fields requested by the seller."
          }
        }
      },
      "Purchases.Reservations.ProductData.AssociationPermit": {
        "type": "object",
        "required": [
          "type",
          "reservationCount"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "associationPermit"
            ]
          },
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          }
        }
      },
      "Purchases.Reservations.ProductData.BigGameIndividualPermit": {
        "type": "object",
        "required": [
          "type",
          "reservationCount"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "bigGameIndividualPermit"
            ]
          },
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          }
        }
      },
      "Purchases.Reservations.ProductData.BigGamePermit": {
        "type": "object",
        "required": [
          "type",
          "reservationCount"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "bigGamePermit"
            ]
          },
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          },
          "productExtraIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The IDs of any selected product extras. These IDs are the same as those in\n`SalesPages.Shared.ProductExtra`."
          }
        }
      },
      "Purchases.Reservations.ProductData.Cabin": {
        "type": "object",
        "required": [
          "type",
          "dates"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "cabin"
            ]
          },
          "productExtraIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The IDs of any selected product extras. These IDs are the same as those in\n`SalesPages.Shared.ProductExtra`."
          },
          "dates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            },
            "minItems": 1,
            "description": "The dates on which the product instance should be reserved for."
          }
        }
      },
      "Purchases.Reservations.ProductData.DrawBasedProduct": {
        "type": "object",
        "required": [
          "type",
          "reservationCount"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "drawBasedProduct"
            ]
          },
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          }
        }
      },
      "Purchases.Reservations.ProductData.FishingPermit": {
        "type": "object",
        "required": [
          "type",
          "reservationCount",
          "dates"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "fishingPermit"
            ]
          },
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          },
          "dates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            },
            "minItems": 1,
            "description": "The dates on which the product instance should be reserved for."
          },
          "productExtraIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The IDs of any selected product extras. These IDs are the same as those in\n`SalesPages.Shared.ProductExtra`."
          },
          "startTime": {
            "type": "string",
            "format": "time",
            "description": "A fishing permit can be configured to allow or disallow a custom start time.\n\nReference the `hasUserSpecifiedStartTime` field on\n`SalesPages.Shared.FishingPermit` to determine if the permit requires that\na custom start time be given."
          }
        }
      },
      "Purchases.Reservations.ProductData.FixedPeriodMunicipalityProduct": {
        "type": "object",
        "required": [
          "type",
          "reservationCount",
          "municipality"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "fixedPeriodMunicipalityProduct"
            ]
          },
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          },
          "productExtraIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The IDs of any selected product extras. These IDs are the same as those in\n`SalesPages.Shared.ProductExtra`."
          },
          "municipality": {
            "$ref": "#/components/schemas/Common.Municipality"
          }
        }
      },
      "Purchases.Reservations.ProductData.FixedPeriodProduct": {
        "type": "object",
        "required": [
          "type",
          "reservationCount"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "fixedPeriodProduct"
            ]
          },
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          },
          "productExtraIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The IDs of any selected product extras. These IDs are the same as those in\n`SalesPages.Shared.ProductExtra`."
          }
        }
      },
      "Purchases.Reservations.ProductData.SmallGameDrawBasedPermit": {
        "type": "object",
        "required": [
          "type",
          "reservationCount"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "smallGameDrawBasedPermit"
            ]
          },
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          }
        }
      },
      "Purchases.Reservations.ProductData.SmallGamePermit": {
        "type": "object",
        "required": [
          "type",
          "reservationCount",
          "dates"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "smallGamePermit"
            ]
          },
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          },
          "productExtraIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The IDs of any selected product extras. These IDs are the same as those in\n`SalesPages.Shared.ProductExtra`."
          },
          "dates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            },
            "minItems": 1,
            "description": "The dates on which the product instance should be reserved for."
          }
        }
      },
      "Purchases.Reservations.ProductData.Union": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Purchases.Reservations.ProductData.BigGamePermit"
          },
          {
            "$ref": "#/components/schemas/Purchases.Reservations.ProductData.BigGameIndividualPermit"
          },
          {
            "$ref": "#/components/schemas/Purchases.Reservations.ProductData.SmallGamePermit"
          },
          {
            "$ref": "#/components/schemas/Purchases.Reservations.ProductData.Cabin"
          },
          {
            "$ref": "#/components/schemas/Purchases.Reservations.ProductData.FishingPermit"
          },
          {
            "$ref": "#/components/schemas/Purchases.Reservations.ProductData.FixedPeriodProduct"
          },
          {
            "$ref": "#/components/schemas/Purchases.Reservations.ProductData.FixedPeriodMunicipalityProduct"
          },
          {
            "$ref": "#/components/schemas/Purchases.Reservations.ProductData.DrawBasedProduct"
          },
          {
            "$ref": "#/components/schemas/Purchases.Reservations.ProductData.AssociationPermit"
          }
        ]
      },
      "Purchases.Reservations.ProductData.WithCount": {
        "type": "object",
        "required": [
          "reservationCount"
        ],
        "properties": {
          "reservationCount": {
            "type": "integer",
            "description": "The number of instances of the product to reserve, for instance the number\nof people in a reservation. This value must not be larger than the quantity\navailable, if such a limit exists (see the `total` and `totalPerSeason`\nvalues in the product definitions)."
          }
        }
      },
      "Purchases.Reservations.ProductData.WithDateList": {
        "type": "object",
        "required": [
          "dates"
        ],
        "properties": {
          "dates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            },
            "minItems": 1,
            "description": "The dates on which the product instance should be reserved for."
          }
        }
      },
      "Purchases.Reservations.ProductData.WithSelectedProductExtraIds": {
        "type": "object",
        "properties": {
          "productExtraIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The IDs of any selected product extras. These IDs are the same as those in\n`SalesPages.Shared.ProductExtra`."
          }
        }
      },
      "Purchases.Reservations.Reservation": {
        "type": "object",
        "required": [
          "id",
          "salesPage",
          "product",
          "extras",
          "extrasDetails",
          "price",
          "formattedPeriod"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "salesPage": {
            "$ref": "#/components/schemas/Purchases.Reservations.ReservationSalesPage"
          },
          "product": {
            "$ref": "#/components/schemas/Purchases.Reservations.ReservationProduct"
          },
          "extras": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "extrasDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Common.ExtrasDetails"
            }
          },
          "price": {
            "$ref": "#/components/schemas/Purchases.Reservations.ReservationPrice"
          },
          "formattedPeriod": {
            "type": "string"
          },
          "licensee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Purchases.Reservations.Licensee"
              }
            ],
            "description": "Information about the licensee, if they have been set."
          }
        }
      },
      "Purchases.Reservations.ReservationPrice": {
        "type": "object",
        "required": [
          "product"
        ],
        "properties": {
          "product": {
            "type": "string"
          },
          "cleaningFee": {
            "type": "string"
          }
        }
      },
      "Purchases.Reservations.ReservationProduct": {
        "type": "object",
        "required": [
          "id",
          "title"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      },
      "Purchases.Reservations.ReservationSalesPage": {
        "type": "object",
        "required": [
          "id",
          "title",
          "imageUrl",
          "link"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "link": {
            "type": "string"
          }
        }
      },
      "Purchases.Reservations.SalesTerms": {
        "type": "object",
        "required": [
          "id",
          "seeTermsLabel",
          "type"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The id that can be used to reference these terms when fetching from"
          },
          "seeTermsLabel": {
            "type": "string",
            "description": "The display text for a link that directs users to the terms and conditions.\nThis text will be shown as the clickable link text, while the `url` field\ncontains the destination URL. For example: \"See terms for Inatur\""
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "The url where a rich text representation for these terms can be fetched.\nSee"
          },
          "type": {
            "type": "string",
            "enum": [
              "inatur",
              "sales-page",
              "license"
            ]
          }
        }
      },
      "Purchases.Reservations.UserTermsAcceptance": {
        "type": "object",
        "required": [
          "key",
          "description",
          "accepts"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "accepts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purchases.Reservations.SalesTerms"
            }
          }
        }
      },
      "Purchases.Reservations.WithExpirationTimestamp": {
        "type": "object",
        "required": [
          "expirationTimestamp"
        ],
        "properties": {
          "expirationTimestamp": {
            "type": "string",
            "format": "date-time",
            "description": "The timestamp at which the reservations in the shopping cart will expire.\n\nAfter this timestamp has passed, it will no longer be possible to assign\nlicensees to the reservations or move forward to the checkout stage."
          }
        }
      },
      "Reports.Inatur.Agresso.GenerateReconcilationReportResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "$ref": "#/components/schemas/Reports.ReportReference"
              }
            }
          }
        ]
      },
      "Reports.LiveDashboard.Data": {
        "type": "object",
        "required": [
          "sellerId",
          "grossRevenue",
          "summationRow"
        ],
        "properties": {
          "sellerId": {
            "type": "string"
          },
          "lastRegisteredSale": {
            "type": "string"
          },
          "grossRevenue": {
            "$ref": "#/components/schemas/Reports.LiveDashboard.GrossRevenue"
          },
          "summationRow": {
            "$ref": "#/components/schemas/Reports.LiveDashboard.GrossRevenueRow"
          }
        }
      },
      "Reports.LiveDashboard.GrossRevenue": {
        "type": "object",
        "required": [
          "storviltRow",
          "smaaviltRow",
          "laksRow",
          "innlandsRow",
          "hytteRow",
          "diverseRow"
        ],
        "properties": {
          "storviltRow": {
            "$ref": "#/components/schemas/Reports.LiveDashboard.GrossRevenueRow"
          },
          "smaaviltRow": {
            "$ref": "#/components/schemas/Reports.LiveDashboard.GrossRevenueRow"
          },
          "laksRow": {
            "$ref": "#/components/schemas/Reports.LiveDashboard.GrossRevenueRow"
          },
          "innlandsRow": {
            "$ref": "#/components/schemas/Reports.LiveDashboard.GrossRevenueRow"
          },
          "hytteRow": {
            "$ref": "#/components/schemas/Reports.LiveDashboard.GrossRevenueRow"
          },
          "diverseRow": {
            "$ref": "#/components/schemas/Reports.LiveDashboard.GrossRevenueRow"
          }
        }
      },
      "Reports.LiveDashboard.GrossRevenueRow": {
        "type": "object",
        "required": [
          "yearlyRevenue",
          "monthlyRevenue",
          "dailyRevenue",
          "numberOfSales",
          "provision"
        ],
        "properties": {
          "yearlyRevenue": {
            "type": "number"
          },
          "monthlyRevenue": {
            "type": "number"
          },
          "dailyRevenue": {
            "type": "number"
          },
          "numberOfSales": {
            "type": "integer"
          },
          "provision": {
            "type": "number"
          }
        }
      },
      "Reports.ReportKind": {
        "type": "string",
        "enum": [
          "RetailerSettlementReport",
          "Other"
        ]
      },
      "Reports.ReportReference": {
        "type": "object",
        "required": [
          "reportId"
        ],
        "properties": {
          "reportId": {
            "type": "string"
          }
        }
      },
      "Reports.ReportStatus": {
        "type": "string",
        "enum": [
          "InProgress",
          "ReadyForDownload",
          "Failed"
        ]
      },
      "Reports.ReportStatusItem": {
        "type": "object",
        "required": [
          "id",
          "kind",
          "status"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/Reports.ReportKind"
          },
          "status": {
            "$ref": "#/components/schemas/Reports.ReportStatus"
          }
        }
      },
      "Reports.Scanatura.GetEconomyReportUrlResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        ]
      },
      "Reports.Scanatura.GetFangstrapportUrlResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        ]
      },
      "Reports.Seller.Activity.GenerateCabinReportResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "$ref": "#/components/schemas/Reports.ReportReference"
              }
            }
          }
        ]
      },
      "Reports.Seller.Activity.GenerateOtherProductsReportResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "$ref": "#/components/schemas/Reports.ReportReference"
              }
            }
          }
        ]
      },
      "Reports.Seller.HuntingReports.GenerateActivationReportResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "$ref": "#/components/schemas/Reports.ReportReference"
              }
            }
          }
        ]
      },
      "Reports.Seller.HuntingReports.GenerateSmallGameReportResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "$ref": "#/components/schemas/Reports.ReportReference"
              }
            }
          }
        ]
      },
      "Reports.Seller.Revenue.GeneratDetailedReportResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "$ref": "#/components/schemas/Reports.ReportReference"
              }
            }
          }
        ]
      },
      "Reports.Seller.Revenue.GenerateSimpleReportResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "$ref": "#/components/schemas/Reports.ReportReference"
              }
            }
          }
        ]
      },
      "Reports.Seller.TaxableTenancies.GetAvailableYearsResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Utilities.Year"
                }
              }
            }
          }
        ]
      },
      "Retailers.Retailer.AgreementSalesPage": {
        "type": "object",
        "required": [
          "id",
          "title",
          "kommuner",
          "type"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "kommuner": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "$ref": "#/components/schemas/Common.SalesPageType"
          }
        },
        "X-Model-Name": "RetailerAgreementSalesPage"
      },
      "Retailers.Retailer.AgreementSummary": {
        "type": "object",
        "required": [
          "sellerId",
          "sellerName",
          "salesPageCount",
          "salesPages",
          "lastUpdated"
        ],
        "properties": {
          "sellerId": {
            "type": "string"
          },
          "sellerName": {
            "type": "string"
          },
          "salesPageCount": {
            "type": "integer"
          },
          "salesPages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Retailers.Retailer.AgreementSalesPage"
            }
          },
          "lastUpdated": {
            "type": "string",
            "format": "date"
          }
        },
        "X-Model-Name": "RetailerAgreementSummary"
      },
      "Retailers.Retailer.ListAgreementsSortField": {
        "type": "string",
        "enum": [
          "Name",
          "LastUpdated",
          "SalesPageCount"
        ],
        "X-Model-Name": "RetailerAgreementsSortField"
      },
      "Retailers.Seller.Agreement": {
        "type": "object",
        "required": [
          "retailerName",
          "assignedSalesPages"
        ],
        "properties": {
          "retailerName": {
            "type": "string"
          },
          "assignedSalesPages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Retailers.Seller.AssignedSalesPageData"
            }
          }
        }
      },
      "Retailers.Seller.AssignedSalesPageData": {
        "type": "object",
        "required": [
          "salesPage",
          "permits"
        ],
        "properties": {
          "salesPage": {
            "$ref": "#/components/schemas/Retailers.Seller.SalesPage"
          },
          "permits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Retailers.Seller.AssignedSalesPagePermitData"
            }
          }
        }
      },
      "Retailers.Seller.AssignedSalesPagePermitData": {
        "type": "object",
        "required": [
          "isSelected",
          "permit"
        ],
        "properties": {
          "isSelected": {
            "type": "boolean",
            "description": "Whether the retailer has been granted permission to sell the permit."
          },
          "permit": {
            "$ref": "#/components/schemas/Retailers.Seller.Permit"
          }
        }
      },
      "Retailers.Seller.AvailableRetailer": {
        "type": "object",
        "required": [
          "id",
          "name",
          "postcode"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          }
        }
      },
      "Retailers.Seller.GenerateSettlementReportResponse": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "required": [
              "item"
            ],
            "properties": {
              "item": {
                "$ref": "#/components/schemas/Reports.ReportReference"
              }
            }
          }
        ]
      },
      "Retailers.Seller.GetInvoiceBasisResponseBody": {
        "type": "object",
        "required": [
          "invoiceBasisUrl"
        ],
        "properties": {
          "invoiceBasisUrl": {
            "type": "string"
          }
        }
      },
      "Retailers.Seller.ListRetailersSortField": {
        "type": "string",
        "enum": [
          "Name",
          "LastUpdated",
          "SalesPageCount"
        ],
        "X-Model-Name": "SellerRetailersSortField"
      },
      "Retailers.Seller.Permit": {
        "type": "object",
        "required": [
          "id",
          "title",
          "seasonFrom",
          "seasonTo",
          "isAvailable"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "seasonFrom": {
            "type": "string",
            "format": "date"
          },
          "seasonTo": {
            "type": "string",
            "format": "date"
          },
          "isAvailable": {
            "type": "boolean"
          }
        },
        "description": "A permit that a retailer can be given permission to sell."
      },
      "Retailers.Seller.Retailer": {
        "type": "object",
        "required": [
          "id",
          "name",
          "salesPageCount",
          "createdAt"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "salesPageCount": {
            "type": "integer"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "postcode": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Retailers.Seller.ReviseAgreementBody": {
        "type": "object",
        "required": [
          "permissions"
        ],
        "properties": {
          "permissions": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "description": "Mapping from sales page id to permit ids. Represents the sales page and products which the retailer can sell."
          }
        }
      },
      "Retailers.Seller.SalesPage": {
        "type": "object",
        "required": [
          "id",
          "title",
          "kommuner",
          "type"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "kommuner": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "$ref": "#/components/schemas/Common.SalesPageType"
          }
        }
      },
      "Retailers.Seller.UnassignedSalesPageData": {
        "type": "object",
        "required": [
          "salesPage",
          "permits"
        ],
        "properties": {
          "salesPage": {
            "$ref": "#/components/schemas/Retailers.Seller.SalesPage"
          },
          "permits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Retailers.Seller.UnassignedSalesPagePermitData"
            }
          }
        }
      },
      "Retailers.Seller.UnassignedSalesPagePermitData": {
        "type": "object",
        "required": [
          "isAvailable",
          "permit"
        ],
        "properties": {
          "isAvailable": {
            "type": "boolean",
            "description": "Whether the permit can be added to the list of permits sold by the retailer."
          },
          "permit": {
            "$ref": "#/components/schemas/Retailers.Seller.Permit"
          }
        }
      },
      "Sales.ActivationReceipt": {
        "type": "object",
        "required": [
          "id",
          "date",
          "personName",
          "area"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "personName": {
            "type": "string"
          },
          "area": {
            "type": "string"
          }
        }
      },
      "Sales.CabinRentalCalendar.Availability": {
        "type": "object",
        "required": [
          "date",
          "isAvailable"
        ],
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "isAvailable": {
            "type": "boolean"
          }
        }
      },
      "Sales.CabinRentalCalendar.InterlockedDays": {
        "type": "object",
        "required": [
          "isAllWeekends",
          "periods"
        ],
        "properties": {
          "isAllWeekends": {
            "type": "boolean"
          },
          "periods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Common.DatePeriod"
            }
          }
        }
      },
      "Sales.CabinRentalCalendar.Response": {
        "type": "object",
        "required": [
          "availability",
          "bookedDates",
          "interlockedDays"
        ],
        "properties": {
          "availability": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sales.CabinRentalCalendar.Availability"
            }
          },
          "bookedDates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            }
          },
          "interlockedDays": {
            "$ref": "#/components/schemas/Sales.CabinRentalCalendar.InterlockedDays"
          }
        }
      },
      "Sales.CabinRentalCalendar.UpdateRentalPeriodBody": {
        "type": "object",
        "required": [
          "from",
          "to"
        ],
        "properties": {
          "comment": {
            "type": "string"
          },
          "from": {
            "type": "string",
            "format": "date"
          },
          "to": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Sales.CabinRentalCalendar.UpdateRentalPeriodResponse": {
        "type": "object",
        "required": [
          "isEmailSent"
        ],
        "properties": {
          "isEmailSent": {
            "type": "boolean"
          }
        }
      },
      "Sales.NetsStatus": {
        "type": "string",
        "enum": [
          "ReadyForRegistration",
          "Registered",
          "CouldNotRegisterOrder",
          "PaymentInterruptedByCustomer",
          "PaymentFailed",
          "Paid",
          "NotNets"
        ]
      },
      "Sales.Order": {
        "type": "object",
        "required": [
          "id",
          "date",
          "salesPage",
          "product",
          "salesChannel",
          "customer",
          "permissions",
          "validDates"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "orderNumber": {
            "type": "string"
          },
          "permitNumber": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "salesPage": {
            "$ref": "#/components/schemas/Sales.OrderSalesPage"
          },
          "product": {
            "$ref": "#/components/schemas/Sales.OrderProduct"
          },
          "salesChannel": {
            "$ref": "#/components/schemas/Orders.SalesChannel"
          },
          "status": {
            "$ref": "#/components/schemas/Sales.OrderStatus"
          },
          "customer": {
            "$ref": "#/components/schemas/Sales.OrderCustomer"
          },
          "permissions": {
            "$ref": "#/components/schemas/Sales.OrderActionPermissions"
          },
          "detailedInformation": {
            "$ref": "#/components/schemas/Sales.OrderDetailedInformation"
          },
          "cardholder": {
            "type": "string"
          },
          "validDates": {
            "type": "string",
            "description": "Can contain HTML."
          }
        }
      },
      "Sales.OrderActionPermissions": {
        "type": "object",
        "required": [
          "canShowActivationReceipts",
          "canBeCancelled",
          "canChangeRentalPeriod",
          "canShowOrderReceipt"
        ],
        "properties": {
          "canShowActivationReceipts": {
            "type": "boolean"
          },
          "canBeCancelled": {
            "type": "boolean"
          },
          "canChangeRentalPeriod": {
            "type": "boolean"
          },
          "canShowOrderReceipt": {
            "type": "boolean"
          }
        }
      },
      "Sales.OrderCustomer": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "Sales.OrderDetailedInformation": {
        "type": "object",
        "properties": {
          "netsStatus": {
            "$ref": "#/components/schemas/Sales.NetsStatus"
          }
        }
      },
      "Sales.OrderProduct": {
        "type": "object",
        "required": [
          "id",
          "name",
          "price"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "price": {
            "type": "integer"
          }
        }
      },
      "Sales.OrderSalesPage": {
        "type": "object",
        "required": [
          "id",
          "title",
          "type",
          "thumbnailUrl"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Common.SalesPageType"
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Sales.OrderStatus": {
        "type": "string",
        "enum": [
          "Paid",
          "PaidButCancelled",
          "SmsPaymentFailed",
          "ShoppingCart",
          "Deleted",
          "Charging",
          "Cancelled",
          "Refunded"
        ]
      },
      "SalesPages.BigGame.AssociationPermit": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "customFields",
          "priorityGroup",
          "restriction",
          "allocation",
          "validPostcodes",
          "contractFrom",
          "contractTo",
          "quotas"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "bigGameAssociationPermit"
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "priorityGroup": {
            "$ref": "#/components/schemas/SalesPages.Draws.PriorityGroup"
          },
          "restriction": {
            "$ref": "#/components/schemas/SalesPages.Draws.Restriction"
          },
          "allocation": {
            "$ref": "#/components/schemas/SalesPages.Draws.ActivationAllocation"
          },
          "validPostcodes": {
            "$ref": "#/components/schemas/SalesPages.Draws.ValidPostcodes"
          },
          "contractFrom": {
            "type": "string"
          },
          "contractTo": {
            "type": "string"
          },
          "totalHuntersAllowed": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          },
          "quotas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.BigGame.AssociationPermitQuota"
            }
          },
          "priceTableId": {
            "type": "string"
          }
        }
      },
      "SalesPages.BigGame.AssociationPermitQuota": {
        "type": "object",
        "required": [
          "id",
          "name",
          "value",
          "species"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "species": {
            "$ref": "#/components/schemas/Species.Item"
          }
        }
      },
      "SalesPages.BigGame.DrawBasedPermit": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "customFields",
          "priorityGroup",
          "restriction",
          "allocation",
          "validPostcodes",
          "prices"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "bigGameDrawBasedPermit"
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "priorityGroup": {
            "$ref": "#/components/schemas/SalesPages.Draws.PriorityGroup"
          },
          "restriction": {
            "$ref": "#/components/schemas/SalesPages.Draws.Restriction"
          },
          "allocation": {
            "$ref": "#/components/schemas/SalesPages.Draws.ActivationAllocation"
          },
          "validPostcodes": {
            "$ref": "#/components/schemas/SalesPages.Draws.ValidPostcodes"
          },
          "priceTableId": {
            "type": "string"
          },
          "prices": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          }
        }
      },
      "SalesPages.BigGame.IndividualPermit": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "customFields",
          "priorityGroup",
          "restriction",
          "allocation",
          "validPostcodes",
          "contractFrom",
          "contractTo"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "bigGameIndividualPermit"
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "priorityGroup": {
            "$ref": "#/components/schemas/SalesPages.Draws.PriorityGroup"
          },
          "restriction": {
            "$ref": "#/components/schemas/SalesPages.Draws.Restriction"
          },
          "allocation": {
            "$ref": "#/components/schemas/SalesPages.Draws.ActivationAllocation"
          },
          "validPostcodes": {
            "$ref": "#/components/schemas/SalesPages.Draws.ValidPostcodes"
          },
          "contractFrom": {
            "type": "string"
          },
          "contractTo": {
            "type": "string"
          },
          "priceTable": {
            "type": "string"
          }
        }
      },
      "SalesPages.BigGame.Permit": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "hoursValid",
          "discounts",
          "addons",
          "customFields",
          "isExtraCard",
          "totalPerSeason",
          "total",
          "prices"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "bigGamePermit"
            ]
          },
          "hoursValid": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The validity of the permit, in hours."
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "storviltportalenOfferId": {
            "type": "string"
          },
          "isExtraCard": {
            "type": "boolean"
          },
          "totalPerSeason": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "total": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "prices": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          }
        }
      },
      "SalesPages.BigGame.PermitWithoutDraw": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "customFields",
          "quotas"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "bigGamePermitWithoutDraw"
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "quotas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.BigGame.AssociationPermitQuota"
            }
          },
          "total": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          }
        }
      },
      "SalesPages.BigGame.Product": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SalesPages.BigGame.Permit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.BigGame.DrawBasedPermit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.BigGame.AssociationPermit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.BigGame.IndividualPermit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.BigGame.PermitWithoutDraw"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.ExternalProduct"
          }
        ]
      },
      "SalesPages.BigGame.SalesPage": {
        "type": "object",
        "required": [
          "type",
          "locations",
          "products",
          "species"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "bigGameSalesPage"
            ]
          },
          "locations": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SalesPages.Shared.Locations"
              }
            ],
            "description": "Represents the different locations that the sales page as a whole covers."
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.BigGame.Product"
            }
          },
          "species": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Species.Item"
            }
          },
          "jaktfeltId": {
            "type": "string"
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.BasePage"
          }
        ]
      },
      "SalesPages.Cabin.Address": {
        "type": "object",
        "required": [
          "addressLine1",
          "postcode",
          "town",
          "county",
          "municipality"
        ],
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "town": {
            "type": "string"
          },
          "county": {
            "type": "string"
          },
          "municipality": {
            "$ref": "#/components/schemas/Common.Municipality"
          }
        }
      },
      "SalesPages.Cabin.Amenity": {
        "type": "object",
        "required": [
          "name",
          "description",
          "isAvailable"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isAvailable": {
            "type": "boolean"
          }
        }
      },
      "SalesPages.Cabin.AmenityListingItem": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "SalesPages.Cabin.Cabin": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "discounts",
          "addons",
          "customFields",
          "price",
          "area",
          "arrivalHour",
          "leaveHour",
          "distanceFromRoad",
          "amenities",
          "periods"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "price": {
            "$ref": "#/components/schemas/SalesPages.Cabin.Price"
          },
          "cleaningPrice": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "A mandatory charge for cleaning of the cabin upon moving out.\n\nIf this field is not defined, it can be assumed that no such charge\nis payable."
          },
          "keyCollection": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.RichText"
              }
            ],
            "description": "Instructions provided by the seller on where keys to the cabin\ncan be collected."
          },
          "totalBeds": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The total number of beds in the cabin."
          },
          "totalBedrooms": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The total number of bedrooms in the cabin."
          },
          "area": {
            "type": "number",
            "format": "decimal",
            "description": "The area of the cabin in square metres."
          },
          "arrivalHour": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Utilities.Hour"
              }
            ],
            "description": "The earliest hour at which the tenant can arrive at the cabin."
          },
          "leaveHour": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Utilities.Hour"
              }
            ],
            "description": "The latest hour at which the tenant must leave the cabin."
          },
          "distanceFromRoad": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SalesPages.Cabin.DistanceFromRoad"
              }
            ],
            "description": "The distance the cabin is from the nearest road, in metres."
          },
          "cadestre": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SalesPages.Cabin.Cadestre"
              }
            ],
            "description": "The precise location of the cabin.\n\nSee https://www.kartverket.no/eiendom/adressering/finn-gards--og-bruksnummer\nfor more information."
          },
          "amenities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Cabin.Amenity"
            },
            "description": "A list of amenities included in the cabin, and whether they are available."
          },
          "plan": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.InaturFile"
              }
            ],
            "description": "A file showing the plan of the cabin."
          },
          "periods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Cabin.Period"
            },
            "description": "An array of periods during which the cabin may be available / unavailable for hire."
          }
        }
      },
      "SalesPages.Cabin.Cadestre": {
        "type": "object",
        "properties": {
          "municipalityNumber": {
            "type": "string",
            "description": "Corresponds to \"kommunenummer\"."
          },
          "propertyNumber": {
            "type": "string",
            "description": "Corresponds to \"gårdsnummer\"."
          },
          "unitNumber": {
            "type": "string",
            "description": "Corresponds to \"bruksnummer\"."
          },
          "sectionNumber": {
            "type": "string",
            "description": "Corresponds to \"seksjonsnummer\"."
          },
          "festeNumber": {
            "type": "string",
            "description": "Corresponds to \"festenummer\"."
          }
        }
      },
      "SalesPages.Cabin.DistanceFromRoad": {
        "type": "object",
        "properties": {
          "summer": {
            "type": "number",
            "format": "decimal"
          },
          "winter": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "SalesPages.Cabin.Period": {
        "type": "object",
        "required": [
          "period",
          "isOpen"
        ],
        "properties": {
          "period": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isOpen": {
            "type": "boolean"
          }
        }
      },
      "SalesPages.Cabin.Price": {
        "type": "object",
        "required": [
          "standard",
          "standardWeekendPrice"
        ],
        "properties": {
          "standard": {
            "type": "number",
            "format": "decimal",
            "description": "The price that applies on all days where a different price has not been set."
          },
          "deviations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValueDeviation"
            },
            "description": "Values for days where the value differs from the standard value.\nThis field is `undefined` when no period is given when searching for the product."
          },
          "standardWeekendPrice": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The standard price on weekends (Saturday and Sunday).\n\nThis value should be used instead of the the `standard` field on those days."
          }
        },
        "description": "A number value that can change depending on the date.\n\nThe `standard` field contains the \"default\" value, i.e. the value that\napplies on all days where a different value has not been set.\n\nThe `deviations` field contains the values for days where the value differs\nfrom the standard value. To find out the value on a given day, it is\ntherefore necessary to check whether a day has an entry in this field."
      },
      "SalesPages.Cabin.SalesPage": {
        "type": "object",
        "required": [
          "type",
          "address",
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "discounts",
          "addons",
          "customFields",
          "price",
          "area",
          "arrivalHour",
          "leaveHour",
          "distanceFromRoad",
          "amenities",
          "periods"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "cabinSalesPage"
            ]
          },
          "address": {
            "$ref": "#/components/schemas/SalesPages.Cabin.Address"
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "price": {
            "$ref": "#/components/schemas/SalesPages.Cabin.Price"
          },
          "cleaningPrice": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "A mandatory charge for cleaning of the cabin upon moving out.\n\nIf this field is not defined, it can be assumed that no such charge\nis payable."
          },
          "keyCollection": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.RichText"
              }
            ],
            "description": "Instructions provided by the seller on where keys to the cabin\ncan be collected."
          },
          "totalBeds": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The total number of beds in the cabin."
          },
          "totalBedrooms": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The total number of bedrooms in the cabin."
          },
          "area": {
            "type": "number",
            "format": "decimal",
            "description": "The area of the cabin in square metres."
          },
          "arrivalHour": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Utilities.Hour"
              }
            ],
            "description": "The earliest hour at which the tenant can arrive at the cabin."
          },
          "leaveHour": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Utilities.Hour"
              }
            ],
            "description": "The latest hour at which the tenant must leave the cabin."
          },
          "distanceFromRoad": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SalesPages.Cabin.DistanceFromRoad"
              }
            ],
            "description": "The distance the cabin is from the nearest road, in metres."
          },
          "cadestre": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SalesPages.Cabin.Cadestre"
              }
            ],
            "description": "The precise location of the cabin.\n\nSee https://www.kartverket.no/eiendom/adressering/finn-gards--og-bruksnummer\nfor more information."
          },
          "amenities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Cabin.Amenity"
            },
            "description": "A list of amenities included in the cabin, and whether they are available."
          },
          "plan": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.InaturFile"
              }
            ],
            "description": "A file showing the plan of the cabin."
          },
          "periods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Cabin.Period"
            },
            "description": "An array of periods during which the cabin may be available / unavailable for hire."
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.BasePage"
          }
        ]
      },
      "SalesPages.Cabin.SalesPagePreview": {
        "type": "object",
        "required": [
          "type",
          "id",
          "title",
          "thumbnailUrl",
          "inaturUrl",
          "lastPublished",
          "firstPublished",
          "priceFrom",
          "seller",
          "distanceFromRoad",
          "amenities",
          "totalBeds",
          "municipality",
          "county"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "cabinSalesPagePreview"
            ]
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "inaturUrl": {
            "type": "string",
            "format": "uri"
          },
          "lastPublished": {
            "type": "string",
            "format": "date-time"
          },
          "firstPublished": {
            "type": "string",
            "format": "date-time"
          },
          "shortDescription": {
            "type": "string"
          },
          "longDescription": {
            "type": "string"
          },
          "priceFrom": {
            "type": "number"
          },
          "seller": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "distanceFromRoad": {
            "$ref": "#/components/schemas/SalesPages.Cabin.DistanceFromRoad"
          },
          "amenities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "totalBeds": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          },
          "municipality": {
            "type": "string"
          },
          "county": {
            "type": "string"
          }
        }
      },
      "SalesPages.DayAvailability": {
        "type": "object",
        "required": [
          "date",
          "numAvailable"
        ],
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "numAvailable": {
            "type": "integer"
          }
        }
      },
      "SalesPages.Draws.ActivationAllocation": {
        "type": "object",
        "required": [
          "isActivated"
        ],
        "properties": {
          "isActivated": {
            "type": "boolean"
          },
          "criteria": {
            "type": "string"
          }
        }
      },
      "SalesPages.Draws.DrawBasedProduct": {
        "type": "object",
        "required": [
          "customFields",
          "priorityGroup",
          "restriction",
          "allocation",
          "validPostcodes"
        ],
        "properties": {
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "priorityGroup": {
            "$ref": "#/components/schemas/SalesPages.Draws.PriorityGroup"
          },
          "restriction": {
            "$ref": "#/components/schemas/SalesPages.Draws.Restriction"
          },
          "allocation": {
            "$ref": "#/components/schemas/SalesPages.Draws.ActivationAllocation"
          },
          "validPostcodes": {
            "$ref": "#/components/schemas/SalesPages.Draws.ValidPostcodes"
          }
        },
        "description": "Corresponds to \"trekningsbasertkort\"."
      },
      "SalesPages.Draws.PriorityGroup": {
        "type": "string",
        "enum": [
          "Everyone",
          "Resident",
          "NonResident"
        ],
        "description": "Groups which have priority to purchase the draw-based product."
      },
      "SalesPages.Draws.Restriction": {
        "type": "string",
        "enum": [
          "Nobody",
          "Resident",
          "NonResident"
        ],
        "description": "Groups which are restricted from purchasing the draw-based product."
      },
      "SalesPages.Draws.ValidPostcodes": {
        "type": "object",
        "required": [
          "from",
          "to"
        ],
        "properties": {
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          }
        },
        "description": "A range of postcodes that are valid when applying to draws held by\nhunting associations that are members of FeFo (Finnmarkseiendommen Finnmárkkuopmodat).\n\nAs a rule, this model will contain postcodes valid in Finnmark."
      },
      "SalesPages.FreshwaterFishing.Product": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.FishingPermit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.FixedPeriodProduct"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.FixedPeriodMunicipalityProduct"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.ExternalProduct"
          }
        ]
      },
      "SalesPages.FreshwaterFishing.SalesPage": {
        "type": "object",
        "required": [
          "type",
          "products"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "freshwaterFishingSalesPage"
            ]
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.FreshwaterFishing.Product"
            }
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.FishSalesPage"
          }
        ]
      },
      "SalesPages.Links": {
        "type": "object",
        "required": [
          "relatedSalesPages"
        ],
        "properties": {
          "relatedSalesPages": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            },
            "description": "Links to other sales pages that the user may be interested in seeing."
          }
        }
      },
      "SalesPages.MapPreview": {
        "type": "object",
        "required": [
          "id",
          "title",
          "thumbnailUrl",
          "locations"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "thumbnailUrl": {
            "type": "string"
          },
          "locations": {
            "$ref": "#/components/schemas/SalesPages.Shared.Locations"
          }
        }
      },
      "SalesPages.OrganicSalesPagePreview": {
        "type": "object",
        "required": [
          "id",
          "title",
          "thumbnailUrl",
          "inaturUrl",
          "lastPublished",
          "firstPublished",
          "priceFrom",
          "seller",
          "type",
          "species",
          "counties",
          "municipalities",
          "salesPageType",
          "soldOut",
          "expired"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "inaturUrl": {
            "type": "string",
            "format": "uri"
          },
          "lastPublished": {
            "type": "string",
            "format": "date-time"
          },
          "firstPublished": {
            "type": "string",
            "format": "date-time"
          },
          "shortDescription": {
            "type": "string"
          },
          "longDescription": {
            "type": "string"
          },
          "priceFrom": {
            "type": "number"
          },
          "seller": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "organicSalesPagePreview"
            ]
          },
          "species": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Species.Item"
            }
          },
          "counties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "municipalities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "salesPageType": {
            "type": "string",
            "enum": [
              "bigGame",
              "smallGame",
              "freshwaterFishing",
              "salmonFishing"
            ]
          },
          "soldOut": {
            "type": "boolean"
          },
          "expired": {
            "type": "boolean"
          }
        },
        "description": "A preview of a sales page that sells a living product."
      },
      "SalesPages.Other.Product": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "customFields",
          "total",
          "validity"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "otherProduct"
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "total": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "validity": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          }
        }
      },
      "SalesPages.Other.ProductUnion": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Other.Product"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.ExternalProduct"
          }
        ]
      },
      "SalesPages.Other.SalesPage": {
        "type": "object",
        "required": [
          "type",
          "products"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "otherSalesPage"
            ]
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Other.ProductUnion"
            }
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.BasePage"
          }
        ]
      },
      "SalesPages.ProductAvailability": {
        "type": "object",
        "required": [
          "days"
        ],
        "properties": {
          "days": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.DayAvailability"
            }
          },
          "season": {
            "$ref": "#/components/schemas/SalesPages.SeasonAvailability"
          }
        }
      },
      "SalesPages.SalesPage": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SalesPages.BigGame.SalesPage"
          },
          {
            "$ref": "#/components/schemas/SalesPages.SmallGame.SalesPage"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Cabin.SalesPage"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Other.SalesPage"
          },
          {
            "$ref": "#/components/schemas/SalesPages.SalmonFishing.SalesPage"
          },
          {
            "$ref": "#/components/schemas/SalesPages.FreshwaterFishing.SalesPage"
          }
        ]
      },
      "SalesPages.SalesPageAvailability": {
        "type": "object",
        "required": [
          "soldOutProducts"
        ],
        "properties": {
          "soldOutProducts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of productIds that are sold out for the season"
          }
        }
      },
      "SalesPages.SalesPagePreview": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Cabin.SalesPagePreview"
          },
          {
            "$ref": "#/components/schemas/SalesPages.OrganicSalesPagePreview"
          }
        ]
      },
      "SalesPages.SalmonFishing.DrawBasedPermit": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "customFields",
          "priorityGroup",
          "restriction",
          "allocation",
          "validPostcodes",
          "totalFishers",
          "prices"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "drawBasedSalmonPermit"
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "priorityGroup": {
            "$ref": "#/components/schemas/SalesPages.Draws.PriorityGroup"
          },
          "restriction": {
            "$ref": "#/components/schemas/SalesPages.Draws.Restriction"
          },
          "allocation": {
            "$ref": "#/components/schemas/SalesPages.Draws.ActivationAllocation"
          },
          "validPostcodes": {
            "$ref": "#/components/schemas/SalesPages.Draws.ValidPostcodes"
          },
          "totalFishers": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          },
          "prices": {
            "$ref": "#/components/schemas/SalesPages.SalmonFishing.PostcodeBasedPrice"
          }
        }
      },
      "SalesPages.SalmonFishing.PostcodeBasedPrice": {
        "type": "object",
        "required": [
          "standard",
          "intervals"
        ],
        "properties": {
          "standard": {
            "type": "number",
            "format": "decimal",
            "description": "The price that applies on all days where a different price has not been set."
          },
          "deviations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValueDeviation"
            },
            "description": "Values for days where the value differs from the standard value.\nThis field is `undefined` when no period is given when searching for the product."
          },
          "intervals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.SalmonFishing.PostcodeBasedPriceInterval"
            }
          }
        },
        "description": "A number value that can change depending on the date.\n\nThe `standard` field contains the \"default\" value, i.e. the value that\napplies on all days where a different value has not been set.\n\nThe `deviations` field contains the values for days where the value differs\nfrom the standard value. To find out the value on a given day, it is\ntherefore necessary to check whether a day has an entry in this field."
      },
      "SalesPages.SalmonFishing.PostcodeBasedPriceInterval": {
        "type": "object",
        "required": [
          "price",
          "postcodeFrom",
          "postcodeTo"
        ],
        "properties": {
          "price": {
            "type": "number",
            "format": "decimal"
          },
          "postcodeFrom": {
            "type": "string"
          },
          "postcodeTo": {
            "type": "string"
          }
        }
      },
      "SalesPages.SalmonFishing.Product": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.FishingPermit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.SalmonFishing.DrawBasedPermit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.FixedPeriodProduct"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.FixedPeriodMunicipalityProduct"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.ExternalProduct"
          }
        ]
      },
      "SalesPages.SalmonFishing.SalesPage": {
        "type": "object",
        "required": [
          "type",
          "products"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "salmonFishingSalesPage"
            ]
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.SalmonFishing.Product"
            }
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.FishSalesPage"
          }
        ]
      },
      "SalesPages.SeasonAvailability": {
        "type": "object",
        "required": [
          "from",
          "to",
          "numAvailable",
          "total"
        ],
        "properties": {
          "from": {
            "type": "string",
            "format": "date"
          },
          "to": {
            "type": "string",
            "format": "date"
          },
          "numAvailable": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        }
      },
      "SalesPages.Shared.BasePage": {
        "type": "object",
        "required": [
          "id",
          "title",
          "lastPublished",
          "firstPublished",
          "images",
          "isVatRequired",
          "isRetailSaleAllowed",
          "isDeactivated",
          "contactInformation",
          "inaturUrl",
          "importantDates",
          "priceFrom",
          "seller"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "A discriminator field defining the type of the sales page\n\nThis field will determine which other fields are available\non the response object.An ID uniquely representing the sales page."
          },
          "title": {
            "type": "string",
            "description": "The sales page's title."
          },
          "shortDescription": {
            "type": "string",
            "description": "A summary description of the sales page."
          },
          "longDescription": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.RichText"
              }
            ],
            "description": "A longer description of the sales page."
          },
          "lastPublished": {
            "type": "string",
            "format": "date-time",
            "description": "When the sales page was last published.\n\nNote that this is not necessarily the original publication date."
          },
          "firstPublished": {
            "type": "string",
            "format": "date-time",
            "description": "The date the sales page was originally published."
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Common.InaturFile"
            },
            "description": "An array, possibly empty, of images representing the sales page subject."
          },
          "videoUrl": {
            "type": "string",
            "format": "uri",
            "description": "A URL pointing to a video of the sales page subject."
          },
          "regulations": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.RichText"
              }
            ],
            "description": "Optional rules and regulations provided by the seller about the subject of\nthe sales page."
          },
          "directions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.RichText"
              }
            ],
            "description": "Travel directions to the sales page subject."
          },
          "tips": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.RichText"
              }
            ],
            "description": "Tips provided by the seller about the sales page subject."
          },
          "isVatRequired": {
            "type": "boolean",
            "description": "Whether VAT must be charged on the subject of the sales page\n(\"momspliktig\")."
          },
          "isRetailSaleAllowed": {
            "type": "boolean",
            "description": "Whether the subject of the sales page can be sold through physical\nretail outlets."
          },
          "isDeactivated": {
            "type": "boolean",
            "description": "Whether the sales page has been deactivated by the seller.\n\nDeactivated sales pages should not be displayed to the user."
          },
          "sellerDescription": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.RichText"
              }
            ],
            "description": "Descriptive text about the seller, written by themselves."
          },
          "contactInformation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SalesPages.Shared.SellerContactInformation"
              }
            ],
            "description": "Information about how to contact the seller."
          },
          "inaturUrl": {
            "type": "string",
            "format": "uri",
            "description": "A link to the sales page on inatur.no."
          },
          "importantDates": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SalesPages.Shared.ImportantDates"
              }
            ],
            "description": "Important dates and times relating to the sales page."
          },
          "priceFrom": {
            "type": "number",
            "description": "The cheapest possible price for which the subject of the sales page\ncan be purchased."
          },
          "seller": {
            "type": "object",
            "properties": {
              "tradingName": {
                "type": "string",
                "description": "The name the seller has chosen to trade by."
              },
              "details": {
                "$ref": "#/components/schemas/SalesPages.Shared.SellerDetails.Union"
              }
            },
            "required": [
              "tradingName",
              "details"
            ],
            "description": "Structured information about the seller behind the sales page.",
            "X-Model-Name": "SalesPageSeller"
          }
        }
      },
      "SalesPages.Shared.CanExpire": {
        "type": "object",
        "required": [
          "expired"
        ],
        "properties": {
          "expired": {
            "type": "boolean"
          }
        },
        "description": "An offer that can expire, either due to being out of season or outside application period."
      },
      "SalesPages.Shared.CustomField": {
        "type": "object",
        "required": [
          "id",
          "title",
          "isRequired"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          }
        }
      },
      "SalesPages.Shared.DateDependentValue": {
        "type": "object",
        "required": [
          "standard"
        ],
        "properties": {
          "standard": {
            "type": "number",
            "format": "decimal",
            "description": "The price that applies on all days where a different price has not been set."
          },
          "deviations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValueDeviation"
            },
            "description": "Values for days where the value differs from the standard value.\nThis field is `undefined` when no period is given when searching for the product."
          }
        },
        "description": "A number value that can change depending on the date.\n\nThe `standard` field contains the \"default\" value, i.e. the value that\napplies on all days where a different value has not been set.\n\nThe `deviations` field contains the values for days where the value differs\nfrom the standard value. To find out the value on a given day, it is\ntherefore necessary to check whether a day has an entry in this field."
      },
      "SalesPages.Shared.DateDependentValueDeviation": {
        "type": "object",
        "required": [
          "period",
          "price"
        ],
        "properties": {
          "period": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "price": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "SalesPages.Shared.ExternalProduct": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "link"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "externalProduct"
            ]
          },
          "link": {
            "type": "string",
            "format": "uri"
          }
        },
        "description": "Represents a link to a product that can be purchased somewhere else than Inatur."
      },
      "SalesPages.Shared.FishSalesPage": {
        "type": "object",
        "required": [
          "species",
          "requiresCatchReport",
          "locations"
        ],
        "properties": {
          "species": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Species.Item"
            },
            "description": "The different species of fish advertised by this sales page."
          },
          "quota": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.RichText"
              }
            ],
            "description": "An description of how many fish the customer is allowed to catch."
          },
          "requiresCatchReport": {
            "type": "boolean",
            "description": "Whether the customer must register their catches with Inatur's Fangstrapport solution."
          },
          "locations": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SalesPages.Shared.Locations"
              }
            ],
            "description": "Represents the different locations that the sales page as a whole covers."
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.BasePage"
          }
        ]
      },
      "SalesPages.Shared.FishingPermit": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "discounts",
          "addons",
          "customFields",
          "hoursValid",
          "isExtraCard",
          "prices",
          "total",
          "totalPerSeason",
          "hasUserSpecifiedStartTime"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "fishingPermit"
            ]
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "hoursValid": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The validity of the permit, in hours."
          },
          "isExtraCard": {
            "type": "boolean"
          },
          "prices": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "total": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "totalPerSeason": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "hasUserSpecifiedStartTime": {
            "type": "boolean",
            "description": "Whether the user can choose the time at which the permit will become valid."
          }
        }
      },
      "SalesPages.Shared.FixedPeriodMunicipalityProduct": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "discounts",
          "addons",
          "customFields",
          "prices",
          "hasFirstTimeHunterDiscount",
          "type",
          "municipalityResidentPrice"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "prices": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "invalidPeriod": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "hasFirstTimeHunterDiscount": {
            "type": "boolean"
          },
          "total": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "type": {
            "type": "string",
            "enum": [
              "fixedPeriodMunicipalityProduct"
            ]
          },
          "municipalityResidentPrice": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          }
        }
      },
      "SalesPages.Shared.FixedPeriodProduct": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated",
          "type",
          "discounts",
          "addons",
          "customFields",
          "prices",
          "hasFirstTimeHunterDiscount"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "fixedPeriodProduct"
            ]
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "prices": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "invalidPeriod": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "hasFirstTimeHunterDiscount": {
            "type": "boolean"
          },
          "total": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          }
        }
      },
      "SalesPages.Shared.ImportantDates": {
        "type": "object",
        "properties": {
          "salesStart": {
            "type": "string",
            "format": "date-time",
            "description": "The date on which the product will open for sale.\n\nNote that even though this value may include a timestamp, Inatur's policy\nis that all sales start at kl 9.00 Norwegian time."
          },
          "applicationDeadline": {
            "type": "string",
            "format": "date-time",
            "description": "The final date by which applications to purchase the product are allowed."
          },
          "applicationsOpen": {
            "type": "string",
            "format": "date-time",
            "description": "The first date on which applications to purchase the product are allowed."
          }
        }
      },
      "SalesPages.Shared.LimitedAvailability": {
        "type": "object",
        "required": [
          "soldOut"
        ],
        "properties": {
          "soldOut": {
            "type": "boolean"
          }
        }
      },
      "SalesPages.Shared.Locations": {
        "type": "object",
        "required": [
          "counties",
          "municipalities"
        ],
        "properties": {
          "counties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "municipalities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Common.Municipality"
            }
          }
        }
      },
      "SalesPages.Shared.PermitValidity": {
        "type": "object",
        "required": [
          "hoursValid"
        ],
        "properties": {
          "hoursValid": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The validity of the permit, in hours."
          }
        }
      },
      "SalesPages.Shared.PreviewBase": {
        "type": "object",
        "required": [
          "id",
          "title",
          "thumbnailUrl",
          "inaturUrl",
          "lastPublished",
          "firstPublished",
          "priceFrom",
          "seller"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "inaturUrl": {
            "type": "string",
            "format": "uri"
          },
          "lastPublished": {
            "type": "string",
            "format": "date-time"
          },
          "firstPublished": {
            "type": "string",
            "format": "date-time"
          },
          "shortDescription": {
            "type": "string"
          },
          "longDescription": {
            "type": "string"
          },
          "priceFrom": {
            "type": "number"
          },
          "seller": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          }
        }
      },
      "SalesPages.Shared.Product": {
        "type": "object",
        "required": [
          "id",
          "title",
          "sms",
          "season",
          "isDeactivated"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "sms": {
            "$ref": "#/components/schemas/SalesPages.Shared.ProductSmsDetails"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "isDeactivated": {
            "type": "boolean"
          }
        }
      },
      "SalesPages.Shared.ProductAddress": {
        "type": "object",
        "required": [
          "addressLine1",
          "postcode",
          "town"
        ],
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "town": {
            "type": "string"
          }
        }
      },
      "SalesPages.Shared.ProductExtra": {
        "type": "object",
        "required": [
          "id",
          "name",
          "description",
          "value"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The extra's unique ID."
          },
          "name": {
            "type": "string",
            "description": "The localised name of the extra."
          },
          "description": {
            "type": "string",
            "description": "A localised description of the extra."
          },
          "value": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The amount that the extra increases or reduces the price by."
          }
        }
      },
      "SalesPages.Shared.ProductSmsDetails": {
        "type": "object",
        "required": [
          "isSmsActivated"
        ],
        "properties": {
          "isSmsActivated": {
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "price": {
            "type": "string"
          }
        }
      },
      "SalesPages.Shared.ProductWithCustomFields": {
        "type": "object",
        "required": [
          "customFields"
        ],
        "properties": {
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          }
        }
      },
      "SalesPages.Shared.ProductWithExtras": {
        "type": "object",
        "required": [
          "discounts",
          "addons"
        ],
        "properties": {
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          }
        }
      },
      "SalesPages.Shared.SalesPageType": {
        "type": "string",
        "enum": [
          "SmallGame",
          "BigGame",
          "SalmonFish",
          "FreshwaterFish",
          "Cabin",
          "Other"
        ]
      },
      "SalesPages.Shared.SellerContactInformation": {
        "type": "object",
        "required": [
          "sellerName",
          "email",
          "phoneNumber"
        ],
        "properties": {
          "sellerName": {
            "type": "string",
            "description": "The name of the seller. This may be the name of an organisation, or a physical person."
          },
          "contactPerson": {
            "type": "string",
            "description": "The name of the person inside the organisation to contact."
          },
          "email": {
            "type": "string",
            "description": "The email address on which the seller should be contacted."
          },
          "phoneNumber": {
            "type": "string",
            "description": "The phone number on which the seller should be contacted.\n\nNote that this field may contain several phone numbers, hence it\nis defined as a plain string."
          }
        }
      },
      "SalesPages.Shared.SellerDetails.Union": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.SellerDetails.VerifiedNaturalPerson"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.SellerDetails.VerifiedCompany"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.SellerDetails.Unverified"
          }
        ],
        "X-Model-Name": "SalesPageSellerDetails"
      },
      "SalesPages.Shared.SellerDetails.Unverified": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "unverified"
            ]
          }
        },
        "description": "A seller that has not verified their identity, and whom we thus can't\nsafely claim any information about.",
        "X-Model-Name": "SalesPageSellerDetailsUnverified"
      },
      "SalesPages.Shared.SellerDetails.VerifiedCompany": {
        "type": "object",
        "required": [
          "type",
          "companyName",
          "organisationNumber",
          "address"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "verifiedCompany"
            ]
          },
          "companyName": {
            "type": "string",
            "description": "The verified name of the company who has published the sales page."
          },
          "organisationNumber": {
            "type": "string",
            "description": "The verified organisation number of the company who has published\nthe sales page."
          },
          "address": {
            "type": "object",
            "properties": {
              "addressLines": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "town": {
                "type": "string"
              },
              "postcode": {
                "type": "string"
              },
              "kommune": {
                "type": "string"
              },
              "country": {
                "type": "string"
              }
            },
            "required": [
              "addressLines",
              "town",
              "postcode",
              "kommune",
              "country"
            ],
            "description": "The verified address, sourced from Brønnøysundsregisteret, of the\ncompany who has published the sales page.",
            "X-Model-Name": "SalesPageSellerDetailsVerifiedCompanyAddress"
          }
        },
        "description": "A seller that is a verified company.",
        "X-Model-Name": "SalesPageSellerDetailsVerifiedCompany"
      },
      "SalesPages.Shared.SellerDetails.VerifiedNaturalPerson": {
        "type": "object",
        "required": [
          "type",
          "legalOwnerName"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "verifiedNaturalPerson"
            ]
          },
          "legalOwnerName": {
            "type": "string",
            "description": "The verified legal name of the private individual who is legally\nresponsible for the sales page."
          }
        },
        "description": "A seller owned by a private individual who has established their identity.",
        "X-Model-Name": "SalesPageSellerDetailsVerifiedNaturalPerson"
      },
      "SalesPages.Shared.Type": {
        "type": "string",
        "enum": [
          "SmallGame",
          "BigGame",
          "SalmonFish",
          "FreshwaterFish",
          "Cabin",
          "Other"
        ]
      },
      "SalesPages.SmallGame.AssociationPermit": {
        "type": "object",
        "required": [
          "customFields",
          "priorityGroup",
          "restriction",
          "allocation",
          "validPostcodes",
          "type",
          "prices"
        ],
        "properties": {
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "priorityGroup": {
            "$ref": "#/components/schemas/SalesPages.Draws.PriorityGroup"
          },
          "restriction": {
            "$ref": "#/components/schemas/SalesPages.Draws.Restriction"
          },
          "allocation": {
            "$ref": "#/components/schemas/SalesPages.Draws.ActivationAllocation"
          },
          "validPostcodes": {
            "$ref": "#/components/schemas/SalesPages.Draws.ValidPostcodes"
          },
          "type": {
            "type": "string",
            "enum": [
              "smallGameAssociationPermit"
            ]
          },
          "totalHuntersAllowed": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          },
          "prices": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.Product"
          }
        ]
      },
      "SalesPages.SmallGame.DrawBasedPermit": {
        "type": "object",
        "required": [
          "type",
          "customFields",
          "priorityGroup",
          "restriction",
          "allocation",
          "validPostcodes",
          "totalHuntersAllowed",
          "invalidPeriod",
          "prices"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "smallGameDrawBasedPermit"
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "priorityGroup": {
            "$ref": "#/components/schemas/SalesPages.Draws.PriorityGroup"
          },
          "restriction": {
            "$ref": "#/components/schemas/SalesPages.Draws.Restriction"
          },
          "allocation": {
            "$ref": "#/components/schemas/SalesPages.Draws.ActivationAllocation"
          },
          "validPostcodes": {
            "$ref": "#/components/schemas/SalesPages.Draws.ValidPostcodes"
          },
          "totalHuntersAllowed": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          },
          "invalidPeriod": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "prices": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.Product"
          }
        ]
      },
      "SalesPages.SmallGame.Permit": {
        "type": "object",
        "required": [
          "type",
          "discounts",
          "addons",
          "customFields",
          "hoursValid",
          "isExtraCard",
          "hasFirstTimeHunterDiscount",
          "prices"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "smallGamePermit"
            ]
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "addons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.ProductExtra"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.Shared.CustomField"
            }
          },
          "hoursValid": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The validity of the permit, in hours."
          },
          "isExtraCard": {
            "type": "boolean"
          },
          "totalPerSeason": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "total": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          },
          "hasFirstTimeHunterDiscount": {
            "type": "boolean"
          },
          "prices": {
            "$ref": "#/components/schemas/SalesPages.Shared.DateDependentValue"
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.Product"
          }
        ]
      },
      "SalesPages.SmallGame.Product": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SalesPages.SmallGame.Permit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.SmallGame.DrawBasedPermit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.SmallGame.AssociationPermit"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.FixedPeriodProduct"
          },
          {
            "$ref": "#/components/schemas/SalesPages.Shared.ExternalProduct"
          }
        ]
      },
      "SalesPages.SmallGame.SalesPage": {
        "type": "object",
        "required": [
          "type",
          "locations",
          "products"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "smallGameSalesPage"
            ]
          },
          "locations": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SalesPages.Shared.Locations"
              }
            ],
            "description": "Represents the different locations that the sales page as a whole covers."
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesPages.SmallGame.Product"
            }
          },
          "jaktfeltId": {
            "type": "string"
          }
        },
        "allOf": [
          {
            "$ref": "#/components/schemas/SalesPages.Shared.BasePage"
          }
        ]
      },
      "Seller.PriceTable.DeletePriceTableConflictResponseErrorCode": {
        "type": "string",
        "enum": [
          "UsedBySalesPage"
        ]
      },
      "Seller.PriceTable.DetailedPriceSpecification": {
        "type": "object",
        "required": [
          "type",
          "species",
          "detailedPrices"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Detailed"
            ]
          },
          "species": {
            "$ref": "#/components/schemas/Seller.PriceTable.Species"
          },
          "detailedPrices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Seller.PriceTable.SubCategoryPriceSpecification"
            }
          }
        }
      },
      "Seller.PriceTable.GeneralPriceSpecification": {
        "type": "object",
        "required": [
          "type",
          "species",
          "prices"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "General"
            ]
          },
          "species": {
            "$ref": "#/components/schemas/Seller.PriceTable.Species"
          },
          "prices": {
            "$ref": "#/components/schemas/Seller.PriceTable.PriceSpecification"
          }
        }
      },
      "Seller.PriceTable.NewlyCreatedItem": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string"
          }
        }
      },
      "Seller.PriceTable.PriceSpecification": {
        "type": "object",
        "required": [
          "unit",
          "comment"
        ],
        "properties": {
          "unit": {
            "$ref": "#/components/schemas/Seller.PriceTable.Unit"
          },
          "unitPrice": {
            "type": "number",
            "format": "decimal"
          },
          "killFee": {
            "type": "number",
            "format": "decimal"
          },
          "basePrice": {
            "type": "number",
            "format": "decimal"
          },
          "comment": {
            "type": "string"
          }
        }
      },
      "Seller.PriceTable.PriceTable": {
        "type": "object",
        "required": [
          "id",
          "name",
          "table"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "table": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Seller.PriceTable.PriceTableEntry"
            }
          }
        }
      },
      "Seller.PriceTable.PriceTableEntry": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Seller.PriceTable.GeneralPriceSpecification"
          },
          {
            "$ref": "#/components/schemas/Seller.PriceTable.DetailedPriceSpecification"
          }
        ]
      },
      "Seller.PriceTable.PriceTableEntryType": {
        "type": "string",
        "enum": [
          "General",
          "Detailed"
        ]
      },
      "Seller.PriceTable.PriceTableListItem": {
        "type": "object",
        "required": [
          "id",
          "name",
          "created"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "usage": {
            "$ref": "#/components/schemas/Seller.PriceTable.PriceTableUsage"
          }
        }
      },
      "Seller.PriceTable.PriceTableUsage": {
        "type": "object",
        "required": [
          "salesPages"
        ],
        "properties": {
          "salesPages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "products": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "id",
                "title",
                "products"
              ]
            }
          }
        }
      },
      "Seller.PriceTable.Species": {
        "type": "string",
        "enum": [
          "Moose",
          "RedDeer",
          "WildReindeer"
        ]
      },
      "Seller.PriceTable.SubCategory": {
        "type": "string",
        "enum": [
          "Yearling",
          "JuvenileAnimal",
          "JuvenileMale",
          "JuvenileFemale",
          "GrownMale",
          "GrownFemale",
          "FreeRangeAnimal"
        ]
      },
      "Seller.PriceTable.SubCategoryPriceSpecification": {
        "type": "object",
        "required": [
          "subCategory",
          "prices"
        ],
        "properties": {
          "subCategory": {
            "$ref": "#/components/schemas/Seller.PriceTable.SubCategory"
          },
          "prices": {
            "$ref": "#/components/schemas/Seller.PriceTable.PriceSpecification"
          }
        }
      },
      "Seller.PriceTable.Unit": {
        "type": "string",
        "enum": [
          "Kg",
          "Animal"
        ]
      },
      "Seller.PriceTable.UpdatePriceTableRequest": {
        "type": "object",
        "required": [
          "table"
        ],
        "properties": {
          "table": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Seller.PriceTable.PriceTableEntry"
            }
          }
        }
      },
      "Seller.PriceTable.UpdatePriceTableTitleRequest": {
        "type": "object",
        "required": [
          "title"
        ],
        "properties": {
          "title": {
            "type": "string"
          }
        }
      },
      "Seller.SalesPages.ActionPermissions": {
        "type": "object",
        "required": [
          "allowEdit",
          "allowCopy",
          "allowLock",
          "allowUnlock",
          "allowActivate",
          "allowDeactivate",
          "allowPressureRegulation",
          "allowManualOrder",
          "allowDeleteDraft"
        ],
        "properties": {
          "allowEdit": {
            "type": "boolean"
          },
          "allowCopy": {
            "type": "boolean"
          },
          "allowLock": {
            "type": "boolean"
          },
          "allowUnlock": {
            "type": "boolean"
          },
          "allowActivate": {
            "type": "boolean"
          },
          "allowDeactivate": {
            "type": "boolean"
          },
          "allowPressureRegulation": {
            "type": "boolean"
          },
          "allowManualOrder": {
            "type": "boolean"
          },
          "allowDeleteDraft": {
            "type": "boolean"
          }
        }
      },
      "Seller.SalesPages.Changelog.ChangeMethod": {
        "type": "string",
        "enum": [
          "Created",
          "Changed",
          "Deleted",
          "Linked",
          "Unlinked",
          "KortAdded",
          "KortChanged",
          "KortDeleted"
        ]
      },
      "Seller.SalesPages.Changelog.Changelog": {
        "type": "object",
        "required": [
          "id",
          "nodeId",
          "entries"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "nodeId": {
            "type": "string",
            "description": "The id of the sales page or the sales page node that the changelog is tied to."
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Seller.SalesPages.Changelog.ChangelogEntrySummary"
            }
          }
        }
      },
      "Seller.SalesPages.Changelog.ChangelogEntryDetails": {
        "type": "object",
        "required": [
          "from",
          "to",
          "diff"
        ],
        "properties": {
          "from": {
            "description": "The entire original value."
          },
          "to": {
            "description": "The entire resulting value."
          },
          "diff": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/Seller.SalesPages.Changelog.ValueDiff"
            },
            "description": "Individually diffed fields of the attribute."
          }
        },
        "description": "A representation of a change in value for some sales page attribute"
      },
      "Seller.SalesPages.Changelog.ChangelogEntrySummary": {
        "type": "object",
        "required": [
          "entryId",
          "date",
          "username",
          "attribute",
          "method",
          "publishedState",
          "nodeType"
        ],
        "properties": {
          "entryId": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "username": {
            "type": "string"
          },
          "attribute": {
            "$ref": "#/components/schemas/Seller.SalesPages.Changelog.SalesPageAttribute"
          },
          "method": {
            "$ref": "#/components/schemas/Seller.SalesPages.Changelog.ChangeMethod"
          },
          "publishedState": {
            "$ref": "#/components/schemas/Seller.SalesPages.Changelog.PublishedState"
          },
          "nodeType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Seller.SalesPages.Changelog.SalesPageNodeType"
              }
            ],
            "description": "Reveals whether the entry represents a change in the actual sales page, or one of its parents."
          }
        }
      },
      "Seller.SalesPages.Changelog.PublishedState": {
        "type": "string",
        "enum": [
          "Published",
          "Unpublished"
        ]
      },
      "Seller.SalesPages.Changelog.SalesPageAttribute": {
        "type": "string",
        "enum": [
          "Tittel",
          "KortBeskrivelse",
          "Arter",
          "Kort",
          "Beliggenhet",
          "Hyttedetaljer",
          "Laksebors",
          "Kontaktinformasjon",
          "Kvoter",
          "Regler",
          "Nokkelhenting",
          "Bildekarusell",
          "Tilbyderinformasjon",
          "DetaljertBeskrivelse",
          "Priser",
          "Tips",
          "RelaterteTilbud",
          "Veibeskrivelse",
          "ViktigeDatoer",
          "Video",
          "HarFangstrapport",
          "FangstrapportKonfigurasjon",
          "HarKortAktivering",
          "JaktfeltId",
          "SkalPublisere",
          "Tilbudsinnstillinger",
          "TilbudsinnstillingerIndirect"
        ]
      },
      "Seller.SalesPages.Changelog.SalesPageInfo": {
        "type": "object",
        "required": [
          "title",
          "salesPageType"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "salesPageType": {
            "$ref": "#/components/schemas/SalesPages.Shared.SalesPageType"
          }
        }
      },
      "Seller.SalesPages.Changelog.SalesPageNodeType": {
        "type": "string",
        "enum": [
          "SalesPage",
          "SalesPageNode"
        ]
      },
      "Seller.SalesPages.Changelog.ValueDiff": {
        "type": "object",
        "required": [
          "from",
          "to"
        ],
        "properties": {
          "from": {},
          "to": {}
        }
      },
      "Seller.SalesPages.Item": {
        "type": "object",
        "required": [
          "id",
          "fylker",
          "kommuner",
          "type",
          "status",
          "createdTimestamp",
          "updatedTimestamp",
          "hasUnpublishedChanges",
          "actionPermissions",
          "isAwaitingReview"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "fylker": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "kommuner": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "$ref": "#/components/schemas/Common.SalesPageType"
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "$ref": "#/components/schemas/Seller.SalesPages.Status"
          },
          "createdTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "updatedTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "hasUnpublishedChanges": {
            "type": "boolean"
          },
          "actionPermissions": {
            "$ref": "#/components/schemas/Seller.SalesPages.ActionPermissions"
          },
          "isAwaitingReview": {
            "type": "boolean"
          }
        }
      },
      "Seller.SalesPages.PressureRegulation.AreaDateLimitation": {
        "type": "object",
        "required": [
          "date",
          "limit"
        ],
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "limit": {
            "type": "integer"
          }
        }
      },
      "Seller.SalesPages.PressureRegulation.AreaLimitation": {
        "type": "object",
        "required": [
          "areaId"
        ],
        "properties": {
          "areaId": {
            "type": "string"
          },
          "accumulatedLimit": {
            "type": "integer"
          },
          "limitations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Seller.SalesPages.PressureRegulation.AreaDateLimitation"
            }
          }
        }
      },
      "Seller.SalesPages.PressureRegulation.PressureRegulation": {
        "type": "object",
        "required": [
          "salesPageId",
          "enforcedFrom",
          "enforcedTo"
        ],
        "properties": {
          "salesPageId": {
            "type": "string"
          },
          "areaLimitations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Seller.SalesPages.PressureRegulation.AreaLimitation"
            }
          },
          "enforcedFrom": {
            "type": "string",
            "format": "date"
          },
          "enforcedTo": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Seller.SalesPages.Status": {
        "type": "string",
        "enum": [
          "Published",
          "Deactivated",
          "Draft",
          "Locked"
        ]
      },
      "Seller.SalesPages.V2.BigGameSalesPage": {
        "type": "object",
        "required": [
          "type",
          "id",
          "fylker",
          "kommuner",
          "status",
          "createdTimestamp",
          "updatedTimestamp",
          "hasUnpublishedChanges",
          "actionPermissions",
          "isAwaitingReview"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "BigGame"
            ]
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "fylker": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "kommuner": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "$ref": "#/components/schemas/Seller.SalesPages.Status"
          },
          "createdTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "updatedTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "hasUnpublishedChanges": {
            "type": "boolean"
          },
          "actionPermissions": {
            "$ref": "#/components/schemas/Seller.SalesPages.ActionPermissions"
          },
          "isAwaitingReview": {
            "type": "boolean"
          }
        }
      },
      "Seller.SalesPages.V2.BigGameSalesPageLinks": {
        "type": "object",
        "required": [
          "type",
          "self"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "BigGame"
            ]
          },
          "self": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Seller.SalesPages.V2.BigGameSalesPageWithLinks": {
        "type": "object",
        "required": [
          "type",
          "item",
          "links"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "BigGame"
            ]
          },
          "item": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.BigGameSalesPage"
          },
          "links": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.BigGameSalesPageLinks"
          }
        }
      },
      "Seller.SalesPages.V2.CabinSalesPage": {
        "type": "object",
        "required": [
          "type",
          "id",
          "fylker",
          "kommuner",
          "status",
          "createdTimestamp",
          "updatedTimestamp",
          "hasUnpublishedChanges",
          "actionPermissions",
          "isAwaitingReview"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Cabin"
            ]
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "fylker": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "kommuner": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "$ref": "#/components/schemas/Seller.SalesPages.Status"
          },
          "createdTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "updatedTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "hasUnpublishedChanges": {
            "type": "boolean"
          },
          "actionPermissions": {
            "$ref": "#/components/schemas/Seller.SalesPages.ActionPermissions"
          },
          "isAwaitingReview": {
            "type": "boolean"
          }
        }
      },
      "Seller.SalesPages.V2.CabinSalesPageLinks": {
        "type": "object",
        "required": [
          "type",
          "self",
          "availability"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Cabin"
            ]
          },
          "self": {
            "type": "string",
            "format": "uri"
          },
          "availability": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Seller.SalesPages.V2.CabinSalesPageWithLinks": {
        "type": "object",
        "required": [
          "type",
          "item",
          "links"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Cabin"
            ]
          },
          "item": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.CabinSalesPage"
          },
          "links": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.CabinSalesPageLinks"
          }
        }
      },
      "Seller.SalesPages.V2.FreshwaterFishSalesPage": {
        "type": "object",
        "required": [
          "type",
          "id",
          "fylker",
          "kommuner",
          "status",
          "createdTimestamp",
          "updatedTimestamp",
          "hasUnpublishedChanges",
          "actionPermissions",
          "isAwaitingReview"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "FreshwaterFish"
            ]
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "fylker": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "kommuner": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "$ref": "#/components/schemas/Seller.SalesPages.Status"
          },
          "createdTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "updatedTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "hasUnpublishedChanges": {
            "type": "boolean"
          },
          "actionPermissions": {
            "$ref": "#/components/schemas/Seller.SalesPages.ActionPermissions"
          },
          "isAwaitingReview": {
            "type": "boolean"
          }
        }
      },
      "Seller.SalesPages.V2.FreshwaterFishSalesPageLinks": {
        "type": "object",
        "required": [
          "type",
          "self"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "FreshwaterFish"
            ]
          },
          "self": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Seller.SalesPages.V2.FreshwaterFishSalesPageWithLinks": {
        "type": "object",
        "required": [
          "type",
          "item",
          "links"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "FreshwaterFish"
            ]
          },
          "item": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.FreshwaterFishSalesPage"
          },
          "links": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.FreshwaterFishSalesPageLinks"
          }
        }
      },
      "Seller.SalesPages.V2.OtherSalesPage": {
        "type": "object",
        "required": [
          "type",
          "id",
          "fylker",
          "kommuner",
          "status",
          "createdTimestamp",
          "updatedTimestamp",
          "hasUnpublishedChanges",
          "actionPermissions",
          "isAwaitingReview"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Other"
            ]
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "fylker": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "kommuner": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "$ref": "#/components/schemas/Seller.SalesPages.Status"
          },
          "createdTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "updatedTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "hasUnpublishedChanges": {
            "type": "boolean"
          },
          "actionPermissions": {
            "$ref": "#/components/schemas/Seller.SalesPages.ActionPermissions"
          },
          "isAwaitingReview": {
            "type": "boolean"
          }
        }
      },
      "Seller.SalesPages.V2.OtherSalesPageLinks": {
        "type": "object",
        "required": [
          "type",
          "self"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Other"
            ]
          },
          "self": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Seller.SalesPages.V2.OtherSalesPageWithLinks": {
        "type": "object",
        "required": [
          "type",
          "item",
          "links"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Other"
            ]
          },
          "item": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.OtherSalesPage"
          },
          "links": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.OtherSalesPageLinks"
          }
        }
      },
      "Seller.SalesPages.V2.SalesPage": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.CabinSalesPage"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SmallGameSalesPage"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.BigGameSalesPage"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SalmonFishSalesPage"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.FreshwaterFishSalesPage"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.OtherSalesPage"
          }
        ]
      },
      "Seller.SalesPages.V2.SalesPageLinks": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.CabinSalesPageLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SmallGameSalesPageLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.BigGameSalesPageLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SalmonFishSalesPageLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.FreshwaterFishSalesPageLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.OtherSalesPageLinks"
          }
        ]
      },
      "Seller.SalesPages.V2.SalesPagePaginationData": {
        "type": "object",
        "required": [
          "totalCount",
          "currentPage",
          "totalPages",
          "hasSalesPages"
        ],
        "properties": {
          "totalCount": {
            "type": "integer",
            "minimum": 0
          },
          "currentPage": {
            "type": "integer",
            "minimum": 1
          },
          "totalPages": {
            "type": "integer",
            "minimum": 0
          },
          "hasSalesPages": {
            "type": "boolean",
            "description": "Whether the seller has any sales pages at all.\n\nThis is a separate value because the `results` property is not necessarily\na reliable indicator, since filters may have been applied to it. There are\nalso some edge cases, such as a seller whose sales pages are all locked,\nthat aren't easily resolved using a naive check."
          }
        }
      },
      "Seller.SalesPages.V2.SalesPageWithLinks": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.CabinSalesPageWithLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SmallGameSalesPageWithLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.BigGameSalesPageWithLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SalmonFishSalesPageWithLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.FreshwaterFishSalesPageWithLinks"
          },
          {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.OtherSalesPageWithLinks"
          }
        ]
      },
      "Seller.SalesPages.V2.SalmonFishSalesPage": {
        "type": "object",
        "required": [
          "type",
          "id",
          "fylker",
          "kommuner",
          "status",
          "createdTimestamp",
          "updatedTimestamp",
          "hasUnpublishedChanges",
          "actionPermissions",
          "isAwaitingReview"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SalmonFish"
            ]
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "fylker": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "kommuner": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "$ref": "#/components/schemas/Seller.SalesPages.Status"
          },
          "createdTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "updatedTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "hasUnpublishedChanges": {
            "type": "boolean"
          },
          "actionPermissions": {
            "$ref": "#/components/schemas/Seller.SalesPages.ActionPermissions"
          },
          "isAwaitingReview": {
            "type": "boolean"
          }
        }
      },
      "Seller.SalesPages.V2.SalmonFishSalesPageLinks": {
        "type": "object",
        "required": [
          "type",
          "self"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SalmonFish"
            ]
          },
          "self": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Seller.SalesPages.V2.SalmonFishSalesPageWithLinks": {
        "type": "object",
        "required": [
          "type",
          "item",
          "links"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SalmonFish"
            ]
          },
          "item": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SalmonFishSalesPage"
          },
          "links": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SalmonFishSalesPageLinks"
          }
        }
      },
      "Seller.SalesPages.V2.SmallGameSalesPage": {
        "type": "object",
        "required": [
          "type",
          "id",
          "fylker",
          "kommuner",
          "status",
          "createdTimestamp",
          "updatedTimestamp",
          "hasUnpublishedChanges",
          "actionPermissions",
          "isAwaitingReview"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SmallGame"
            ]
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "fylker": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "kommuner": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "$ref": "#/components/schemas/Seller.SalesPages.Status"
          },
          "createdTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "updatedTimestamp": {
            "type": "string",
            "format": "date-time"
          },
          "hasUnpublishedChanges": {
            "type": "boolean"
          },
          "actionPermissions": {
            "$ref": "#/components/schemas/Seller.SalesPages.ActionPermissions"
          },
          "isAwaitingReview": {
            "type": "boolean"
          }
        }
      },
      "Seller.SalesPages.V2.SmallGameSalesPageLinks": {
        "type": "object",
        "required": [
          "type",
          "self"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SmallGame"
            ]
          },
          "self": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Seller.SalesPages.V2.SmallGameSalesPageWithLinks": {
        "type": "object",
        "required": [
          "type",
          "item",
          "links"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SmallGame"
            ]
          },
          "item": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SmallGameSalesPage"
          },
          "links": {
            "$ref": "#/components/schemas/Seller.SalesPages.V2.SmallGameSalesPageLinks"
          }
        }
      },
      "Seller.UserAccess.CreateUserAccessRequest": {
        "type": "object",
        "required": [
          "email",
          "role"
        ],
        "properties": {
          "email": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Seller.UserAccess.UserAccessRole"
          }
        }
      },
      "Seller.UserAccess.UpdateUserAccessRequest": {
        "type": "object",
        "required": [
          "role"
        ],
        "properties": {
          "role": {
            "$ref": "#/components/schemas/Seller.UserAccess.UserAccessRole"
          }
        }
      },
      "Seller.UserAccess.UserAccessItem": {
        "type": "object",
        "required": [
          "id",
          "name",
          "email",
          "role"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "role": {
            "$ref": "#/components/schemas/Seller.UserAccess.UserAccessRole"
          }
        }
      },
      "Seller.UserAccess.UserAccessRole": {
        "type": "string",
        "enum": [
          "Administrator",
          "User",
          "Inspection"
        ]
      },
      "SellerApplications.ActiveApplication": {
        "type": "object",
        "required": [
          "leaderName",
          "type",
          "numProducts",
          "processedStatus",
          "applicationDeadline",
          "numMembers",
          "teamSizeLimit"
        ],
        "properties": {
          "leaderName": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Trekninger.Shared.Trekningstype"
          },
          "numProducts": {
            "type": "integer"
          },
          "processedStatus": {
            "$ref": "#/components/schemas/SellerApplications.ProcessedStatus"
          },
          "applicationDeadline": {
            "type": "string",
            "format": "date"
          },
          "numMembers": {
            "type": "integer"
          },
          "teamSizeLimit": {
            "$ref": "#/components/schemas/Applications.Shared.TeamSizeLimit"
          }
        }
      },
      "SellerApplications.HuntApplication": {
        "type": "object",
        "required": [
          "applicationNumber",
          "applicationId",
          "leaderName",
          "municipality",
          "processedStatus",
          "usesPriority"
        ],
        "properties": {
          "applicationNumber": {
            "type": "string"
          },
          "applicationId": {
            "type": "string"
          },
          "leaderName": {
            "type": "string"
          },
          "municipality": {
            "type": "string"
          },
          "processedStatus": {
            "$ref": "#/components/schemas/SellerApplications.ProcessedStatus"
          },
          "usesPriority": {
            "type": "boolean"
          }
        }
      },
      "SellerApplications.HuntApplicationLinks": {
        "type": "object",
        "required": [
          "showOrEdit",
          "accept",
          "decline"
        ],
        "properties": {
          "showOrEdit": {
            "type": "string",
            "format": "uri"
          },
          "accept": {
            "type": "string",
            "format": "uri"
          },
          "decline": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "SellerApplications.ProcessedStatus": {
        "type": "string",
        "enum": [
          "NotProcessed",
          "Accepted",
          "AcceptedWithPriority",
          "Declined"
        ]
      },
      "SellerBusinessContact": {
        "type": "object",
        "required": [
          "isExemptFromSellerAgreement"
        ],
        "properties": {
          "bankAccountNumber": {
            "type": "string"
          },
          "invoiceEmail": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "contactPhone": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "isExemptFromSellerAgreement": {
            "type": "boolean"
          }
        },
        "X-Model-Name": "SellerBusinessContact"
      },
      "SellerBusinessContact.PatchBankAccountNumberBody": {
        "type": "object",
        "required": [
          "bankAccountNumber"
        ],
        "properties": {
          "bankAccountNumber": {
            "type": "string"
          }
        }
      },
      "SellerBusinessContact.PatchContactEmailBody": {
        "type": "object",
        "required": [
          "contactEmail"
        ],
        "properties": {
          "contactEmail": {
            "type": "string"
          }
        }
      },
      "SellerBusinessContact.PatchContactPhoneBody": {
        "type": "object",
        "required": [
          "contactPhone"
        ],
        "properties": {
          "contactPhone": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          }
        }
      },
      "SellerBusinessContact.PatchInvoiceEmailBody": {
        "type": "object",
        "required": [
          "invoiceEmail"
        ],
        "properties": {
          "invoiceEmail": {
            "type": "string"
          }
        }
      },
      "SellerLegalIdentity": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SellerLegalIdentity.Company"
          },
          {
            "$ref": "#/components/schemas/SellerLegalIdentity.NaturalPerson"
          }
        ],
        "X-Model-Name": "SellerLegalIdentity"
      },
      "SellerLegalIdentity.Address": {
        "type": "object",
        "required": [
          "country"
        ],
        "properties": {
          "mainAddress": {
            "type": "string"
          },
          "secondaryAddress": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          }
        }
      },
      "SellerLegalIdentity.Company": {
        "type": "object",
        "required": [
          "type",
          "name",
          "registeredAddress",
          "organisationNumber",
          "isMvaRegistered"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "company"
            ]
          },
          "name": {
            "type": "string"
          },
          "registeredAddress": {
            "$ref": "#/components/schemas/SellerLegalIdentity.Address"
          },
          "organisationNumber": {
            "type": "string"
          },
          "isMvaRegistered": {
            "type": "boolean"
          }
        }
      },
      "SellerLegalIdentity.GetOrganisationNumberResponseBody": {
        "type": "object",
        "properties": {
          "organisationNumber": {
            "type": "string",
            "description": "Null if the seller is not a company, or they are a company but do not have\nan associated organisation number."
          }
        },
        "X-Model-Name": "GetOrganisationNumberResponseBody"
      },
      "SellerLegalIdentity.LegalOwnership.Claimed": {
        "type": "object",
        "required": [
          "type",
          "legalOwner"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "legalOwnershipClaimed"
            ]
          },
          "legalOwner": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SellerLegalIdentity.LegalOwnership.LegalOwner"
              }
            ],
            "description": "Verified information about the legal owner.\n\nThe fields available here depend on whether it is the verified owner\nthemselves who are making the request."
          }
        },
        "description": "A verified user has claimed legal ownership for the seller.",
        "X-Model-Name": "SellerProfileLegalOwnershipClaimed"
      },
      "SellerLegalIdentity.LegalOwnership.FullLegalOwner": {
        "type": "object",
        "required": [
          "type",
          "userId",
          "name",
          "nationalIdNumber",
          "address"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "fullLegalOwner"
            ]
          },
          "userId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nationalIdNumber": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "properties": {
              "addressLine1": {
                "type": "string"
              },
              "addressLine2": {
                "type": "string"
              },
              "postcode": {
                "type": "string"
              },
              "town": {
                "type": "string"
              },
              "country": {
                "type": "string"
              }
            },
            "required": [
              "addressLine1",
              "postcode",
              "town",
              "country"
            ],
            "X-Model-Name": "SellerProfileFullLegalOwnerAddress"
          }
        },
        "description": "Unredacted personal details about the seller account's established legal owner,\nvisible only to the legal owner themselves.",
        "X-Model-Name": "SellerProfileFullLegalOwner"
      },
      "SellerLegalIdentity.LegalOwnership.LegalOwner": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SellerLegalIdentity.LegalOwnership.RedactedLegalOwner"
          },
          {
            "$ref": "#/components/schemas/SellerLegalIdentity.LegalOwnership.FullLegalOwner"
          }
        ],
        "X-Model-Name": "SellerProfileLegalOwner"
      },
      "SellerLegalIdentity.LegalOwnership.RedactedLegalOwner": {
        "type": "object",
        "required": [
          "type",
          "userId",
          "name",
          "address"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "redactedLegalOwner"
            ]
          },
          "userId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "properties": {
              "town": {
                "type": "string"
              },
              "postcode": {
                "type": "string"
              },
              "country": {
                "type": "string"
              }
            },
            "required": [
              "town",
              "postcode",
              "country"
            ],
            "X-Model-Name": "SellerProfilRedactedLegalOwnerAddress"
          }
        },
        "description": "Partial information about the legal owner, visible to all viewers of the seller\nprofile except for the legal owner themselves, who receive an unredacted version.",
        "X-Model-Name": "SellerProfileRedactedLegalOwner"
      },
      "SellerLegalIdentity.LegalOwnership.Unclaimed": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "legalOwnershipUnclaimed"
            ]
          }
        },
        "description": "The seller is a natural person, but no verified user has claimed legal\nownership for it yet.",
        "X-Model-Name": "SellerProfileLegalOwnershipUnclaimed"
      },
      "SellerLegalIdentity.LegalOwnership.Union": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SellerLegalIdentity.LegalOwnership.Claimed"
          },
          {
            "$ref": "#/components/schemas/SellerLegalIdentity.LegalOwnership.Unclaimed"
          }
        ],
        "X-Model-Name": "SellerProfileLegalOwnership"
      },
      "SellerLegalIdentity.LegalOwnershipStatus": {
        "type": "string",
        "enum": [
          "IdentityEstablishmentRequired",
          "Claimable",
          "ValidClaim",
          "ExpiredClaimByCurrentUser",
          "ExpiredClaimByOtherUser"
        ],
        "X-Model-Name": "SellerLegalOwnershipStatus"
      },
      "SellerLegalIdentity.NaturalPerson": {
        "type": "object",
        "required": [
          "type",
          "legalOwnership"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "naturalPerson"
            ]
          },
          "legalOwnership": {
            "$ref": "#/components/schemas/SellerLegalIdentity.LegalOwnership.Union"
          }
        }
      },
      "SellerLegalIdentity.SyncCompanyConflictErrorCode": {
        "type": "string",
        "enum": [
          "NotACompany",
          "InvalidOrganisationNumber",
          "OrganisationNumberMismatch",
          "DuplicateOrganisationNumber",
          "CompanyNotFound",
          "CompanyDeleted",
          "CompanyRemoved"
        ]
      },
      "SellerLegalIdentity.SyncCompanyRequestBody": {
        "type": "object",
        "required": [
          "organisationNumber"
        ],
        "properties": {
          "organisationNumber": {
            "type": "string"
          }
        },
        "X-Model-Name": "SyncCompanyRequestBody"
      },
      "SellerProducts.Item": {
        "type": "object",
        "required": [
          "id",
          "name",
          "isDeactivated",
          "sentrySamplingRates"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "isDeactivated": {
            "type": "boolean"
          },
          "sentrySamplingRates": {
            "$ref": "#/components/schemas/SentryConfiguration.SamplingRates"
          }
        },
        "description": "Represents an individual seller, including the pages / functionality they\nhave access to."
      },
      "SellerProducts.Role": {
        "type": "string",
        "enum": [
          "Administrator",
          "User",
          "Inspection",
          "a"
        ]
      },
      "SellerProfile": {
        "type": "object",
        "required": [
          "tradingIdentity",
          "businessContact",
          "legalIdentity",
          "signatures"
        ],
        "properties": {
          "tradingIdentity": {
            "$ref": "#/components/schemas/SellerTradingIdentity"
          },
          "businessContact": {
            "$ref": "#/components/schemas/SellerBusinessContact"
          },
          "legalIdentity": {
            "$ref": "#/components/schemas/SellerLegalIdentity"
          },
          "signatures": {
            "$ref": "#/components/schemas/SellerSignatures"
          }
        },
        "X-Model-Name": "SellerProfile"
      },
      "SellerSignature": {
        "type": "object",
        "required": [
          "signedAt"
        ],
        "properties": {
          "signedAt": {
            "type": "string",
            "format": "date-time"
          },
          "signedByName": {
            "type": "string",
            "description": "The name attached to the user account that signed the instrument.\n\nIn cases where the account can't be resolved (for example if the user has been deleted),\nthis will be null."
          }
        },
        "X-Model-Name": "SellerSignature"
      },
      "SellerSignatureStatus": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SellerSignatureStatusNeverSigned"
          },
          {
            "$ref": "#/components/schemas/SellerSignatureStatusLatestVersionSigned"
          },
          {
            "$ref": "#/components/schemas/SellerSignatureStatusNewSignatureRequired"
          }
        ],
        "X-Model-Name": "SellerSignatureStatus"
      },
      "SellerSignatureStatusLatestVersionSigned": {
        "type": "object",
        "required": [
          "type",
          "signature",
          "links"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "latestVersionSigned"
            ]
          },
          "signature": {
            "$ref": "#/components/schemas/SellerSignature"
          },
          "links": {
            "type": "object",
            "properties": {
              "signedDocument": {
                "type": "string",
                "format": "uri",
                "description": "A URL that points to a Markdown version of the signed document."
              }
            },
            "required": [
              "signedDocument"
            ],
            "X-Model-Name": "SellerSignatureStatusLatestVersionSignedLinks"
          }
        },
        "X-Model-Name": "SellerSignatureStatusLatestVersionSigned"
      },
      "SellerSignatureStatusNeverSigned": {
        "type": "object",
        "required": [
          "type",
          "links"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "neverSigned"
            ]
          },
          "links": {
            "type": "object",
            "properties": {
              "documentAwaitingSigning": {
                "type": "string",
                "format": "uri",
                "description": "A URL that points to a Markdown version of document the seller needs to sign."
              }
            },
            "required": [
              "documentAwaitingSigning"
            ],
            "X-Model-Name": "SellerSignatureStatusNeverSignedLinks"
          }
        },
        "X-Model-Name": "SellerSignatureStatusNeverSigned"
      },
      "SellerSignatureStatusNewSignatureRequired": {
        "type": "object",
        "required": [
          "type",
          "existingSignature",
          "links"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "newSignatureRequired"
            ]
          },
          "existingSignature": {
            "$ref": "#/components/schemas/SellerSignature"
          },
          "links": {
            "type": "object",
            "properties": {
              "documentAwaitingSigning": {
                "type": "string",
                "format": "uri",
                "description": "A URL that points to a Markdown version of the document the seller needs to sign."
              }
            },
            "required": [
              "documentAwaitingSigning"
            ],
            "X-Model-Name": "SellerSignatureStatusNewSignatureRequiredLinks"
          }
        },
        "X-Model-Name": "SellerSignatureStatusNewSignatureRequired"
      },
      "SellerSignatures": {
        "type": "object",
        "required": [
          "sellerAgreement",
          "termsAndConditions"
        ],
        "properties": {
          "sellerAgreement": {
            "$ref": "#/components/schemas/SellerSignatureStatus"
          },
          "termsAndConditions": {
            "$ref": "#/components/schemas/SellerSignatureStatus"
          }
        },
        "X-Model-Name": "SellerSignatures"
      },
      "SellerTradingIdentity": {
        "type": "object",
        "required": [
          "tradingName"
        ],
        "properties": {
          "tradingName": {
            "type": "string",
            "description": "The name this seller operates under on Inatur, used wherever they are shown to\nend users - search results, seller listings, sales pages, etc. This is independent\nof their juridical name: a private person by the name of \"Ola Nordmann\" may operate\npublicly as \"Olas Hytter\"; a company with the legal name of \"Inatur Norge AS\" may\npresent as just \"Inatur\":"
          }
        },
        "X-Model-Name": "SellerTradingIdentity"
      },
      "SellerTradingIdentity.PatchTradingNameBody": {
        "type": "object",
        "required": [
          "tradingName"
        ],
        "properties": {
          "tradingName": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.AnimalCategory": {
        "type": "string",
        "enum": [
          "Yearling",
          "JuvenileAnimal",
          "JuvenileMale",
          "JuvenileFemale",
          "GrownMale",
          "GrownFemale",
          "FreeRangeAnimal"
        ]
      },
      "Sellers.ContractRevisions.CategoryPriceSpecification": {
        "type": "object",
        "required": [
          "prices"
        ],
        "properties": {
          "category": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.AnimalCategory"
          },
          "prices": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.PriceSpecification"
          }
        }
      },
      "Sellers.ContractRevisions.ContractRevisionDetails": {
        "type": "object",
        "required": [
          "salesPageId",
          "productId",
          "detectionEquipages",
          "huntingTeam",
          "priceTable",
          "quotas",
          "config"
        ],
        "properties": {
          "salesPageId": {
            "type": "string"
          },
          "productId": {
            "type": "string"
          },
          "detectionEquipages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.ContractRevisions.DetectionEquipage"
            }
          },
          "huntingPeriod": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.HuntingPeriod"
          },
          "huntingTeam": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.ContractRevisions.Hunter"
            }
          },
          "priceTable": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.ContractRevisions.PriceTableEntry"
            }
          },
          "quotas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.ContractRevisions.Quota"
            }
          },
          "config": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.EditorConfig"
          }
        },
        "description": "Fields are largely optional because a revision can be saved as an incomplete\ndraft; completeness is decided when it is issued for signing."
      },
      "Sellers.ContractRevisions.DetailedPriceSpecification": {
        "type": "object",
        "required": [
          "type",
          "species",
          "detailedPrices"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "Detailed"
            ]
          },
          "species": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.Species"
          },
          "detailedPrices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.ContractRevisions.CategoryPriceSpecification"
            }
          }
        }
      },
      "Sellers.ContractRevisions.DetectionEquipage": {
        "type": "object",
        "properties": {
          "dogId": {
            "type": "string"
          },
          "handler": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.EditorConfig": {
        "type": "object",
        "required": [
          "includedFields",
          "salesPageTitle"
        ],
        "properties": {
          "includedFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.ContractRevisions.EditorField"
            }
          },
          "salesPageTitle": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.EditorField": {
        "type": "string",
        "enum": [
          "Product",
          "DetectionEquipage",
          "HuntingPeriod",
          "HuntingTeam",
          "Quotas",
          "PriceTable"
        ]
      },
      "Sellers.ContractRevisions.GeneralPriceSpecification": {
        "type": "object",
        "required": [
          "type",
          "species",
          "prices"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "General"
            ]
          },
          "species": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.Species"
          },
          "prices": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.PriceSpecification"
          }
        }
      },
      "Sellers.ContractRevisions.Hunter": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "hunterNumber": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "address": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.HunterAddress"
          },
          "municipality": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "email": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.HunterAddress": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.HuntingPeriod": {
        "type": "object",
        "required": [
          "start",
          "end"
        ],
        "properties": {
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Sellers.ContractRevisions.NewRevision": {
        "type": "object",
        "required": [
          "revisionId"
        ],
        "properties": {
          "revisionId": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.PriceSpecification": {
        "type": "object",
        "required": [
          "unit"
        ],
        "properties": {
          "unit": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.Unit"
          },
          "unitPrice": {
            "type": "integer"
          },
          "killFee": {
            "type": "integer"
          },
          "basePrice": {
            "type": "integer"
          },
          "comment": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.PriceTableEntry": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.GeneralPriceSpecification"
          },
          {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.DetailedPriceSpecification"
          }
        ]
      },
      "Sellers.ContractRevisions.PriceTableEntryType": {
        "type": "string",
        "enum": [
          "General",
          "Detailed"
        ]
      },
      "Sellers.ContractRevisions.ProductOption": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.Quota": {
        "type": "object",
        "required": [
          "species"
        ],
        "properties": {
          "species": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.Species"
          },
          "category": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.AnimalCategory"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.SalesPageOption": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.Species": {
        "type": "string",
        "enum": [
          "Moose",
          "RedDeer",
          "WildReindeer"
        ]
      },
      "Sellers.ContractRevisions.Unit": {
        "type": "string",
        "enum": [
          "Kg",
          "Animal"
        ]
      },
      "Sellers.ContractRevisions.UpdateDetectionEquipagesRequest": {
        "type": "object",
        "required": [
          "detectionEquipages"
        ],
        "properties": {
          "detectionEquipages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.ContractRevisions.DetectionEquipage"
            }
          }
        }
      },
      "Sellers.ContractRevisions.UpdateHuntingPeriodRequest": {
        "type": "object",
        "required": [
          "huntingPeriod"
        ],
        "properties": {
          "huntingPeriod": {
            "$ref": "#/components/schemas/Sellers.ContractRevisions.HuntingPeriod"
          }
        }
      },
      "Sellers.ContractRevisions.UpdatePriceTableRequest": {
        "type": "object",
        "required": [
          "priceTable"
        ],
        "properties": {
          "priceTable": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.ContractRevisions.PriceTableEntry"
            }
          }
        }
      },
      "Sellers.ContractRevisions.UpdateProductRequest": {
        "type": "object",
        "required": [
          "salesPageId",
          "productId"
        ],
        "properties": {
          "salesPageId": {
            "type": "string"
          },
          "productId": {
            "type": "string"
          }
        }
      },
      "Sellers.ContractRevisions.UpdateQuotasRequest": {
        "type": "object",
        "required": [
          "quotas"
        ],
        "properties": {
          "quotas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.ContractRevisions.Quota"
            }
          }
        }
      },
      "Sellers.Contracts.ActiveContract": {
        "type": "object",
        "required": [
          "contractId",
          "signed",
          "endDate",
          "teamLeaderName",
          "productTitle"
        ],
        "properties": {
          "contractId": {
            "type": "string"
          },
          "signed": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "teamLeaderName": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          },
          "signedByEmail": {
            "type": "string"
          }
        }
      },
      "Sellers.Contracts.ActiveContractItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Sellers.Contracts.ActiveContract"
          },
          "links": {
            "$ref": "#/components/schemas/Sellers.Contracts.ActiveContractLinks"
          }
        }
      },
      "Sellers.Contracts.ActiveContractLinks": {
        "type": "object",
        "required": [
          "download",
          "terminate",
          "createRevision",
          "showRevisionArchive"
        ],
        "properties": {
          "download": {
            "type": "string",
            "format": "uri"
          },
          "terminate": {
            "type": "string",
            "format": "uri"
          },
          "createRevision": {
            "type": "string",
            "format": "uri"
          },
          "showRevisionArchive": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Sellers.Contracts.ActiveContractPage": {
        "type": "object",
        "required": [
          "items",
          "pagination",
          "links"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.Contracts.ActiveContractItem"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Common.PaginationData"
          },
          "links": {
            "$ref": "#/components/schemas/Common.PaginatedPageLinks"
          }
        }
      },
      "Sellers.Contracts.ContractRevisionArchive": {
        "type": "object",
        "required": [
          "salesPageTitle",
          "productTitle",
          "firstYear",
          "lastYear",
          "revisionItems"
        ],
        "properties": {
          "salesPageTitle": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          },
          "firstYear": {
            "type": "string"
          },
          "lastYear": {
            "type": "string"
          },
          "revisionItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.Contracts.RevisionItem"
            }
          }
        }
      },
      "Sellers.Contracts.ExpiredContract": {
        "type": "object",
        "required": [
          "contractId",
          "signed",
          "endDate",
          "teamLeaderName",
          "productTitle"
        ],
        "properties": {
          "contractId": {
            "type": "string"
          },
          "signed": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "teamLeaderName": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          }
        }
      },
      "Sellers.Contracts.ExpiredContractItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Sellers.Contracts.ExpiredContract"
          },
          "links": {
            "$ref": "#/components/schemas/Sellers.Contracts.ExpiredContractLinks"
          }
        }
      },
      "Sellers.Contracts.ExpiredContractLinks": {
        "type": "object",
        "required": [
          "download",
          "showRevisionArchive"
        ],
        "properties": {
          "download": {
            "type": "string",
            "format": "uri"
          },
          "showRevisionArchive": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Sellers.Contracts.ExpiredContractPage": {
        "type": "object",
        "required": [
          "items",
          "pagination",
          "links"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.Contracts.ExpiredContractItem"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Common.PaginationData"
          },
          "links": {
            "$ref": "#/components/schemas/Common.PaginatedPageLinks"
          }
        }
      },
      "Sellers.Contracts.RejectedContract": {
        "type": "object",
        "required": [
          "revisionId",
          "rejectedDate",
          "endDate",
          "teamLeaderName",
          "productTitle"
        ],
        "properties": {
          "revisionId": {
            "type": "string"
          },
          "rejectedDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "teamLeaderName": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          }
        }
      },
      "Sellers.Contracts.RejectedContractItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Sellers.Contracts.RejectedContract"
          },
          "links": {
            "$ref": "#/components/schemas/Sellers.Contracts.RejectedContractLinks"
          }
        }
      },
      "Sellers.Contracts.RejectedContractLinks": {
        "type": "object",
        "required": [
          "download",
          "edit"
        ],
        "properties": {
          "download": {
            "type": "string",
            "format": "uri"
          },
          "edit": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Sellers.Contracts.RejectedContractPage": {
        "type": "object",
        "required": [
          "items",
          "pagination",
          "links"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.Contracts.RejectedContractItem"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Common.PaginationData"
          },
          "links": {
            "$ref": "#/components/schemas/Common.PaginatedPageLinks"
          }
        }
      },
      "Sellers.Contracts.Revision": {
        "type": "object",
        "required": [
          "contractId",
          "created",
          "status"
        ],
        "properties": {
          "contractId": {
            "type": "string",
            "description": "The id of the revision itself. Contracts and revisions have separate ids, and\noperations taking a `contractId` accept either."
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "signed": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/Sellers.Contracts.RevisionArchiveStatus"
          }
        }
      },
      "Sellers.Contracts.RevisionArchiveStatus": {
        "type": "string",
        "enum": [
          "Active",
          "Issued",
          "IssuedButDeclined",
          "Archived",
          "Expired"
        ]
      },
      "Sellers.Contracts.RevisionItem": {
        "type": "object",
        "required": [
          "revision",
          "links"
        ],
        "properties": {
          "revision": {
            "$ref": "#/components/schemas/Sellers.Contracts.Revision"
          },
          "links": {
            "$ref": "#/components/schemas/Sellers.Contracts.RevisionLinks"
          }
        }
      },
      "Sellers.Contracts.RevisionLinks": {
        "type": "object",
        "required": [
          "download"
        ],
        "properties": {
          "download": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Sellers.Contracts.SignableContract": {
        "type": "object",
        "required": [
          "revisionId",
          "issued",
          "signingDeadline",
          "teamLeaderName",
          "productTitle"
        ],
        "properties": {
          "revisionId": {
            "type": "string"
          },
          "issued": {
            "type": "string",
            "format": "date-time"
          },
          "signingDeadline": {
            "type": "string",
            "format": "date-time"
          },
          "teamLeaderName": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          }
        }
      },
      "Sellers.Contracts.SignableContractItem": {
        "type": "object",
        "required": [
          "item"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Sellers.Contracts.SignableContract"
          }
        }
      },
      "Sellers.Contracts.SignableContractPage": {
        "type": "object",
        "required": [
          "items",
          "pagination",
          "links"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.Contracts.SignableContractItem"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Common.PaginationData"
          },
          "links": {
            "$ref": "#/components/schemas/Common.PaginatedPageLinks"
          }
        }
      },
      "Sellers.Contracts.SortField": {
        "type": "string",
        "enum": [
          "Issued",
          "Signed",
          "Rejected",
          "SigningDeadline",
          "TeamLeaderName",
          "ProductTitle",
          "EndOfContract"
        ]
      },
      "Sellers.Contracts.SortFieldParam": {
        "type": "string",
        "enum": [
          "Issued",
          "Signed",
          "Rejected",
          "SigningDeadline",
          "TeamLeaderName",
          "ProductTitle",
          "EndOfContract"
        ]
      },
      "Sellers.Contracts.UnsignedContractItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Sellers.Contracts.SignableContract"
          },
          "links": {
            "$ref": "#/components/schemas/Sellers.Contracts.UnsignedContractLinks"
          }
        }
      },
      "Sellers.Contracts.UnsignedContractLinks": {
        "type": "object",
        "required": [
          "edit"
        ],
        "properties": {
          "edit": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Sellers.Contracts.UnsignedContractPage": {
        "type": "object",
        "required": [
          "items",
          "pagination",
          "links"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.Contracts.UnsignedContractItem"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Common.PaginationData"
          },
          "links": {
            "$ref": "#/components/schemas/Common.PaginatedPageLinks"
          }
        }
      },
      "Sellers.HuntingReports.ListItem": {
        "type": "object",
        "required": [
          "salesPage",
          "payer",
          "permit",
          "hunter",
          "validDates"
        ],
        "properties": {
          "salesPage": {
            "$ref": "#/components/schemas/Sellers.HuntingReports.ListItemSalesPage"
          },
          "lastReminded": {
            "type": "string",
            "format": "date"
          },
          "payer": {
            "$ref": "#/components/schemas/Sellers.HuntingReports.ListItemPayer"
          },
          "permit": {
            "$ref": "#/components/schemas/Sellers.HuntingReports.ListItemPermit"
          },
          "hunter": {
            "$ref": "#/components/schemas/Sellers.HuntingReports.ListItemHunter"
          },
          "validDates": {
            "type": "string"
          }
        }
      },
      "Sellers.HuntingReports.ListItemHunter": {
        "type": "object",
        "required": [
          "name",
          "phoneNumber"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          }
        }
      },
      "Sellers.HuntingReports.ListItemPayer": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "Sellers.HuntingReports.ListItemPermit": {
        "type": "object",
        "required": [
          "name",
          "number"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "number": {
            "type": "string"
          }
        }
      },
      "Sellers.HuntingReports.ListItemSalesPage": {
        "type": "object",
        "required": [
          "id",
          "type",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Common.SalesPageType"
          },
          "thumbnailUrl": {
            "type": "string",
            "format": "uri"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "Sellers.HuntingReports.PressureRegulationFilter": {
        "type": "string",
        "enum": [
          "OnlyPressureRegulated",
          "OnlyNonPressureRegulated",
          "BothPressureAndNonPressureRegulated"
        ]
      },
      "Sellers.HuntingReports.ReminderChannel": {
        "type": "string",
        "enum": [
          "SMS",
          "EMAIL"
        ]
      },
      "Sellers.HuntingReports.SalesPage": {
        "type": "object",
        "required": [
          "id",
          "title",
          "permits"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "permits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sellers.HuntingReports.SalesPagePermit"
            }
          }
        }
      },
      "Sellers.HuntingReports.SalesPagePermit": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "Sellers.HuntingReports.SendPermitRemindersBody": {
        "type": "object",
        "required": [
          "permitIds",
          "channel"
        ],
        "properties": {
          "permitIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "channel": {
            "$ref": "#/components/schemas/Sellers.HuntingReports.ReminderChannel"
          }
        }
      },
      "Sellers.HuntingReports.SendSearchRemindersBody": {
        "type": "object",
        "required": [
          "channel"
        ],
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/Sellers.HuntingReports.ReminderChannel"
          }
        }
      },
      "Sellers.HuntingReports.Settings": {
        "type": "object",
        "required": [
          "sanctionsEnabled"
        ],
        "properties": {
          "sanctionsEnabled": {
            "type": "boolean"
          }
        }
      },
      "SentryConfiguration.SamplingRates": {
        "type": "object",
        "properties": {
          "tracing": {
            "type": "number",
            "format": "decimal"
          },
          "replays": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "ServiceAnnouncements.Customer.ServiceAnnouncement": {
        "type": "object",
        "required": [
          "message",
          "type"
        ],
        "properties": {
          "message": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "info",
              "warning"
            ]
          }
        }
      },
      "Species.Category": {
        "type": "string",
        "enum": [
          "BigGame",
          "SmallGame",
          "FreshwaterFish",
          "SalmonFish"
        ]
      },
      "Species.Item": {
        "type": "object",
        "required": [
          "id",
          "text"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        }
      },
      "SubscriptionPrices.ProvisionLevels": {
        "type": "object",
        "required": [
          "onlineSale",
          "applicationSale",
          "manualSale",
          "smsSale",
          "retailerV2Sale"
        ],
        "properties": {
          "onlineSale": {
            "type": "number"
          },
          "applicationSale": {
            "type": "number"
          },
          "manualSale": {
            "type": "number"
          },
          "smsSale": {
            "type": "number"
          },
          "retailerV2Sale": {
            "type": "number"
          }
        },
        "X-Model-Name": "SubscriptionPricesProvisionLevels"
      },
      "SubscriptionPrices.SubscriptionBasePrices": {
        "type": "object",
        "required": [
          "freshwaterFishing",
          "salmonFishing",
          "bigGameHunting",
          "smallGameHunting",
          "cabin",
          "miscellaneous",
          "smsSending"
        ],
        "properties": {
          "freshwaterFishing": {
            "type": "integer"
          },
          "salmonFishing": {
            "type": "integer"
          },
          "bigGameHunting": {
            "type": "integer"
          },
          "smallGameHunting": {
            "type": "integer"
          },
          "cabin": {
            "type": "integer"
          },
          "miscellaneous": {
            "type": "integer"
          },
          "smsSending": {
            "type": "integer"
          }
        },
        "X-Model-Name": "SubscriptionPricesBase"
      },
      "SubscriptionPrices.SubscriptionPrices": {
        "type": "object",
        "required": [
          "basePrices",
          "provisionLevels"
        ],
        "properties": {
          "basePrices": {
            "$ref": "#/components/schemas/SubscriptionPrices.SubscriptionBasePrices"
          },
          "provisionLevels": {
            "$ref": "#/components/schemas/SubscriptionPrices.ProvisionLevels"
          }
        },
        "X-Model-Name": "SubscriptionPrices"
      },
      "Trekninger.Results.M2m.AssignedResponse": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.M2m.GetAssignedResponseItem"
            }
          }
        }
      },
      "Trekninger.Results.M2m.GetAssignedResponseItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.AssignedApplication"
          },
          "links": {
            "$ref": "#/components/schemas/Trekninger.Results.M2m.SalesPageLinks"
          }
        }
      },
      "Trekninger.Results.M2m.GetWaitingResponseItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.Application"
          },
          "links": {
            "$ref": "#/components/schemas/Trekninger.Results.M2m.SalesPageLinks"
          }
        }
      },
      "Trekninger.Results.M2m.ListResponse": {
        "type": "object",
        "required": [
          "items",
          "pagination",
          "links"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.M2m.ListResponseItem"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Common.PaginationData"
          },
          "links": {
            "$ref": "#/components/schemas/Common.PaginatedPageLinks"
          }
        }
      },
      "Trekninger.Results.M2m.ListResponseItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.ListedTrekningDetails"
          },
          "links": {
            "$ref": "#/components/schemas/Trekninger.Results.M2m.ListingItemLinks"
          }
        }
      },
      "Trekninger.Results.M2m.ListingItemLinks": {
        "type": "object",
        "required": [
          "assigned",
          "waiting"
        ],
        "properties": {
          "assigned": {
            "type": "string",
            "format": "uri"
          },
          "waiting": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Trekninger.Results.M2m.SalesPageLinks": {
        "type": "object",
        "required": [
          "salesPages"
        ],
        "properties": {
          "salesPages": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            },
            "description": "The sales pages that are in the trekning."
          }
        }
      },
      "Trekninger.Results.M2m.WaitingResponse": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.M2m.GetWaitingResponseItem"
            }
          }
        }
      },
      "Trekninger.Results.Seller.AcceptanceStatusParam": {
        "type": "string",
        "enum": [
          "Assigned",
          "Accepted",
          "Rejected"
        ]
      },
      "Trekninger.Results.Seller.AssignedApplicationLinks": {
        "type": "object",
        "required": [
          "show",
          "previewContract",
          "generateContract"
        ],
        "properties": {
          "show": {
            "type": "string",
            "format": "uri"
          },
          "previewContract": {
            "type": "string",
            "format": "uri"
          },
          "generateContract": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Trekninger.Results.Seller.AssignedResponse": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Seller.GetAssignedResponseItem"
            }
          }
        }
      },
      "Trekninger.Results.Seller.DrawedHuntSummaryItem": {
        "type": "object",
        "required": [
          "salesPageTitle",
          "productTitle",
          "numAvailablePermits",
          "numApplications",
          "numAccepted",
          "numDeclined"
        ],
        "properties": {
          "salesPageTitle": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          },
          "numAvailablePermits": {
            "type": "integer"
          },
          "numApplications": {
            "type": "integer"
          },
          "numAccepted": {
            "type": "integer"
          },
          "numDeclined": {
            "type": "integer"
          }
        }
      },
      "Trekninger.Results.Seller.DrawedHuntSummaryLinks": {
        "type": "object",
        "required": [
          "openSalesPage",
          "editSalesPage"
        ],
        "properties": {
          "openSalesPage": {
            "type": "string",
            "format": "uri"
          },
          "editSalesPage": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Trekninger.Results.Seller.GetAssignedResponseItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Trekninger.Results.Seller.SellerAssignedTrekning"
          },
          "links": {
            "$ref": "#/components/schemas/Trekninger.Results.Seller.AssignedApplicationLinks"
          }
        }
      },
      "Trekninger.Results.Seller.GetWaitingResponseItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Trekninger.Results.Seller.WaitingApplicationItem"
          },
          "links": {
            "$ref": "#/components/schemas/Trekninger.Results.Seller.WaitingApplicationLinks"
          }
        }
      },
      "Trekninger.Results.Seller.ListResponse": {
        "type": "object",
        "required": [
          "items",
          "pagination",
          "links"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Shared.ListedTrekningDetails"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Common.PaginationData"
          },
          "links": {
            "$ref": "#/components/schemas/Common.PaginatedPageLinks"
          }
        }
      },
      "Trekninger.Results.Seller.SellerAssignedTrekning": {
        "type": "object",
        "required": [
          "jaktleder",
          "lag",
          "hunts",
          "priority",
          "trekningsnummer",
          "assignedSalesPage",
          "applicationId",
          "trekningId"
        ],
        "properties": {
          "jaktleder": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.Jaktleder"
          },
          "lag": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Shared.Person"
            }
          },
          "hunts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Shared.ApplicationHunt"
            }
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Trekninger.Results.Shared.AcceptanceStatus"
              }
            ],
            "description": "The status of the trekning.\n\n* \"Assigned\" means the søknad has been accepted and the lag have been\nallocated a place on the jakt, but they haven't yet accepted it.\n\n* \"Accepted\" means they have accepted the allocation.\n\n* \"Rejected\" means they have rejected the allocation."
          },
          "priority": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The priority the assigned kort had in the user's preference list. For example,\nthis would be `1` if the user got their first preference."
          },
          "trekningsnummer": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The number (in terms of rekkefølge) the application was chosen in the trekning."
          },
          "assignedSalesPage": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Trekninger.Results.Shared.AssignedSalesPage"
              }
            ],
            "description": "Information about the sales page (tilbud) that the application was assigned."
          },
          "applicationId": {
            "type": "string"
          },
          "trekningId": {
            "type": "string"
          }
        }
      },
      "Trekninger.Results.Seller.SummaryResponse": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Seller.SummaryResponseItem"
            }
          }
        }
      },
      "Trekninger.Results.Seller.SummaryResponseItem": {
        "type": "object",
        "required": [
          "item",
          "links"
        ],
        "properties": {
          "item": {
            "$ref": "#/components/schemas/Trekninger.Results.Seller.DrawedHuntSummaryItem"
          },
          "links": {
            "$ref": "#/components/schemas/Trekninger.Results.Seller.DrawedHuntSummaryLinks"
          }
        }
      },
      "Trekninger.Results.Seller.WaitingApplicationItem": {
        "type": "object",
        "required": [
          "jaktleder",
          "lag",
          "hunts",
          "applicationId"
        ],
        "properties": {
          "jaktleder": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.Jaktleder"
          },
          "lag": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Shared.Person"
            }
          },
          "hunts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Shared.ApplicationHunt"
            }
          },
          "applicationId": {
            "type": "string"
          }
        }
      },
      "Trekninger.Results.Seller.WaitingApplicationLinks": {
        "type": "object",
        "required": [
          "showApplication"
        ],
        "properties": {
          "showApplication": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Trekninger.Results.Seller.WaitingResponse": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Seller.GetWaitingResponseItem"
            }
          }
        }
      },
      "Trekninger.Results.Shared.AcceptanceStatus": {
        "type": "string",
        "enum": [
          "Assigned",
          "Accepted",
          "Rejected"
        ]
      },
      "Trekninger.Results.Shared.Address": {
        "type": "object",
        "required": [
          "postcode",
          "town",
          "addressLine1",
          "municipality",
          "country"
        ],
        "properties": {
          "postcode": {
            "type": "string"
          },
          "town": {
            "type": "string"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "municipality": {
            "type": "string"
          },
          "country": {
            "type": "string"
          }
        }
      },
      "Trekninger.Results.Shared.Application": {
        "type": "object",
        "required": [
          "jaktleder",
          "lag",
          "hunts"
        ],
        "properties": {
          "jaktleder": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.Jaktleder"
          },
          "lag": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Shared.Person"
            }
          },
          "hunts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Shared.ApplicationHunt"
            }
          }
        }
      },
      "Trekninger.Results.Shared.ApplicationHunt": {
        "type": "object",
        "required": [
          "salesPageId",
          "permitId"
        ],
        "properties": {
          "salesPageId": {
            "type": "string",
            "description": "The ID of the sales page (tilbud) the application was made to."
          },
          "permitId": {
            "type": "string",
            "description": "The ID of the specific permit (kort) that was applied to."
          }
        }
      },
      "Trekninger.Results.Shared.AssignedApplication": {
        "type": "object",
        "required": [
          "jaktleder",
          "lag",
          "hunts",
          "priority",
          "trekningsnummer",
          "assignedSalesPage",
          "applicationId"
        ],
        "properties": {
          "jaktleder": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.Jaktleder"
          },
          "lag": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Shared.Person"
            }
          },
          "hunts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Trekninger.Results.Shared.ApplicationHunt"
            }
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Trekninger.Results.Shared.AcceptanceStatus"
              }
            ],
            "description": "The status of the trekning.\n\n* \"Assigned\" means the søknad has been accepted and the lag have been\nallocated a place on the jakt, but they haven't yet accepted it.\n\n* \"Accepted\" means they have accepted the allocation.\n\n* \"Rejected\" means they have rejected the allocation."
          },
          "priority": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The priority the assigned kort had in the user's preference list. For example,\nthis would be `1` if the user got their first preference."
          },
          "trekningsnummer": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Common.positiveInteger"
              }
            ],
            "description": "The number (in terms of rekkefølge) the application was chosen in the trekning."
          },
          "assignedSalesPage": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Trekninger.Results.Shared.AssignedSalesPage"
              }
            ],
            "description": "Information about the sales page (tilbud) that the application was assigned."
          },
          "applicationId": {
            "type": "string"
          }
        }
      },
      "Trekninger.Results.Shared.AssignedSalesPage": {
        "type": "object",
        "required": [
          "id",
          "title",
          "tilbyderId",
          "productId",
          "productTitle"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "tilbyderId": {
            "type": "string"
          },
          "productId": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          }
        }
      },
      "Trekninger.Results.Shared.Ekvipasje": {
        "type": "object",
        "required": [
          "dogId",
          "handlerName"
        ],
        "properties": {
          "dogId": {
            "type": "string"
          },
          "handlerName": {
            "type": "string"
          }
        }
      },
      "Trekninger.Results.Shared.Jaktleder": {
        "type": "object",
        "required": [
          "details"
        ],
        "properties": {
          "details": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.Person"
          },
          "ekvipasje": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.Ekvipasje"
          }
        }
      },
      "Trekninger.Results.Shared.ListedTrekningDetails": {
        "type": "object",
        "required": [
          "id",
          "status",
          "type",
          "date"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "finished"
            ]
          },
          "type": {
            "$ref": "#/components/schemas/Trekninger.Shared.Trekningstype"
          },
          "comment": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Trekninger.Results.Shared.Person": {
        "type": "object",
        "required": [
          "firstName",
          "lastName",
          "huntingNumber",
          "dateOfBirth",
          "email",
          "mobileNumber",
          "address",
          "personNumber"
        ],
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "huntingNumber": {
            "$ref": "#/components/schemas/Common.numberString"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "email": {
            "type": "string"
          },
          "mobileNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "address": {
            "$ref": "#/components/schemas/Trekninger.Results.Shared.Address"
          },
          "personNumber": {
            "type": "string",
            "description": "Corresponds to Norwegian fødselsnummer."
          }
        }
      },
      "Trekninger.Shared.Trekningstype": {
        "type": "string",
        "enum": [
          "Individuell",
          "Jaktlag",
          "JaktlagSmaavilt",
          "Smaavilt",
          "StorviltBetaling",
          "LagsoeknadLaks"
        ]
      },
      "Trekninger.TrekkbarJakt.TrekkbarJakt": {
        "type": "object",
        "required": [
          "salesPageTitle",
          "salesPageId",
          "productTitleAndSeason",
          "regions",
          "trekningstype",
          "numApplications",
          "numAccepted",
          "numDeclined",
          "applicationDeadline"
        ],
        "properties": {
          "salesPageTitle": {
            "type": "string"
          },
          "salesPageId": {
            "type": "string"
          },
          "productTitleAndSeason": {
            "type": "string"
          },
          "regions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "trekningstype": {
            "$ref": "#/components/schemas/Trekninger.Shared.Trekningstype"
          },
          "numApplications": {
            "type": "integer"
          },
          "numAccepted": {
            "type": "integer"
          },
          "numDeclined": {
            "type": "integer"
          },
          "applicationDeadline": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "UserApplications.ApplicationDetails": {
        "type": "object",
        "required": [
          "id",
          "seller",
          "drawType",
          "hunts",
          "deadline",
          "numMembers"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "seller": {
            "type": "string"
          },
          "drawType": {
            "$ref": "#/components/schemas/Trekninger.Shared.Trekningstype"
          },
          "hunts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserApplications.AppliedHunt"
            }
          },
          "deadline": {
            "type": "string",
            "format": "date"
          },
          "numMembers": {
            "type": "integer"
          },
          "teamSizeLimit": {
            "$ref": "#/components/schemas/Applications.Shared.TeamSizeLimit"
          }
        }
      },
      "UserApplications.AppliedHunt": {
        "type": "object",
        "required": [
          "salesPage",
          "permit"
        ],
        "properties": {
          "salesPage": {
            "$ref": "#/components/schemas/UserApplications.AppliedHuntSalesPage"
          },
          "permit": {
            "$ref": "#/components/schemas/UserApplications.AppliedHuntProduct"
          }
        }
      },
      "UserApplications.AppliedHuntProduct": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "UserApplications.AppliedHuntSalesPage": {
        "type": "object",
        "required": [
          "id",
          "title"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      },
      "UserApplications.ClosedApplicationDetails": {
        "type": "object",
        "required": [
          "id",
          "seller",
          "drawType",
          "hunts",
          "deadline",
          "numMembers",
          "submissionStatus"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "seller": {
            "type": "string"
          },
          "drawType": {
            "$ref": "#/components/schemas/Trekninger.Shared.Trekningstype"
          },
          "hunts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserApplications.AppliedHunt"
            }
          },
          "deadline": {
            "type": "string",
            "format": "date"
          },
          "numMembers": {
            "type": "integer"
          },
          "teamSizeLimit": {
            "$ref": "#/components/schemas/Applications.Shared.TeamSizeLimit"
          },
          "submissionStatus": {
            "$ref": "#/components/schemas/UserApplications.ClosedApplicationStatus.Union"
          }
        }
      },
      "UserApplications.ClosedApplicationStatus.EditedAfterSubmission": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "editedAfterSubmission"
            ]
          }
        }
      },
      "UserApplications.ClosedApplicationStatus.NotSubmittedInTime": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "notSubmittedInTime"
            ]
          }
        }
      },
      "UserApplications.ClosedApplicationStatus.SubmittedOnTime": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "submittedOnTime"
            ]
          },
          "submittedDate": {
            "type": "string",
            "format": "date",
            "description": "For the majority of applications this will be available, but it may be undefined for certain older applications."
          }
        }
      },
      "UserApplications.ClosedApplicationStatus.Union": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/UserApplications.ClosedApplicationStatus.SubmittedOnTime"
          },
          {
            "$ref": "#/components/schemas/UserApplications.ClosedApplicationStatus.NotSubmittedInTime"
          },
          {
            "$ref": "#/components/schemas/UserApplications.ClosedApplicationStatus.EditedAfterSubmission"
          }
        ]
      },
      "UserApplications.GrantedHunt": {
        "type": "object",
        "required": [
          "id",
          "applicationId",
          "drawId",
          "salesPage",
          "product",
          "paymentDeadline",
          "huntingLeader",
          "huntingTeam",
          "variant"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "applicationId": {
            "type": "string"
          },
          "drawId": {
            "type": "string"
          },
          "salesPage": {
            "$ref": "#/components/schemas/UserApplications.GrantedHuntSalesPage"
          },
          "product": {
            "$ref": "#/components/schemas/UserApplications.GrantedHuntProduct"
          },
          "paymentDeadline": {
            "type": "string",
            "format": "date"
          },
          "huntingLeader": {
            "$ref": "#/components/schemas/UserApplications.GrantedHuntPersonDetails"
          },
          "huntingTeam": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserApplications.GrantedHuntPersonDetails"
            }
          },
          "variant": {
            "$ref": "#/components/schemas/UserApplications.GrantedHuntVariant"
          }
        }
      },
      "UserApplications.GrantedHuntPersonAddress": {
        "type": "object",
        "required": [
          "town",
          "addressLine1",
          "kommune",
          "postcode"
        ],
        "properties": {
          "town": {
            "type": "string"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "kommune": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          }
        }
      },
      "UserApplications.GrantedHuntPersonDetails": {
        "type": "object",
        "required": [
          "firstName",
          "lastName",
          "dateOfBirth",
          "email",
          "mobileNumber",
          "address"
        ],
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "email": {
            "type": "string"
          },
          "mobileNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "huntingNumber": {
            "$ref": "#/components/schemas/Common.numberString"
          },
          "address": {
            "$ref": "#/components/schemas/UserApplications.GrantedHuntPersonAddress"
          }
        },
        "description": "A read-only preview of a hunt leader / team member that will take part in the granted hunt."
      },
      "UserApplications.GrantedHuntProduct": {
        "type": "object",
        "required": [
          "id",
          "name",
          "season",
          "price",
          "pricePerPermit"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "season": {
            "$ref": "#/components/schemas/Common.DatePeriod"
          },
          "price": {
            "type": "integer"
          },
          "pricePerPermit": {
            "type": "integer"
          }
        }
      },
      "UserApplications.GrantedHuntSalesPage": {
        "type": "object",
        "required": [
          "id",
          "title"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      },
      "UserApplications.GrantedHuntVariant": {
        "type": "string",
        "enum": [
          "Hunting",
          "Fishing"
        ]
      },
      "UserApplications.OpenApplicationDetails": {
        "type": "object",
        "required": [
          "id",
          "seller",
          "drawType",
          "hunts",
          "deadline",
          "numMembers",
          "status"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "seller": {
            "type": "string"
          },
          "drawType": {
            "$ref": "#/components/schemas/Trekninger.Shared.Trekningstype"
          },
          "hunts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserApplications.AppliedHunt"
            }
          },
          "deadline": {
            "type": "string",
            "format": "date"
          },
          "numMembers": {
            "type": "integer"
          },
          "teamSizeLimit": {
            "$ref": "#/components/schemas/Applications.Shared.TeamSizeLimit"
          },
          "status": {
            "$ref": "#/components/schemas/UserApplications.OpenApplicationStatus"
          }
        }
      },
      "UserApplications.OpenApplicationStatus": {
        "type": "string",
        "enum": [
          "Incomplete",
          "NotSubmitted",
          "AwaitingDraw"
        ]
      },
      "UserApplications.Purchase.HunterValidation.Failed": {
        "type": "object",
        "required": [
          "type",
          "team"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "failed"
            ]
          },
          "leader": {
            "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.Participant"
          },
          "team": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.Participant"
            }
          }
        }
      },
      "UserApplications.Purchase.HunterValidation.HunterNumber": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.HunterNumberExists"
          },
          {
            "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.HunterNumberMissing"
          }
        ]
      },
      "UserApplications.Purchase.HunterValidation.HunterNumberExists": {
        "type": "object",
        "required": [
          "type",
          "jegeravgiftStatus",
          "value"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "exists"
            ]
          },
          "jegeravgiftStatus": {
            "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.JegeravgiftStatus"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "UserApplications.Purchase.HunterValidation.HunterNumberMissing": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "missing"
            ]
          }
        }
      },
      "UserApplications.Purchase.HunterValidation.JegeravgiftStatus": {
        "type": "string",
        "enum": [
          "Ok",
          "NotPaid",
          "NotRegistered",
          "ForeignHunter",
          "InvalidHunterNumber",
          "UnknownError"
        ]
      },
      "UserApplications.Purchase.HunterValidation.Participant": {
        "type": "object",
        "required": [
          "name",
          "hunterNumber",
          "hasOutstandingHuntingReports",
          "index"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "hunterNumber": {
            "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.HunterNumber"
          },
          "hasOutstandingHuntingReports": {
            "type": "boolean"
          },
          "index": {
            "$ref": "#/components/schemas/Common.positiveInteger"
          }
        }
      },
      "UserApplications.Purchase.HunterValidation.Passed": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "passed"
            ]
          }
        }
      },
      "UserApplications.Purchase.HunterValidation.Result": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.Passed"
          },
          {
            "$ref": "#/components/schemas/UserApplications.Purchase.HunterValidation.Failed"
          }
        ]
      },
      "UserApplications.Purchase.Payment.CreatePaymentBody": {
        "type": "object",
        "required": [
          "reservationId",
          "userAcceptsTerms",
          "paymentSuccessUrl",
          "paymentCancelledUrl",
          "signupToNewsletter"
        ],
        "properties": {
          "reservationId": {
            "type": "string"
          },
          "userAcceptsTerms": {
            "type": "boolean"
          },
          "paymentSuccessUrl": {
            "type": "string"
          },
          "paymentCancelledUrl": {
            "type": "string"
          },
          "signupToNewsletter": {
            "type": "boolean"
          },
          "giftCardRedemption": {
            "$ref": "#/components/schemas/GiftCard.ReserveRedemptionRequest"
          }
        }
      },
      "UserApplications.Purchase.Payment.CreatePaymentResponse": {
        "type": "object",
        "required": [
          "netsEasyPaymentUrl"
        ],
        "properties": {
          "netsEasyPaymentUrl": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "UserApplications.Purchase.Reservations.CreateFishingReservationBody": {
        "type": "object",
        "required": [
          "type",
          "leader",
          "team"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "fishing"
            ]
          },
          "leader": {
            "$ref": "#/components/schemas/UserApplications.Purchase.Reservations.FishingParticipantInput"
          },
          "team": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserApplications.Purchase.Reservations.FishingParticipantInput"
            }
          }
        }
      },
      "UserApplications.Purchase.Reservations.CreateHuntingReservationBody": {
        "type": "object",
        "required": [
          "type",
          "leader",
          "team"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "hunting"
            ]
          },
          "leader": {
            "$ref": "#/components/schemas/UserApplications.Purchase.Reservations.HuntingParticipantInput"
          },
          "team": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserApplications.Purchase.Reservations.HuntingParticipantInput"
            }
          }
        }
      },
      "UserApplications.Purchase.Reservations.CreateReservationBody": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/UserApplications.Purchase.Reservations.CreateHuntingReservationBody"
          },
          {
            "$ref": "#/components/schemas/UserApplications.Purchase.Reservations.CreateFishingReservationBody"
          }
        ]
      },
      "UserApplications.Purchase.Reservations.FishingParticipantInput": {
        "type": "object",
        "required": [
          "country"
        ],
        "properties": {
          "country": {
            "type": "string"
          }
        }
      },
      "UserApplications.Purchase.Reservations.GetActiveReservationResponse": {
        "type": "object",
        "required": [
          "reservationId"
        ],
        "properties": {
          "reservationId": {
            "type": "string"
          }
        }
      },
      "UserApplications.Purchase.Reservations.HuntingParticipantInput": {
        "type": "object",
        "required": [
          "country"
        ],
        "properties": {
          "country": {
            "type": "string"
          },
          "hunterNumber": {
            "type": "string"
          }
        }
      },
      "UserApplications.Purchase.Stage.Completed": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "completed"
            ]
          }
        }
      },
      "UserApplications.Purchase.Stage.None": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "none"
            ]
          }
        }
      },
      "UserApplications.Purchase.Stage.Union": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/UserApplications.Purchase.Stage.None"
          },
          {
            "$ref": "#/components/schemas/UserApplications.Purchase.Stage.Completed"
          }
        ]
      },
      "UserApplications.UsageStatusResponseBody": {
        "type": "object",
        "required": [
          "hasUsedApplicationsModule"
        ],
        "properties": {
          "hasUsedApplicationsModule": {
            "type": "boolean"
          }
        }
      },
      "Users.AddressUpdate": {
        "type": "object",
        "required": [
          "postcode",
          "town",
          "countryCode"
        ],
        "properties": {
          "postcode": {
            "type": "string",
            "minLength": 1
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "town": {
            "type": "string",
            "minLength": 1
          },
          "countryCode": {
            "type": "string",
            "pattern": "^[A-Za-z]{2}$",
            "description": "ISO 3166-1 alpha-2 standard"
          }
        }
      },
      "Users.HunterDetailsUpdate": {
        "type": "object",
        "required": [
          "huntingNumber",
          "birthDate"
        ],
        "properties": {
          "huntingNumber": {
            "$ref": "#/components/schemas/Common.numberString"
          },
          "birthDate": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "Users.Interests": {
        "type": "object",
        "required": [
          "bigGame",
          "smallGame",
          "salmonFishing",
          "otherFishing",
          "cabins"
        ],
        "properties": {
          "bigGame": {
            "type": "boolean"
          },
          "smallGame": {
            "type": "boolean"
          },
          "salmonFishing": {
            "type": "boolean"
          },
          "otherFishing": {
            "type": "boolean"
          },
          "cabins": {
            "type": "boolean"
          }
        }
      },
      "Users.PersonalDetailsUpdate": {
        "type": "object",
        "required": [
          "name",
          "phoneNumber"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          }
        }
      },
      "Users.User": {
        "type": "object",
        "required": [
          "id",
          "name",
          "email",
          "created",
          "interests",
          "isLegacyHuntLeader"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "huntingNumber": {
            "$ref": "#/components/schemas/Common.numberString"
          },
          "birthDate": {
            "type": "string",
            "format": "date"
          },
          "interests": {
            "$ref": "#/components/schemas/Users.Interests"
          },
          "address": {
            "type": "object",
            "properties": {
              "postcode": {
                "type": "string"
              },
              "addressLine1": {
                "type": "string"
              },
              "addressLine2": {
                "type": "string"
              },
              "town": {
                "type": "string"
              },
              "countryCode": {
                "type": "string",
                "pattern": "^[A-Za-z]{2}$",
                "description": "ISO 3166-1 alpha-2 standard"
              }
            }
          },
          "isLegacyHuntLeader": {
            "type": "boolean"
          }
        }
      },
      "Users.UserUpdate": {
        "type": "object",
        "required": [
          "name",
          "interests",
          "address"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/Common.PhoneNumber"
          },
          "huntingNumber": {
            "type": "string",
            "format": "number"
          },
          "birthDate": {
            "type": "string"
          },
          "interests": {
            "$ref": "#/components/schemas/Users.Interests"
          },
          "address": {
            "type": "object",
            "properties": {
              "postcode": {
                "type": "string"
              },
              "addressLine1": {
                "type": "string"
              },
              "addressLine2": {
                "type": "string"
              },
              "town": {
                "type": "string"
              },
              "countryCode": {
                "type": "string",
                "pattern": "^[A-Za-z]{2}$",
                "description": "ISO 3166-1 alpha-2 standard"
              }
            },
            "required": [
              "postcode",
              "town"
            ]
          }
        }
      },
      "Utilities.Hour": {
        "type": "number",
        "minimum": 0,
        "maximum": 23
      },
      "Utilities.MonthParam": {
        "type": "string",
        "enum": [
          "January",
          "February",
          "March",
          "April",
          "May",
          "June",
          "July",
          "August",
          "September",
          "October",
          "November",
          "December"
        ]
      },
      "Utilities.Year": {
        "type": "string",
        "pattern": "/^[0-9][0-9][0-9][0-9]$/"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Inatur-Access-Token"
      },
      "BearerAuth": {
        "type": "http",
        "scheme": "Bearer"
      }
    }
  },
  "servers": [
    {
      "url": "https://inatur-test.inatur.no/api/external",
      "description": "Test",
      "variables": {}
    },
    {
      "url": "https://www.inatur.no/api/external",
      "description": "Production",
      "variables": {}
    },
    {
      "url": "http://localhost:8080/api/external",
      "description": "Local",
      "variables": {}
    }
  ]
}
