{
  "openapi": "3.0.1",
  "info": {
    "title": "StudyBox API",
    "description": "Gyldendal StudyBox API",
    "version": "3"
  },
  "paths": {
    "/api/v1/Authentication/AuthenticateUser": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "summary": "AuthenticateUser - Authenticate User and generate authentication token.",
        "operationId": "POST_v1_AuthenticateUser_HjcX/ltYDU+RxxHjcuRRXQ==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Authentication/IsTokenAlive": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "summary": "IsTokenAlive - Validates access token.",
        "operationId": "POST_v1_IsTokenAlive_Eab5I4gON02cAL7pU6ljEw==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IsTokenAliveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IsTokenAliveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IsTokenAliveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/Authentication/GetNewAuthenticationToken": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "summary": "GetNewAuthenticationToken - Returns new authentication token based on refresh token.",
        "operationId": "POST_v1_GetNewAuthenticationToken_+IzNO3w650On1qokTddiIg==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetNewAccessTokenRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetNewAccessTokenRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetNewAccessTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthenticationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Authentication/Logout": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "summary": "Logout - Logout the user.",
        "operationId": "POST_v1_Logout_vAzAgSsJdka4BtVF9G2jnQ==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Authorization/IsAuthorized": {
      "post": {
        "tags": [
          "Authorization"
        ],
        "summary": "IsAuthorized - Validates if user has valid subscription in Reepay",
        "operationId": "POST_v1_IsAuthorized_5aYykW3shUy/ONjp4VIlVA==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Campaign/IsUserValidForWinBack": {
      "get": {
        "tags": [
          "Campaign"
        ],
        "summary": "Check if the user is a valid subscriber for win back flow - (expired subscription(s) with no active subscription)",
        "operationId": "GET_v1_IsUserValidForWinBack_vwZ6Mg43Hky/CTLGM4RNKQ==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Coupon/SearchCoupons": {
      "post": {
        "tags": [
          "Coupon"
        ],
        "summary": "SearchCoupons - Search coupons by supplying the search request parameters.",
        "operationId": "POST_v1_SearchCoupons_nVGDLL6Y5ECDN5UAeHeR2g==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CouponSearchRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CouponSearchRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CouponSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CouponsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CouponsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Coupon/ValidateCoupon/{couponCode}/{planId}": {
      "get": {
        "tags": [
          "Coupon"
        ],
        "summary": "ValidateCoupon - Verify if the coupon code is valid against the planId.",
        "operationId": "GET_v1_ValidateCoupon_rHHohdNlT0eBfobfhTVgDw==",
        "parameters": [
          {
            "name": "couponCode",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "planId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Discount/SearchDiscounts": {
      "post": {
        "tags": [
          "Discount"
        ],
        "summary": "SearchDiscounts - Search discounts by supplying the search request parameters.",
        "operationId": "POST_v1_SearchDiscounts_Xiv1C5RYaUubEzpc1IdhXQ==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiscountSearchRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DiscountSearchRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DiscountSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscountsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscountsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ErrorInfo/ErrorInfo": {
      "get": {
        "tags": [
          "ErrorInfo"
        ],
        "summary": "ErrorInfoGet - Gets all the error codes and their descriptions of StudyBox, PPL and LoginConnector.",
        "operationId": "GET_v1_Get_2KInZuo0f0eIwCGAf3NDUw==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ErrorInfo/ErrorInfo/{errorCode}": {
      "get": {
        "tags": [
          "ErrorInfo"
        ],
        "summary": "ErrorInfoGetByCode - Get error details for the specified error code.",
        "operationId": "GET_v1_GetByCode_bchUCs74L0eKnjYotY9cPw==",
        "parameters": [
          {
            "name": "errorCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetail"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Folder/Create": {
      "post": {
        "tags": [
          "Folder"
        ],
        "summary": "Create - Create folder",
        "operationId": "POST_v1_Create_4lNXjRVnaUOWapS2FDSJZg==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFolderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFolderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFolderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Folder/GetDetails": {
      "post": {
        "tags": [
          "Folder"
        ],
        "summary": "GetDetails - Get folder details",
        "operationId": "POST_v1_GetDetails_Vlto73GiVEqZBOWLRI5sPQ==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetFolderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetFolderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetFolderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFolderResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFolderResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Folder/Update": {
      "put": {
        "tags": [
          "Folder"
        ],
        "summary": "Update - Update folder",
        "operationId": "PUT_v1_Update_M231LbfJTk2AjxOuEJZJvA==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFolderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFolderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFolderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/Folder/Delete": {
      "delete": {
        "tags": [
          "Folder"
        ],
        "summary": "Delete - Delete folders",
        "operationId": "DELETE_v1_Delete_T/kdM1CSEkGX9SYh5rYd2g==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteFoldersRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteFoldersRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteFoldersRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/Folder/AddMaterial": {
      "post": {
        "tags": [
          "Folder"
        ],
        "summary": "AddMaterial - Add Material To Folder.",
        "operationId": "POST_v1_AddMaterial_4QPXOq2EjkKBB/KMp9F1Jg==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddMaterialRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddMaterialRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddMaterialRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Folder/DeleteMaterials": {
      "delete": {
        "tags": [
          "Folder"
        ],
        "summary": "DeleteMaterials - Delete Materials From Folder",
        "operationId": "DELETE_v1_DeleteMaterials_uLimEb51cE6y61eKqYc4Vg==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteMaterialsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteMaterialsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteMaterialsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/Folder/GetByMaterial": {
      "post": {
        "tags": [
          "Folder"
        ],
        "summary": "GetByMaterial - Get Folders By Material Name",
        "operationId": "POST_v1_GetByMaterial_tYeRrXa86EKMbfE0o6RfuQ==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetFoldersByMaterialRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetFoldersByMaterialRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetFoldersByMaterialRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFoldersByMaterialResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFoldersByMaterialResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Folder/MoveMaterial": {
      "patch": {
        "tags": [
          "Folder"
        ],
        "summary": "MoveMaterial - Move material to a new folder.",
        "operationId": "PATCH_v1_MoveMaterial_7z8+mNYkZEyKcpZW7pGc6g==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveMaterialRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveMaterialRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MoveMaterialRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFoldersByMaterialResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFoldersByMaterialResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Folder/UpdateIndex": {
      "put": {
        "tags": [
          "Folder"
        ],
        "summary": "UpdateIndex - Update folder indexs against folder ids.",
        "operationId": "PUT_v1_UpdateIndex_87t3+vQ8/UipYuqR1MX5dw==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetFolderIdsWithIndexRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetFolderIdsWithIndexRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetFolderIdsWithIndexRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/Invoice/GetInvoice": {
      "post": {
        "tags": [
          "Invoice"
        ],
        "summary": "GetInvoice - Returns Reepay Invoice Object",
        "operationId": "POST_v1_GetInvoice_MQaPBuYBYEmmJ2WNccFqPA==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Invoice/GetInvoices": {
      "post": {
        "tags": [
          "Invoice"
        ],
        "summary": "GetInvoices - Returns List of Reepay Invoices",
        "operationId": "POST_v1_GetInvoices_AKAbPqiCL0q6md7/7KJedw==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoicesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoicesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Plan/GetPlans": {
      "get": {
        "tags": [
          "Plan"
        ],
        "summary": "GetPlans - Get list of active plans.",
        "operationId": "GET_v1_GetPlans_iQb8JAyN7ESbr1MWVJzEVw==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlanResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlanResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Plan/GetPlan/{planId}": {
      "get": {
        "tags": [
          "Plan"
        ],
        "summary": "GetPlan - Get plan by planId - Handle",
        "operationId": "GET_v1_GetPlan_WbSJHD1fwEe81vFznfnwKw==",
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Product/Search": {
      "post": {
        "tags": [
          "Product"
        ],
        "summary": "SearchProducts - Performs Product search in Solr",
        "operationId": "POST_v1_SearchProducts_0Uwvrans7EipCoBjM61yFg==",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductSearchRequestV2"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductSearchRequestV2"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductSearchRequestV2"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkSearchResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkSearchResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Product/GetCategories": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "GetCategories - Returns list of categories.",
        "operationId": "GET_v1_GetCategories_DCzoDC3k80Co2F53DYwbIw==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Product/GetSubCategories/{categoryName}": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "GetSubCategories - Returns list of sub categories.",
        "operationId": "GET_v1_GetSubCategories_8b9g3+DQ0E6wbNL3HD27yA==",
        "parameters": [
          {
            "name": "categoryName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Product/GetSeries": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "GetSeries - Returns list of series.",
        "operationId": "GET_v1_GetSeries_KimEnIunY06Hhw6MJffmuw==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Product/SearchSystimeProducts": {
      "post": {
        "tags": [
          "Product"
        ],
        "summary": "SearchSystimeProducts - Returns products from systime.",
        "operationId": "POST_v1_SearchSystimeProducts_9sCrM+BLZUm/mb0ay7fSVw==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SystimeProductSearchRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SystimeProductSearchRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SystimeProductSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SystimeProductSearchResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SystimeProductSearchResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Product/GetInstitutions": {
      "post": {
        "tags": [
          "Product"
        ],
        "summary": "GetInstitutions - Returns list of Institutions based on Criteria",
        "operationId": "POST_v1_GetInstitutions_lSbjlg3RV0ev/gAV7qme6w==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetInstitutionsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetInstitutionsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetInstitutionsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetInstitutionsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetInstitutionsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Session/CreateRecurringSession": {
      "post": {
        "tags": [
          "Session"
        ],
        "summary": "CreateRecurringSession - Creates recurring session in Reepay.",
        "operationId": "POST_v1_CreateRecurringSession_s7ZnP8E5q02ckfC01l/oBw==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRecurringSessionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRecurringSessionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRecurringSessionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecurringSessionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecurringSessionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/CreateSubscription": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "CreateSubscription - Creates Subscription in Reepay.",
        "operationId": "POST_v1_CreateSubscription_Qhle3i6Ldk6hhMqbj94ZUg==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Subscription"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Subscription"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/GetSubscription": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "GetSubscription - Returns the requested Subscription object of User.",
        "operationId": "POST_v1_GetSubscription_riLUZ5ltYUWAEeq1G4brIQ==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Subscription"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Subscription"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/CancelSubscription": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "CancelSubscription - Cancel subscription in Reepay.",
        "operationId": "POST_v1_CancelSubscription_Ha17Gg97NEyY1CBizKbQ2w==",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelSubscriptionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelSubscriptionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CancelSubscriptionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/UncancelSubscription": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "UncancelSubscription - Un-cancel subscription in Reepay.",
        "operationId": "POST_v1_UncancelSubscription_ny6qI97Q9ESTAjkbuRW2Jg==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/SetPaymentMethod": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "SetPaymentMethod - Set payment method of subscription.",
        "operationId": "POST_v1_SetPaymentMethod_H+o5Vr0M7EKMFDV120FNBA==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPaymentMethodRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPaymentMethodRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetPaymentMethodRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/GetPaymentMethod": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "GetPaymentMethod - Get payment method of subscription.",
        "operationId": "POST_v1_GetPaymentMethod_36VIxgMBQUKT1Me7FwnXmA==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Card"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Card"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/GetActivePaymentMethod": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "summary": "GetActivePaymentMethod - Returns active payment method against attached subscription (cards, mobile pay subscription)",
        "operationId": "GET_v1_GetActivePaymentMethod_OSu1O4sUVEasSuyeuhiUcg==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivePaymentMethodResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivePaymentMethodResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/CreateUser": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "CreateUser - Creates PPL User",
        "operationId": "POST_v1_CreateUser_BPvfQkx230WCUMvH7UDpdA==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "text/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/GetUserProfile": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "GetUserProfile - Returns Basic User profile.",
        "operationId": "POST_v1_GetUserProfile_emDlE5mhz0+JTkriU0vFbQ==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfile"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfile"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/GetUserProfileDetails": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "GetUserProfileDetails - Returns User profile with realm properties and payment method.",
        "operationId": "GET_v1_GetUserProfileDetails_0ofBvP8QsUq/4sevEXpkfA==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfileDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfileDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/UpdateUser": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "UpdateUser - Updates Ppl User details",
        "operationId": "POST_v1_UpdateUser_wfrRnHl3KEu74nl+OvTABg==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/User/ValidateUser": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "ValidateUser - Validate if user already exists or not.",
        "operationId": "POST_v1_ValidateUser_piO74+lpl0u94O7+R7gtOQ==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/ValidatePassword": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "ValidatePassword - Validates password strength.",
        "operationId": "POST_v1_ValidatePassword_g24H/05ylkSwHjpkTySl8g==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidatePasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidatePasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidatePasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/ChangePassword": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "ChangePassword - Updates password for Ppl user",
        "operationId": "POST_v1_ChangePassword_eGl7i8AnTE2pfW2+Q9qFrA==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/User/TriggerResetPassword": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "TriggerResetPassword - Trigger reset password sends forgot password email to user.",
        "operationId": "POST_v1_TriggerResetPassword_eNX3BllTqkK330l5xFhtBw==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TriggerResetPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TriggerResetPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TriggerResetPasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/ResetPassword": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "ResetPassword - Reset Password.",
        "operationId": "POST_v1_ResetPassword_PW4XuYJbg0m7ukB94bC7gA==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/CheckForgotPasswordRequestExpiry": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "IsForgotPasswordRequestExpiry - Check if Guid is expired.",
        "operationId": "POST_v1_IsForgotPasswordRequestExpiry_woZBxFEa70SKg7Db1rbZRg==",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckForgotPasswordExpiryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckForgotPasswordExpiryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CheckForgotPasswordExpiryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/GetFolders": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "GetFolders - Get folders.",
        "operationId": "POST_v1_GetFolders_0MEA+DQsq0SLG/ORf5ibZQ==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFoldersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFoldersResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/GetFoldersWithDetails": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "GetFoldersWithDetails - Get folders with details.",
        "operationId": "POST_v1_GetFoldersWithDetails_ifEB9qv4SUadKpBklGgfcQ==",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetFoldersWithDetailsResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetFoldersWithDetailsResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/User/AcceptTermsAndCondition": {
      "post": {
        "tags": [
          "User"
        ],
        "summary": "Update terms and condition acceptance date.",
        "operationId": "POST_v1_AcceptTermsAndCondition_UiCNU36gkESAIhjRSi4dpg==",
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/User/CheckConsent": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Checks if the user has accepted the latest terms and conditions.",
        "operationId": "GET_v1_CheckConsent_W5KXsl2GDke4PwUl8xfzUw==",
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccessForm": {
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/EnumAccessForm"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "priceModels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PriceModel"
            },
            "nullable": true
          },
          "billingPeriods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Period"
            },
            "nullable": true
          },
          "webText": {
            "type": "string",
            "nullable": true
          },
          "descriptionText": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ActivePaymentMethodResponse": {
        "type": "object",
        "properties": {
          "card": {
            "$ref": "#/components/schemas/Card"
          },
          "mobilePaySubscription": {
            "$ref": "#/components/schemas/MobilePaySubscription"
          }
        },
        "additionalProperties": false
      },
      "AddMaterialRequest": {
        "required": [
          "folderId",
          "name"
        ],
        "type": "object",
        "properties": {
          "folderId": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "materialType": {
            "$ref": "#/components/schemas/FolderMaterialType"
          }
        },
        "additionalProperties": false
      },
      "AddOn": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "integer",
            "format": "int32"
          },
          "addOnId": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/AddOnState"
          },
          "type": {
            "$ref": "#/components/schemas/AddOnType"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "AddOnState": {
        "enum": [
          "deleted",
          "active"
        ],
        "type": "string"
      },
      "AddOnType": {
        "enum": [
          "on_off",
          "quantity"
        ],
        "type": "string"
      },
      "Area": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "guWebShop": {
            "$ref": "#/components/schemas/GuWebShop"
          }
        },
        "additionalProperties": false
      },
      "AuthenticationRequest": {
        "required": [
          "clientAppUniqueId",
          "password",
          "userName"
        ],
        "type": "object",
        "properties": {
          "userName": {
            "minLength": 1,
            "type": "string"
          },
          "password": {
            "minLength": 1,
            "type": "string"
          },
          "clientAppUniqueId": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AuthenticationResponse": {
        "type": "object",
        "properties": {
          "userName": {
            "type": "string",
            "nullable": true
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          },
          "tokenExpiryTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "authenticationToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BaseFolderResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "totalNumberOfMaterials": {
            "type": "integer",
            "format": "int32"
          },
          "index": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BundleProduct": {
        "type": "object",
        "properties": {
          "isbn": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "discountPercentage": {
            "type": "number",
            "format": "double"
          },
          "salesConfiguration": {
            "$ref": "#/components/schemas/SalesConfiguration"
          },
          "productPrices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleProductPrice"
            },
            "nullable": true
          },
          "isPhysical": {
            "type": "boolean"
          },
          "inStock": {
            "type": "boolean"
          },
          "isBuyable": {
            "type": "boolean"
          },
          "isPublished": {
            "type": "boolean"
          },
          "currentPrintRunPublishDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "publishDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isNextPrintRunPlanned": {
            "type": "boolean"
          },
          "mediaType": {
            "$ref": "#/components/schemas/MediaType"
          },
          "materialType": {
            "$ref": "#/components/schemas/MaterialType"
          },
          "productSource": {
            "$ref": "#/components/schemas/ProductSource"
          }
        },
        "additionalProperties": false
      },
      "BundleProductPrice": {
        "type": "object",
        "properties": {
          "accessFormCode": {
            "$ref": "#/components/schemas/EnumAccessForm"
          },
          "periodDisplayName": {
            "type": "string",
            "nullable": true
          },
          "periodTypeCode": {
            "$ref": "#/components/schemas/EnumPeriodType"
          },
          "periodUnitTypeCode": {
            "$ref": "#/components/schemas/EnumPeriodUnitType"
          },
          "periodUnitValue": {
            "type": "integer",
            "format": "int32"
          },
          "price": {
            "type": "number",
            "format": "double"
          },
          "priceWithVat": {
            "type": "number",
            "format": "double"
          },
          "discountedPrice": {
            "type": "number",
            "format": "double"
          },
          "discountedPriceWithVat": {
            "type": "number",
            "format": "double"
          },
          "discountPercentage": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CancelSubscriptionRequest": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CancellationFeedback"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CancellationFeedback": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "npsRating": {
            "maximum": 10,
            "minimum": 0,
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Card": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "customer": {
            "type": "string",
            "nullable": true
          },
          "failedDate": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "nullable": true
          },
          "fingerPrint": {
            "type": "string",
            "nullable": true
          },
          "reactivatedDate": {
            "type": "string",
            "nullable": true
          },
          "gateWayReferenceId": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "cardExpireDate": {
            "type": "string",
            "nullable": true
          },
          "maskedCard": {
            "type": "string",
            "nullable": true
          },
          "lastSuccessDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastFailedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "firstFailDate": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "string",
            "nullable": true
          },
          "errorState": {
            "type": "string",
            "nullable": true
          },
          "strongAuthenticationStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Category": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ChangePasswordRequest": {
        "required": [
          "newPassword",
          "oldPassword"
        ],
        "type": "object",
        "properties": {
          "oldPassword": {
            "minLength": 1,
            "type": "string"
          },
          "newPassword": {
            "minLength": 1,
            "pattern": "^((?=.*?[A-Z])(?=.*?[a-z])(?=.*?\\d)|(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[^a-zA-Z0-9])|(?=.*?[A-Z])(?=.*?\\d)(?=.*?[^a-zA-Z0-9])|(?=.*?[a-z])(?=.*?\\d)(?=.*?[^a-zA-Z0-9])).{8,30}$",
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CheckForgotPasswordExpiryRequest": {
        "required": [
          "forgotPasswordRequestId"
        ],
        "type": "object",
        "properties": {
          "forgotPasswordRequestId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "Contributor": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "biography": {
            "type": "string",
            "nullable": true
          },
          "bibliography": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "authorNumber": {
            "type": "string",
            "nullable": true
          },
          "searchName": {
            "type": "string",
            "nullable": true
          },
          "contibutorType": {
            "$ref": "#/components/schemas/ContributorType"
          },
          "photo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContributorType": {
        "enum": [
          "BookBlockIllustrator",
          "Translator",
          "CoverIllustrator",
          "SubjectEditor",
          "CoverPrintMaker",
          "ostOriginaludgavensForlagID",
          "Author",
          "ProofReader",
          "Publisher",
          "OtherLicense",
          "SubAgent",
          "BookBlockPrintMaker",
          "ExternalConsultant",
          "Narrator",
          "OrigionalPublisher",
          "PhotoGraper",
          "ContractHolder",
          "Agent",
          "ExternalEditor",
          "SAXOIllustrator",
          "SAXOOversaetter",
          "IllustratedBy",
          "SeriesEditor",
          "ForwordAuthor",
          "ostKommenteretAfID",
          "ostIllustrator_udenID",
          "Oversaetter_udenID",
          "InternalEditor"
        ],
        "type": "string"
      },
      "Coupon": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "couponCode": {
            "type": "string",
            "nullable": true
          },
          "discount": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/CouponState"
          },
          "type": {
            "$ref": "#/components/schemas/CouponType"
          },
          "redemptions": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "nullable": true
          },
          "allPlans": {
            "type": "boolean"
          },
          "eligiblePlans": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "maxRedemptions": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "validUntilDate": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CouponSearchRequest": {
        "type": "object",
        "properties": {
          "pageIndex": {
            "maximum": 100000,
            "minimum": 1,
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "maximum": 100,
            "minimum": 1,
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "code": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "name": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CouponState": {
        "enum": [
          "active",
          "expired",
          "deleted",
          "generating"
        ],
        "type": "string"
      },
      "CouponType": {
        "enum": [
          "single",
          "set"
        ],
        "type": "string"
      },
      "CouponsResponse": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "coupons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Coupon"
            },
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CreateFolderRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateRecurringSessionRequest": {
        "required": [
          "acceptUrl",
          "cancelUrl"
        ],
        "type": "object",
        "properties": {
          "acceptUrl": {
            "minLength": 1,
            "type": "string"
          },
          "cancelUrl": {
            "minLength": 1,
            "type": "string"
          },
          "planId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateSubscriptionRequest": {
        "required": [
          "paymentMethodSource"
        ],
        "type": "object",
        "properties": {
          "paymentMethodSource": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateUserRequest": {
        "required": [
          "email",
          "firstName",
          "lastName",
          "password"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "lastName": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "password": {
            "minLength": 1,
            "pattern": "^((?=.*?[A-Z])(?=.*?[a-z])(?=.*?\\d)|(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[^a-zA-Z0-9])|(?=.*?[A-Z])(?=.*?\\d)(?=.*?[^a-zA-Z0-9])|(?=.*?[a-z])(?=.*?\\d)(?=.*?[^a-zA-Z0-9])).{8,30}$",
            "type": "string"
          },
          "email": {
            "minLength": 1,
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userRealmProperties": {
            "$ref": "#/components/schemas/UserRealmProperties"
          }
        },
        "additionalProperties": false
      },
      "Credit": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreditNote": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "invoice": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "creditNoteLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreditNoteLine"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreditNoteLine": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteFoldersRequest": {
        "required": [
          "folderIds"
        ],
        "type": "object",
        "properties": {
          "folderIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        },
        "additionalProperties": false
      },
      "DeleteMaterialsRequest": {
        "required": [
          "folderId",
          "materialNames"
        ],
        "type": "object",
        "properties": {
          "folderId": {
            "type": "integer",
            "format": "int32"
          },
          "materialNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "Discount": {
        "type": "object",
        "properties": {
          "discountCode": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "integer",
            "format": "int32"
          },
          "percentage": {
            "type": "integer",
            "format": "int32"
          },
          "applyTo": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "fixedCount": {
            "type": "integer",
            "format": "int32"
          },
          "fixedPeriodUnit": {
            "type": "string",
            "nullable": true
          },
          "fixedPeriod": {
            "type": "integer",
            "format": "int32"
          },
          "discountState": {
            "$ref": "#/components/schemas/DiscountState"
          }
        },
        "additionalProperties": false
      },
      "DiscountOfferInfo": {
        "type": "object",
        "properties": {
          "offerMiniText": {
            "type": "string",
            "nullable": true
          },
          "offerLongText": {
            "type": "string",
            "nullable": true
          },
          "isbnsPartOfOffer": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "offerStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "offerEndDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "DiscountSearchRequest": {
        "type": "object",
        "properties": {
          "pageIndex": {
            "maximum": 100000,
            "minimum": 1,
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "maximum": 100,
            "minimum": 1,
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "name": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DiscountState": {
        "enum": [
          "active",
          "deleted"
        ],
        "type": "string"
      },
      "DiscountsResponse": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Discount"
            },
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ElectronicDistributor": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "sampleUrl": {
            "type": "string",
            "nullable": true
          },
          "distributorName": {
            "$ref": "#/components/schemas/ElectronicDistributorType"
          }
        },
        "additionalProperties": false
      },
      "ElectronicDistributorType": {
        "enum": [
          "None",
          "Gyldendal",
          "PubliZone",
          "Nbc"
        ],
        "type": "string"
      },
      "EnumAccessForm": {
        "enum": [
          "School",
          "Class",
          "Teacher",
          "SingleUser",
          "ContactSales"
        ],
        "type": "string"
      },
      "EnumLicenseType": {
        "enum": [
          "None",
          "Subscription",
          "Rental",
          "Trial"
        ],
        "type": "string"
      },
      "EnumPeriodType": {
        "enum": [
          "None",
          "Binding",
          "Access"
        ],
        "type": "string"
      },
      "EnumPeriodUnitType": {
        "enum": [
          "Year",
          "Month",
          "Days",
          "Time"
        ],
        "type": "string"
      },
      "EnumPriceModel": {
        "enum": [
          "WholeSchool",
          "NoOfStudents",
          "PercentageOfStudents",
          "NoOfStudentsInReleventClasses",
          "NoOfReleventClasses",
          "NoOfClasses",
          "NoOfStudentsInClasses",
          "WholeSchoolTeacher"
        ],
        "type": "string"
      },
      "ErrorDetail": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int64"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "originatingSystem": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExtendedPurchaseOption": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/PurchaseOptionType"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "purchaseOptionProperties": {
            "$ref": "#/components/schemas/PurchaseOptionProperties"
          }
        },
        "additionalProperties": false
      },
      "FacetType": {
        "enum": [
          "SystemName",
          "LevelName",
          "SeriesName",
          "MaterialTypeName",
          "MediaTypeName",
          "Subjects",
          "Areas",
          "SubjectWithAreaAndSubarea",
          "SubAreas",
          "Genre",
          "Category",
          "SubCategory",
          "AuthorName",
          "AuthorIdWithName",
          "MaterialWithMediaTypeName",
          "HasTrialAccess"
        ],
        "type": "string"
      },
      "FixedPrice": {
        "type": "object",
        "properties": {
          "validTo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "validFrom": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "price": {
            "type": "number",
            "format": "double"
          },
          "fixedPriceType": {
            "$ref": "#/components/schemas/FixedPriceType"
          }
        },
        "additionalProperties": false
      },
      "FixedPriceType": {
        "enum": [
          "SpotPrice",
          "ClubPrice",
          "VipPrice",
          "BotmPrice"
        ],
        "type": "string"
      },
      "FolderIdsWithIndexRequest": {
        "required": [
          "folderId"
        ],
        "type": "object",
        "properties": {
          "folderId": {
            "type": "integer",
            "format": "int32"
          },
          "index": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FolderMaterialType": {
        "enum": [
          "Book",
          "Note",
          "Study List",
          "Own Document"
        ],
        "type": "string"
      },
      "FoldersWithDetailsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "totalNumberOfMaterials": {
            "type": "integer",
            "format": "int32"
          },
          "index": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "materials": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Material"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Genre": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetFolderIdsWithIndexRequest": {
        "type": "object",
        "properties": {
          "folderIdsWithIndex": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FolderIdsWithIndexRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetFolderRequest": {
        "required": [
          "folderId"
        ],
        "type": "object",
        "properties": {
          "folderId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetFolderResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "totalNumberOfMaterials": {
            "type": "integer",
            "format": "int32"
          },
          "index": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "materials": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Material"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetFoldersByMaterialRequest": {
        "required": [
          "materialName",
          "materialType"
        ],
        "type": "object",
        "properties": {
          "materialName": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string"
          },
          "materialType": {
            "$ref": "#/components/schemas/FolderMaterialType"
          }
        },
        "additionalProperties": false
      },
      "GetFoldersByMaterialResponse": {
        "type": "object",
        "properties": {
          "folders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BaseFolderResponse"
            },
            "nullable": true
          },
          "totalFolders": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetFoldersResponse": {
        "type": "object",
        "properties": {
          "folders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BaseFolderResponse"
            },
            "nullable": true
          },
          "totalFolders": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetFoldersWithDetailsResponse": {
        "type": "object",
        "properties": {
          "foldersWithDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoldersWithDetailsResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetInstitutionsRequest": {
        "type": "object",
        "properties": {
          "searchString": {
            "type": "string",
            "nullable": true
          },
          "pageIndex": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetInstitutionsResponse": {
        "type": "object",
        "properties": {
          "pageIndex": {
            "type": "integer",
            "format": "int32"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "plytixInstitutions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlytixInstitution"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetNewAccessTokenRequest": {
        "required": [
          "clientAppUniqueId",
          "refreshToken"
        ],
        "type": "object",
        "properties": {
          "refreshToken": {
            "minLength": 1,
            "type": "string"
          },
          "clientAppUniqueId": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GuWebShop": {
        "enum": [
          "None",
          "Business",
          "Gu",
          "HansReitzel",
          "MitForlag",
          "MunksGaard",
          "Rap",
          "Rosinanteco",
          "GyldendalDk",
          "EmployeeShop",
          "Filo",
          "ClubBogklub",
          "ClubBoerne",
          "ClubSamleren",
          "ClubKrimi",
          "ClubPsykeSjael",
          "ClubHistorie",
          "ClubPaedagogisk",
          "Highlight",
          "ClubBoerne3To5",
          "ClubBoerne5To10",
          "ClubFlamingo",
          "ClubSundtLiv",
          "StudyBox",
          "SosuPlay",
          "MerkantilPlay",
          "TradeGyldendalDk",
          "ManualOrder"
        ],
        "type": "string"
      },
      "Institution": {
        "type": "object",
        "properties": {
          "id": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "name": {
            "maxLength": 300,
            "minLength": 0,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Invoice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "invoiceId": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "subscription": {
            "type": "string",
            "nullable": true
          },
          "plan": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/InvoiceState"
          },
          "type": {
            "$ref": "#/components/schemas/InvoiceType"
          },
          "amount": {
            "type": "string",
            "nullable": true
          },
          "sequentialNumber": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "dueDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "credits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Credit"
            },
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "discountAmount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "orginalAmount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "amountVat": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "amountExclusiveVat": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "settledAmount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "refundedAmount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "orderLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderLine"
            },
            "nullable": true
          },
          "additionalCosts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Transaction"
            },
            "nullable": true
          },
          "creditNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreditNote"
            },
            "nullable": true
          },
          "periodFromDate": {
            "type": "string",
            "nullable": true
          },
          "periodToDate": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvoiceRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvoiceState": {
        "enum": [
          "created",
          "pending",
          "dunning",
          "settled",
          "cancelled",
          "authorized",
          "failed"
        ],
        "type": "string"
      },
      "InvoiceType": {
        "enum": [
          "s",
          "so",
          "soi",
          "co",
          "ch"
        ],
        "type": "string"
      },
      "InvoicesResponse": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "search": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "nullable": true
          },
          "invoice": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Invoice"
            },
            "nullable": true
          },
          "totalElements": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IsTokenAliveRequest": {
        "required": [
          "clientAppUniqueId"
        ],
        "type": "object",
        "properties": {
          "clientAppUniqueId": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Level": {
        "type": "object",
        "properties": {
          "levelNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "guWebShop": {
            "$ref": "#/components/schemas/GuWebShop"
          },
          "areaId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogoutRequest": {
        "required": [
          "clientAppUniqueId"
        ],
        "type": "object",
        "properties": {
          "clientAppUniqueId": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Material": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "materialType": {
            "$ref": "#/components/schemas/FolderMaterialType"
          }
        },
        "additionalProperties": false
      },
      "MaterialType": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "guWebShop": {
            "$ref": "#/components/schemas/GuWebShop"
          }
        },
        "additionalProperties": false
      },
      "MediaType": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "guWebShop": {
            "$ref": "#/components/schemas/GuWebShop"
          }
        },
        "additionalProperties": false
      },
      "MobilePaySubscription": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "customer": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MoveMaterialRequest": {
        "required": [
          "materialId",
          "newFolderId",
          "oldFolderId"
        ],
        "type": "object",
        "properties": {
          "newFolderId": {
            "type": "integer",
            "format": "int32"
          },
          "oldFolderId": {
            "type": "integer",
            "format": "int32"
          },
          "materialId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "OrderBy": {
        "enum": [
          "None",
          "isbn13",
          "title",
          "productId",
          "workId",
          "publishDate",
          "mediaTypeRank",
          "defaultPrice"
        ],
        "type": "string"
      },
      "OrderLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "orderText": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vat": {
            "type": "number",
            "format": "float"
          },
          "quantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/OriginState"
          },
          "timeStamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "discountedAmount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "amountVat": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "amountExclusiveVat": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "unitAmount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "unitAmountVat": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "unitAmountExclusiveVat": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "amountDefindedInclusiveVat": {
            "type": "boolean",
            "nullable": true
          },
          "originHandle": {
            "type": "string",
            "nullable": true
          },
          "periodFromDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "periodToDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "discountPercentage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OriginState": {
        "enum": [
          "plan",
          "add_on",
          "ondemand",
          "additional_cost",
          "credit",
          "discount",
          "setup_fee"
        ],
        "type": "string"
      },
      "PagingInfo": {
        "type": "object",
        "properties": {
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "pageIndex": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodsResponse": {
        "type": "object",
        "properties": {
          "cards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Card"
            },
            "nullable": true
          },
          "mobilePaySubscriptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MobilePaySubscription"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Period": {
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/EnumPeriodType"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "unitValue": {
            "type": "integer",
            "format": "int32"
          },
          "refPeriodUnitTypeCode": {
            "$ref": "#/components/schemas/EnumPeriodUnitType"
          },
          "refSalesFormCode": {
            "$ref": "#/components/schemas/EnumLicenseType"
          },
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "price": {
            "$ref": "#/components/schemas/Price"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "isCustomPeriod": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PlanResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "valueAddedTax": {
            "type": "number",
            "format": "float"
          },
          "amount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "planId": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/PlanState"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "setupFee": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "scheduleType": {
            "$ref": "#/components/schemas/ScheduleType"
          },
          "trialIntervalUnit": {
            "type": "string",
            "nullable": true
          },
          "trialIntervalLength": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PlanState": {
        "enum": [
          "active",
          "superseded",
          "deleted"
        ],
        "type": "string"
      },
      "PlytixInstitution": {
        "type": "object",
        "properties": {
          "institutionId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Price": {
        "type": "object",
        "properties": {
          "unitPrice": {
            "type": "number",
            "format": "double"
          },
          "unitPriceVat": {
            "type": "number",
            "format": "double"
          },
          "calculatedPrice": {
            "type": "number",
            "format": "double"
          },
          "calculatedPriceVat": {
            "type": "number",
            "format": "double"
          },
          "vatValue": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PriceModel": {
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/EnumPriceModel"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "refAccessFormCode": {
            "type": "integer",
            "format": "int32"
          },
          "showPercentage": {
            "type": "boolean"
          },
          "percentageValue": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "gradeLevels": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PriceRange": {
        "type": "object",
        "properties": {
          "from": {
            "type": "number",
            "format": "double"
          },
          "to": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "PriceRangeFacetParams": {
        "type": "object",
        "properties": {
          "min": {
            "type": "number",
            "format": "double"
          },
          "max": {
            "type": "number",
            "format": "double"
          },
          "gap": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "PriceRangeInt32KeyValuePair": {
        "type": "object",
        "properties": {
          "key": {
            "$ref": "#/components/schemas/PriceRange"
          },
          "value": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PricingInfo": {
        "type": "object",
        "properties": {
          "defaultPrice": {
            "$ref": "#/components/schemas/ProductPrice"
          },
          "discountOfferInfo": {
            "$ref": "#/components/schemas/DiscountOfferInfo"
          },
          "availablePrices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductPrice"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Product": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "isbn13": {
            "type": "string",
            "nullable": true
          },
          "physicalIsbn": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "subtitle": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "discountPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "discountedPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "hasOtherDiscount": {
            "type": "boolean"
          },
          "salesConfiguration": {
            "$ref": "#/components/schemas/SalesConfiguration"
          },
          "pricingInfo": {
            "$ref": "#/components/schemas/PricingInfo"
          },
          "contributors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Contributor"
            },
            "nullable": true
          },
          "durationInMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "mediaType": {
            "$ref": "#/components/schemas/MediaType"
          },
          "materialType": {
            "$ref": "#/components/schemas/MaterialType"
          },
          "isPublished": {
            "type": "boolean"
          },
          "publishDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "currentPrintRunPublishDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "edition": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "publisher": {
            "type": "string",
            "nullable": true
          },
          "publisherId": {
            "type": "integer",
            "format": "int32"
          },
          "hasImages": {
            "type": "boolean"
          },
          "hasVideos": {
            "type": "boolean"
          },
          "pages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "coverImages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductImage"
            },
            "nullable": true
          },
          "originalCoverImageUrl": {
            "type": "string",
            "nullable": true
          },
          "series": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Series"
            },
            "nullable": true
          },
          "inStock": {
            "type": "boolean"
          },
          "isNextPrintPlanned": {
            "type": "boolean"
          },
          "updateDueOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isBuyable": {
            "type": "boolean"
          },
          "seoText": {
            "type": "string",
            "nullable": true
          },
          "workId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "distributors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ElectronicDistributor"
            },
            "nullable": true
          },
          "sampleUrl": {
            "type": "string",
            "nullable": true
          },
          "productUrls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductUrl"
            },
            "nullable": true
          },
          "excuseCode": {
            "type": "string",
            "nullable": true
          },
          "reviews": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductReview"
            },
            "nullable": true
          },
          "isPhysical": {
            "type": "boolean"
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time"
          },
          "guWebShop": {
            "$ref": "#/components/schemas/GuWebShop"
          },
          "membershipPaths": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "productType": {
            "$ref": "#/components/schemas/ProductType"
          },
          "bundleProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BundleProduct"
            },
            "nullable": true
          },
          "isSupplementaryMaterial": {
            "type": "boolean"
          },
          "inspectionCopyAllowed": {
            "type": "boolean"
          },
          "freeMaterials": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductFreeMaterial"
            },
            "nullable": true
          },
          "productSource": {
            "$ref": "#/components/schemas/ProductSource"
          },
          "materialTypeRank": {
            "type": "integer",
            "format": "int32"
          },
          "mediaTypeRank": {
            "type": "integer",
            "format": "int32"
          },
          "grossWeight": {
            "type": "number",
            "format": "double"
          },
          "netWeight": {
            "type": "number",
            "format": "double"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "thicknessDepth": {
            "type": "integer",
            "format": "int32"
          },
          "genres": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Genre"
            },
            "nullable": true
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Category"
            },
            "nullable": true
          },
          "subCategories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubCategory"
            },
            "nullable": true
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "defaultPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "extraData": {
            "type": "string",
            "nullable": true
          },
          "imprint": {
            "type": "string",
            "nullable": true
          },
          "extendedPurchaseOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExtendedPurchaseOption"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductFreeMaterial": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "publizonIdentifier": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductImage": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          },
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ProductPrice": {
        "type": "object",
        "properties": {
          "validTo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "validFrom": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "priceWithVat": {
            "type": "number",
            "format": "double"
          },
          "priceWithoutVat": {
            "type": "number",
            "format": "double"
          },
          "discountPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "discountedPriceWithVat": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "discountedPriceWithoutVat": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "vatPercentage": {
            "type": "number",
            "format": "double"
          },
          "priceType": {
            "$ref": "#/components/schemas/ProductPriceType"
          }
        },
        "additionalProperties": false
      },
      "ProductPriceType": {
        "enum": [
          "Default",
          "SpotPrice",
          "ClubPrice",
          "VipPrice",
          "BotmPrice"
        ],
        "type": "string"
      },
      "ProductReview": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "string",
            "nullable": true
          },
          "reviewBy": {
            "type": "string",
            "nullable": true
          },
          "reviewDate": {
            "type": "string",
            "format": "date-time"
          },
          "reviewText": {
            "type": "string",
            "nullable": true
          },
          "reviewSource": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductSearchRequestV2": {
        "type": "object",
        "properties": {
          "webshop": {
            "$ref": "#/components/schemas/GuWebShop"
          },
          "gql": {
            "type": "string",
            "nullable": true
          },
          "filters": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          },
          "priceRangeFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PriceRange"
            },
            "nullable": true
          },
          "facetTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacetType"
            },
            "nullable": true
          },
          "priceRangeFacetParams": {
            "$ref": "#/components/schemas/PriceRangeFacetParams"
          },
          "paging": {
            "$ref": "#/components/schemas/PagingInfo"
          },
          "orderBy": {
            "$ref": "#/components/schemas/OrderBy"
          },
          "sortBy": {
            "$ref": "#/components/schemas/SortBy"
          }
        },
        "additionalProperties": false
      },
      "ProductSource": {
        "enum": [
          "No Source",
          "RAP",
          "Gyldendal.Dk",
          "Gyldendal Uddannelse",
          "StudyBox"
        ],
        "type": "string"
      },
      "ProductType": {
        "enum": [
          "No product Type is specified",
          "Single Product",
          "Product is of Bundle type"
        ],
        "type": "string"
      },
      "ProductUrl": {
        "type": "object",
        "properties": {
          "urlType": {
            "$ref": "#/components/schemas/ProductUrlType"
          },
          "url": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductUrlType": {
        "enum": [
          "ProductUrl",
          "RelatedWebsiteUrl"
        ],
        "type": "string"
      },
      "PurchaseOptionProperties": {
        "type": "object",
        "properties": {
          "productMaxQuantity": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PurchaseOptionType": {
        "enum": [
          "Almindelig ordre",
          "TeacherCopies",
          "InspectionCopies"
        ],
        "type": "string"
      },
      "RecurringSessionResponse": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "nullable": true
          },
          "checkoutWindowUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResetPasswordRequest": {
        "required": [
          "forgotPasswordRequestId",
          "password"
        ],
        "type": "object",
        "properties": {
          "forgotPasswordRequestId": {
            "type": "string",
            "format": "uuid"
          },
          "password": {
            "minLength": 1,
            "pattern": "^((?=.*?[A-Z])(?=.*?[a-z])(?=.*?\\d)|(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[^a-zA-Z0-9])|(?=.*?[A-Z])(?=.*?\\d)(?=.*?[^a-zA-Z0-9])|(?=.*?[a-z])(?=.*?\\d)(?=.*?[^a-zA-Z0-9])).{8,30}$",
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ResponseHeader": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32"
          },
          "queryTime": {
            "type": "integer",
            "format": "int32"
          },
          "searchParameter": {
            "$ref": "#/components/schemas/SearchParameter"
          }
        },
        "additionalProperties": false
      },
      "SalesConfiguration": {
        "type": "object",
        "properties": {
          "salesForms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesForm"
            },
            "nullable": true
          },
          "isbn": {
            "type": "string",
            "nullable": true
          },
          "accessForms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessForm"
            },
            "nullable": true
          },
          "approved": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "salesChannel": {
            "type": "string",
            "nullable": true
          },
          "hasTrialAccess": {
            "type": "boolean"
          },
          "seller": {
            "$ref": "#/components/schemas/Seller"
          },
          "fixedPrices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FixedPrice"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesForm": {
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/EnumLicenseType"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "periodTypeName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScheduleType": {
        "enum": [
          "manual",
          "daily",
          "weekly_fixedday",
          "month_startdate",
          "month_fixedday",
          "month_lastday"
        ],
        "type": "string"
      },
      "SearchParameter": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "nullable": true
          },
          "queryFor": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Seller": {
        "enum": [
          "None",
          "GyldendalUddannelse",
          "MunksgaardDanmark",
          "HansReitzelsForlag",
          "Nonfiktion",
          "Videregaaende"
        ],
        "type": "string"
      },
      "Series": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "parentSeries": {
            "$ref": "#/components/schemas/Series"
          },
          "parentSerieId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "childSeries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Series"
            },
            "nullable": true
          },
          "areas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Area"
            },
            "nullable": true
          },
          "subAreas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubArea"
            },
            "nullable": true
          },
          "levels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Level"
            },
            "nullable": true
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Subject"
            },
            "nullable": true
          },
          "guWebShop": {
            "$ref": "#/components/schemas/GuWebShop"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time"
          },
          "isSystemSeries": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SetPaymentMethodRequest": {
        "required": [
          "paymentMethodSource"
        ],
        "type": "object",
        "properties": {
          "paymentMethodSource": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SortBy": {
        "enum": [
          "None",
          "Asc",
          "Desc"
        ],
        "type": "string"
      },
      "StringInt32KeyValuePair": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SubArea": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "guWebShop": {
            "$ref": "#/components/schemas/GuWebShop"
          },
          "subjectId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SubCategory": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Subject": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "guWebShop": {
            "$ref": "#/components/schemas/GuWebShop"
          },
          "areaId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Subscription": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "nullable": true
          },
          "subscriptionPlan": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/SubscriptionState"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "isTest": {
            "type": "boolean"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "subscriptionPlanAmount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "isRenewing": {
            "type": "boolean"
          },
          "subscriptionPlanVersion": {
            "type": "integer",
            "format": "int32"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "isCancelled": {
            "type": "boolean"
          },
          "inTrial": {
            "type": "boolean"
          },
          "hasStarted": {
            "type": "boolean"
          },
          "renewalCount": {
            "type": "integer",
            "format": "int32"
          },
          "isPaymentMethodAdded": {
            "type": "boolean"
          },
          "reminderEmailSent": {
            "type": "string",
            "format": "date-time"
          },
          "failedInvoices": {
            "type": "integer",
            "format": "int32"
          },
          "failedAmount": {
            "type": "integer",
            "format": "int32"
          },
          "cancelledInvoices": {
            "type": "integer",
            "format": "int32"
          },
          "cancelledAmount": {
            "type": "integer",
            "format": "int32"
          },
          "pendingInvoices": {
            "type": "integer",
            "format": "int32"
          },
          "pendingAmount": {
            "type": "integer",
            "format": "int32"
          },
          "dunningInvoices": {
            "type": "integer",
            "format": "int32"
          },
          "dunningAmount": {
            "type": "integer",
            "format": "int32"
          },
          "settledInvoices": {
            "type": "integer",
            "format": "int32"
          },
          "settledAmount": {
            "type": "integer",
            "format": "int32"
          },
          "pendingAdditionalCosts": {
            "type": "integer",
            "format": "int32"
          },
          "pendingAdditionalCostAmount": {
            "type": "integer",
            "format": "int32"
          },
          "transferredAdditionalCosts": {
            "type": "integer",
            "format": "int32"
          },
          "transferredAdditionalCostAmount": {
            "type": "integer",
            "format": "int32"
          },
          "pendingCredits": {
            "type": "integer",
            "format": "int32"
          },
          "pendingCreditAmount": {
            "type": "integer",
            "format": "int32"
          },
          "transferredCredits": {
            "type": "integer",
            "format": "int32"
          },
          "transferredCreditAmount": {
            "type": "integer",
            "format": "int32"
          },
          "hostedPageLinks": {
            "$ref": "#/components/schemas/SubscriptionLink"
          },
          "customSubscriptionPlanPrice": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "expiryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "reactivated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "activated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isAmountIncludingVat": {
            "type": "boolean",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "graceDuration": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentBillingPeriodStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "nextBillingPeriodStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "firstBillingPeriodStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastBillingPeriodStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "trialPeriodStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "trialPeriodEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancelledDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expiredDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expireReason": {
            "$ref": "#/components/schemas/SubscriptionExpireReason"
          },
          "onHoldDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "onHoldReason": {
            "$ref": "#/components/schemas/SubscriptionOnHoldReason"
          },
          "pendingChange": {
            "$ref": "#/components/schemas/SubscriptionChange"
          },
          "intervalLength": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "scheduleType": {
            "$ref": "#/components/schemas/ScheduleType"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionAddOn": {
        "type": "object",
        "properties": {
          "subscriptionAddOnId": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "addOn": {
            "$ref": "#/components/schemas/AddOn"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionChange": {
        "type": "object",
        "properties": {
          "subscriptionPlan": {
            "type": "string",
            "nullable": true
          },
          "customSubscriptionPlanPrice": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isPending": {
            "type": "boolean"
          },
          "applied": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "isAmountIncludingVat": {
            "type": "boolean",
            "nullable": true
          },
          "subscriptionAddOns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionAddOn"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionExpireReason": {
        "enum": [
          "ondemand",
          "cancelled",
          "dunning",
          "fixed"
        ],
        "type": "string"
      },
      "SubscriptionLink": {
        "type": "object",
        "properties": {
          "paymentInfo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionOnHoldReason": {
        "enum": [
          "ondemand",
          "dunning"
        ],
        "type": "string"
      },
      "SubscriptionState": {
        "enum": [
          "active",
          "pending",
          "on_hold",
          "expired"
        ],
        "type": "string"
      },
      "SystimeProduct": {
        "type": "object",
        "properties": {
          "site": {
            "type": "string",
            "nullable": true
          },
          "teaser": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SystimeProductSearchRequest": {
        "required": [
          "rows",
          "searchQuery"
        ],
        "type": "object",
        "properties": {
          "searchQuery": {
            "minLength": 1,
            "type": "string"
          },
          "rows": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SystimeProductSearchResponse": {
        "type": "object",
        "properties": {
          "responseHeader": {
            "$ref": "#/components/schemas/ResponseHeader"
          },
          "systimeProductSearchResult": {
            "$ref": "#/components/schemas/SystimeProductSearchResult"
          }
        },
        "additionalProperties": false
      },
      "SystimeProductSearchResult": {
        "type": "object",
        "properties": {
          "recordsFound": {
            "type": "integer",
            "format": "int32"
          },
          "start": {
            "type": "integer",
            "format": "int32"
          },
          "systimeProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SystimeProduct"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ThemaCode": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Transaction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "$ref": "#/components/schemas/TransactionState"
          },
          "invoice": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/TransactionType"
          },
          "amount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransactionState": {
        "enum": [
          "pending",
          "processing",
          "authorized",
          "settled",
          "refunded",
          "failed",
          "cancelled"
        ],
        "type": "string"
      },
      "TransactionType": {
        "enum": [
          "settle",
          "refund",
          "authorization"
        ],
        "type": "string"
      },
      "TriggerResetPasswordRequest": {
        "required": [
          "passwordResetLink",
          "userName"
        ],
        "type": "object",
        "properties": {
          "userName": {
            "minLength": 1,
            "type": "string"
          },
          "passwordResetLink": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateFolderRequest": {
        "required": [
          "folderId",
          "name"
        ],
        "type": "object",
        "properties": {
          "folderId": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateUserRequest": {
        "required": [
          "email",
          "firstName",
          "lastName"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "lastName": {
            "maxLength": 35,
            "minLength": 0,
            "type": "string"
          },
          "email": {
            "minLength": 1,
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "userRealmProperties": {
            "$ref": "#/components/schemas/UserRealmProperties"
          }
        },
        "additionalProperties": false
      },
      "UserProfile": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "externalTrackingId": {
            "type": "string",
            "nullable": true
          },
          "userRealmProperties": {
            "$ref": "#/components/schemas/UserRealmProperties"
          }
        },
        "additionalProperties": false
      },
      "UserProfileDetails": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "externalTrackingId": {
            "type": "string",
            "nullable": true
          },
          "userRealmProperties": {
            "$ref": "#/components/schemas/UserRealmProperties"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paymentMethods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Card"
            },
            "nullable": true
          },
          "mobilePaySubscriptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MobilePaySubscription"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserRealmProperties": {
        "required": [
          "studyAreas"
        ],
        "type": "object",
        "properties": {
          "studyAreas": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "institution": {
            "$ref": "#/components/schemas/Institution"
          },
          "userRole": {
            "$ref": "#/components/schemas/UserRole"
          },
          "privacyPolicyAcceptionDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "termsAndConditionsAcceptionDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserRole": {
        "enum": [
          "UnKnown",
          "Teacher",
          "Student",
          "Guest",
          "Ambassador"
        ],
        "type": "string"
      },
      "ValidatePasswordRequest": {
        "required": [
          "password"
        ],
        "type": "object",
        "properties": {
          "password": {
            "minLength": 1,
            "pattern": "^((?=.*?[A-Z])(?=.*?[a-z])(?=.*?\\d)|(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[^a-zA-Z0-9])|(?=.*?[A-Z])(?=.*?\\d)(?=.*?[^a-zA-Z0-9])|(?=.*?[a-z])(?=.*?\\d)(?=.*?[^a-zA-Z0-9])).{8,30}$",
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ValidateUserRequest": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ValidationResponse": {
        "type": "object",
        "properties": {
          "isValid": {
            "type": "boolean"
          },
          "errorDetail": {
            "$ref": "#/components/schemas/ErrorDetail"
          }
        },
        "additionalProperties": false
      },
      "Work": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "guWebShop": {
            "$ref": "#/components/schemas/GuWebShop"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Product"
            },
            "nullable": true
          },
          "themaCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ThemaCode"
            },
            "nullable": true
          },
          "subjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Subject"
            },
            "nullable": true
          },
          "areas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Area"
            },
            "nullable": true
          },
          "subAreas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubArea"
            },
            "nullable": true
          },
          "levels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Level"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkResult": {
        "type": "object",
        "properties": {
          "totalResults": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Work"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkSearchResponse": {
        "type": "object",
        "properties": {
          "facets": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/StringInt32KeyValuePair"
              },
              "nullable": true
            },
            "nullable": true
          },
          "priceRangeFacet": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PriceRangeInt32KeyValuePair"
            },
            "nullable": true
          },
          "searchResults": {
            "$ref": "#/components/schemas/WorkResult"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "StudyBoxApiKey": {
        "type": "apiKey",
        "description": "Api key needed to access the endpoints",
        "name": "StudyBoxApiKey",
        "in": "header"
      },
      "AuthenticationToken": {
        "type": "apiKey",
        "description": "Cookie needed to access the authenticated end points.",
        "name": "AuthenticationToken",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "StudyBoxApiKey": [ ]
    },
    {
      "AuthenticationToken": [ ]
    }
  ]
}