{
  "openapi": "3.1.1",
  "info": {
    "title": "AE.ExperienceApi | v1",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://epro-expapi.shawk.eu/"
    }
  ],
  "paths": {
    "/bff/worklist/tags": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Worklist.WorklistEndpoints"
        ],
        "summary": "GET_bff_worklist_tags",
        "description": "GET_bff_worklist_tags",
        "operationId": "GET_bff_worklist_tags",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Worklist.WorklistEndpoints"
        ],
        "summary": "POST_bff_worklist_tags",
        "description": "POST_bff_worklist_tags",
        "operationId": "POST_bff_worklist_tags",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/worklist/patients/{id}/tags": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Worklist.WorklistEndpoints"
        ],
        "summary": "POST_bff_worklist_patients_id_tags",
        "description": "POST_bff_worklist_patients_id_tags",
        "operationId": "POST_bff_worklist_patients_id_tags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/worklist/patients/{id}/tags/remove": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Worklist.WorklistEndpoints"
        ],
        "summary": "POST_bff_worklist_patients_id_tags_remove",
        "description": "POST_bff_worklist_patients_id_tags_remove",
        "operationId": "POST_bff_worklist_patients_id_tags_remove",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/worklist/actions": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Worklist.WorklistEndpoints"
        ],
        "summary": "POST_bff_worklist_actions",
        "description": "POST_bff_worklist_actions",
        "operationId": "POST_bff_worklist_actions",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/worklist/actions/{id}/{command}": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Worklist.WorklistEndpoints"
        ],
        "summary": "POST_bff_worklist_actions_id_command",
        "description": "POST_bff_worklist_actions_id_command",
        "operationId": "POST_bff_worklist_actions_id_command",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "command",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/surveys/responses": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Surveys.SurveyEndpoints"
        ],
        "summary": "POST_bff_surveys_responses",
        "description": "POST_bff_surveys_responses",
        "operationId": "POST_bff_surveys_responses",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/surveys/responses/{id}": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Surveys.SurveyEndpoints"
        ],
        "summary": "GET_bff_surveys_responses_id",
        "description": "GET_bff_surveys_responses_id",
        "operationId": "GET_bff_surveys_responses_id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/surveys/responses/{id}/validate": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Surveys.SurveyEndpoints"
        ],
        "summary": "POST_bff_surveys_responses_id_validate",
        "description": "POST_bff_surveys_responses_id_validate",
        "operationId": "POST_bff_surveys_responses_id_validate",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/surveys/definitions": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Surveys.SurveyEndpoints"
        ],
        "summary": "GET_bff_surveys_definitions",
        "description": "GET_bff_surveys_definitions",
        "operationId": "GET_bff_surveys_definitions",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/me": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Session.SessionEndpoints"
        ],
        "summary": "GET_bff_me",
        "description": "GET_bff_me",
        "operationId": "GET_bff_me",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeView"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "GET_bff_patients",
        "description": "GET_bff_patients",
        "operationId": "GET_bff_patients",
        "parameters": [
          {
            "name": "node",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPageResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "POST_bff_patients",
        "description": "POST_bff_patients",
        "operationId": "POST_bff_patients",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/export": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "GET_bff_patients_export",
        "description": "GET_bff_patients_export",
        "operationId": "GET_bff_patients_export",
        "parameters": [
          {
            "name": "node",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{patientMasterId}": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "GET_bff_patients_patientMasterId",
        "description": "GET_bff_patients_patientMasterId",
        "operationId": "GET_bff_patients_patientMasterId",
        "parameters": [
          {
            "name": "patientMasterId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/history": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "GET_bff_patients_id_history",
        "description": "GET_bff_patients_id_history",
        "operationId": "GET_bff_patients_id_history",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{patientMasterId}/consents": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "POST_bff_patients_patientMasterId_consents",
        "description": "POST_bff_patients_patientMasterId_consents",
        "operationId": "POST_bff_patients_patientMasterId_consents",
        "parameters": [
          {
            "name": "patientMasterId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/consents/revoke": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "POST_bff_patients_id_consents_revoke",
        "description": "POST_bff_patients_id_consents_revoke",
        "operationId": "POST_bff_patients_id_consents_revoke",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/identity": {
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "PUT_bff_patients_id_identity",
        "description": "PUT_bff_patients_id_identity",
        "operationId": "PUT_bff_patients_id_identity",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/details": {
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "PUT_bff_patients_id_details",
        "description": "PUT_bff_patients_id_details",
        "operationId": "PUT_bff_patients_id_details",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/address": {
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "PUT_bff_patients_id_address",
        "description": "PUT_bff_patients_id_address",
        "operationId": "PUT_bff_patients_id_address",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/contacts": {
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "PUT_bff_patients_id_contacts",
        "description": "PUT_bff_patients_id_contacts",
        "operationId": "PUT_bff_patients_id_contacts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/caregiver": {
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "PUT_bff_patients_id_caregiver",
        "description": "PUT_bff_patients_id_caregiver",
        "operationId": "PUT_bff_patients_id_caregiver",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/caregiver/unlink": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "POST_bff_patients_id_caregiver_unlink",
        "description": "POST_bff_patients_id_caregiver_unlink",
        "operationId": "POST_bff_patients_id_caregiver_unlink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/account": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "POST_bff_patients_id_account",
        "description": "POST_bff_patients_id_account",
        "operationId": "POST_bff_patients_id_account",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/account/toggle": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "POST_bff_patients_id_account_toggle",
        "description": "POST_bff_patients_id_account_toggle",
        "operationId": "POST_bff_patients_id_account_toggle",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patients/{id}/status": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
        ],
        "summary": "POST_bff_patients_id_status",
        "description": "POST_bff_patients_id_status",
        "operationId": "POST_bff_patients_id_status",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patient-record/{patientMasterId}": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.PatientRecord.PatientRecordEndpoints"
        ],
        "summary": "GET_bff_patient_record_patientMasterId",
        "description": "GET_bff_patient_record_patientMasterId",
        "operationId": "GET_bff_patient_record_patientMasterId",
        "parameters": [
          {
            "name": "patientMasterId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PatientOverview"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/patient-record/{patientMasterId}/export": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.PatientRecord.PatientRecordEndpoints"
        ],
        "summary": "GET_bff_patient_record_patientMasterId_export",
        "description": "GET_bff_patient_record_patientMasterId_export",
        "operationId": "GET_bff_patient_record_patientMasterId_export",
        "parameters": [
          {
            "name": "patientMasterId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "sections",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/notification-center": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
        ],
        "summary": "GET_bff_notification_center",
        "description": "GET_bff_notification_center",
        "operationId": "GET_bff_notification_center",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationPage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/notification-center/read": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
        ],
        "summary": "POST_bff_notification_center_read",
        "description": "POST_bff_notification_center_read",
        "operationId": "POST_bff_notification_center_read",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MarkReadRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/notification-center/preferences": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
        ],
        "summary": "GET_bff_notification_center_preferences",
        "description": "GET_bff_notification_center_preferences",
        "operationId": "GET_bff_notification_center_preferences",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationPreferenceView"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
        ],
        "summary": "PUT_bff_notification_center_preferences",
        "description": "PUT_bff_notification_center_preferences",
        "operationId": "PUT_bff_notification_center_preferences",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavePreferencesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/notification-center/rules": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
        ],
        "summary": "GET_bff_notification_center_rules",
        "description": "GET_bff_notification_center_rules",
        "operationId": "GET_bff_notification_center_rules",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationRuleView"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/notification-center/rules/{eventType}": {
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
        ],
        "summary": "PUT_bff_notification_center_rules_eventType",
        "description": "PUT_bff_notification_center_rules_eventType",
        "operationId": "PUT_bff_notification_center_rules_eventType",
        "parameters": [
          {
            "name": "eventType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRuleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/notification-center/role-defaults": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
        ],
        "summary": "GET_bff_notification_center_role_defaults",
        "description": "GET_bff_notification_center_role_defaults",
        "operationId": "GET_bff_notification_center_role_defaults",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoleNotificationDefaultView"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/notification-center/role-defaults/{role}": {
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
        ],
        "summary": "PUT_bff_notification_center_role_defaults_role",
        "description": "PUT_bff_notification_center_role_defaults_role",
        "operationId": "PUT_bff_notification_center_role_defaults_role",
        "parameters": [
          {
            "name": "role",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRoleDefaultRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
        ],
        "summary": "DELETE_bff_notification_center_role_defaults_role",
        "description": "DELETE_bff_notification_center_role_defaults_role",
        "operationId": "DELETE_bff_notification_center_role_defaults_role",
        "parameters": [
          {
            "name": "role",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/navigation/role-profiles": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Navigation.NavigationEndpoints"
        ],
        "summary": "GET_bff_navigation_role_profiles",
        "description": "GET_bff_navigation_role_profiles",
        "operationId": "GET_bff_navigation_role_profiles",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoleNavigationView"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/navigation/role-profiles/{role}": {
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Navigation.NavigationEndpoints"
        ],
        "summary": "PUT_bff_navigation_role_profiles_role",
        "description": "PUT_bff_navigation_role_profiles_role",
        "operationId": "PUT_bff_navigation_role_profiles_role",
        "parameters": [
          {
            "name": "role",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveProfileRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Navigation.NavigationEndpoints"
        ],
        "summary": "DELETE_bff_navigation_role_profiles_role",
        "description": "DELETE_bff_navigation_role_profiles_role",
        "operationId": "DELETE_bff_navigation_role_profiles_role",
        "parameters": [
          {
            "name": "role",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/epro/monitoring-plans": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Epro.EproEndpoints"
        ],
        "summary": "POST_bff_epro_monitoring_plans",
        "description": "POST_bff_epro_monitoring_plans",
        "operationId": "POST_bff_epro_monitoring_plans",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/epro/profiles": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Epro.EproEndpoints"
        ],
        "summary": "POST_bff_epro_profiles",
        "description": "POST_bff_epro_profiles",
        "operationId": "POST_bff_epro_profiles",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/epro/thresholds": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Epro.EproEndpoints"
        ],
        "summary": "GET_bff_epro_thresholds",
        "description": "GET_bff_epro_thresholds",
        "operationId": "GET_bff_epro_thresholds",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/epro/patients/{patientMasterId}/thresholds": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Epro.EproEndpoints"
        ],
        "summary": "GET_bff_epro_patients_patientMasterId_thresholds",
        "description": "GET_bff_epro_patients_patientMasterId_thresholds",
        "operationId": "GET_bff_epro_patients_patientMasterId_thresholds",
        "parameters": [
          {
            "name": "patientMasterId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Epro.EproEndpoints"
        ],
        "summary": "POST_bff_epro_patients_patientMasterId_thresholds",
        "description": "POST_bff_epro_patients_patientMasterId_thresholds",
        "operationId": "POST_bff_epro_patients_patientMasterId_thresholds",
        "parameters": [
          {
            "name": "patientMasterId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/epro/classifications/{classificationId}/override-level": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Epro.EproEndpoints"
        ],
        "summary": "POST_bff_epro_classifications_classificationId_override_level",
        "description": "POST_bff_epro_classifications_classificationId_override_level",
        "operationId": "POST_bff_epro_classifications_classificationId_override_level",
        "parameters": [
          {
            "name": "classificationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/epro/domains": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Epro.EproEndpoints"
        ],
        "summary": "GET_bff_epro_domains",
        "description": "GET_bff_epro_domains",
        "operationId": "GET_bff_epro_domains",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/epro/severity-scale": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Epro.EproEndpoints"
        ],
        "summary": "GET_bff_epro_severity_scale",
        "description": "GET_bff_epro_severity_scale",
        "operationId": "GET_bff_epro_severity_scale",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SeverityPresentation"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/education/materials": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Education.EducationEndpoints"
        ],
        "summary": "GET_bff_education_materials",
        "description": "GET_bff_education_materials",
        "operationId": "GET_bff_education_materials",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Education.EducationEndpoints"
        ],
        "summary": "POST_bff_education_materials",
        "description": "POST_bff_education_materials",
        "operationId": "POST_bff_education_materials",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/education/materials/{id}/{command}": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Education.EducationEndpoints"
        ],
        "summary": "POST_bff_education_materials_id_command",
        "description": "POST_bff_education_materials_id_command",
        "operationId": "POST_bff_education_materials_id_command",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "command",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/education/families/{familyId}/default-set": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Education.EducationEndpoints"
        ],
        "summary": "GET_bff_education_families_familyId_default_set",
        "description": "GET_bff_education_families_familyId_default_set",
        "operationId": "GET_bff_education_families_familyId_default_set",
        "parameters": [
          {
            "name": "familyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/education/patients/{id}/materials": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Education.EducationEndpoints"
        ],
        "summary": "POST_bff_education_patients_id_materials",
        "description": "POST_bff_education_patients_id_materials",
        "operationId": "POST_bff_education_patients_id_materials",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/education/patients/{id}/materials/{materialId}/consult": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Education.EducationEndpoints"
        ],
        "summary": "POST_bff_education_patients_id_materials_materialId_consult",
        "description": "POST_bff_education_patients_id_materials_materialId_consult",
        "operationId": "POST_bff_education_patients_id_materials_materialId_consult",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "materialId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/diary/patients/{id}/entries": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Diary.DiaryEndpoints"
        ],
        "summary": "POST_bff_diary_patients_id_entries",
        "description": "POST_bff_diary_patients_id_entries",
        "operationId": "POST_bff_diary_patients_id_entries",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/diary/entries/{id}": {
      "put": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Diary.DiaryEndpoints"
        ],
        "summary": "PUT_bff_diary_entries_id",
        "description": "PUT_bff_diary_entries_id",
        "operationId": "PUT_bff_diary_entries_id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Diary.DiaryEndpoints"
        ],
        "summary": "GET_bff_diary_entries_id",
        "description": "GET_bff_diary_entries_id",
        "operationId": "GET_bff_diary_entries_id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/devices/definitions": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Devices.DeviceEndpoints"
        ],
        "summary": "GET_bff_devices_definitions",
        "description": "GET_bff_devices_definitions",
        "operationId": "GET_bff_devices_definitions",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/devices": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Devices.DeviceEndpoints"
        ],
        "summary": "GET_bff_devices",
        "description": "GET_bff_devices",
        "operationId": "GET_bff_devices",
        "parameters": [
          {
            "name": "warehouseRegistryId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Devices.DeviceEndpoints"
        ],
        "summary": "POST_bff_devices",
        "description": "POST_bff_devices",
        "operationId": "POST_bff_devices",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/devices/associate": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Devices.DeviceEndpoints"
        ],
        "summary": "POST_bff_devices_associate",
        "description": "POST_bff_devices_associate",
        "operationId": "POST_bff_devices_associate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/devices/vmi": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Devices.DeviceEndpoints"
        ],
        "summary": "GET_bff_devices_vmi",
        "description": "GET_bff_devices_vmi",
        "operationId": "GET_bff_devices_vmi",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Devices.DeviceEndpoints"
        ],
        "summary": "POST_bff_devices_vmi",
        "description": "POST_bff_devices_vmi",
        "operationId": "POST_bff_devices_vmi",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/devices/vmi/{id}/{command}": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Devices.DeviceEndpoints"
        ],
        "summary": "POST_bff_devices_vmi_id_command",
        "description": "POST_bff_devices_vmi_id_command",
        "operationId": "POST_bff_devices_vmi_id_command",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "command",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/device-families/monitoring-plans": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.DeviceFamilies.DeviceFamilyEndpoints"
        ],
        "summary": "POST_bff_device_families_monitoring_plans",
        "description": "POST_bff_device_families_monitoring_plans",
        "operationId": "POST_bff_device_families_monitoring_plans",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/device-families/monitoring-plans/{planId}/simulate": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.DeviceFamilies.DeviceFamilyEndpoints"
        ],
        "summary": "POST_bff_device_families_monitoring_plans_planId_simulate",
        "description": "POST_bff_device_families_monitoring_plans_planId_simulate",
        "operationId": "POST_bff_device_families_monitoring_plans_planId_simulate",
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/device-families/monitoring-plans/{planId}/sessions": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.DeviceFamilies.DeviceFamilyEndpoints"
        ],
        "summary": "GET_bff_device_families_monitoring_plans_planId_sessions",
        "description": "GET_bff_device_families_monitoring_plans_planId_sessions",
        "operationId": "GET_bff_device_families_monitoring_plans_planId_sessions",
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/base-plans": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "POST_bff_care_plans_base_plans",
        "description": "POST_bff_care_plans_base_plans",
        "operationId": "POST_bff_care_plans_base_plans",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/base-plans/{id}/{transition}": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "POST_bff_care_plans_base_plans_id_transition",
        "description": "POST_bff_care_plans_base_plans_id_transition",
        "operationId": "POST_bff_care_plans_base_plans_id_transition",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "transition",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/monitoring-plans/{id}/{transition}": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "POST_bff_care_plans_monitoring_plans_id_transition",
        "description": "POST_bff_care_plans_monitoring_plans_id_transition",
        "operationId": "POST_bff_care_plans_monitoring_plans_id_transition",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "transition",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/monitoring-plans/{id}/activities": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "GET_bff_care_plans_monitoring_plans_id_activities",
        "description": "GET_bff_care_plans_monitoring_plans_id_activities",
        "operationId": "GET_bff_care_plans_monitoring_plans_id_activities",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/families": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "GET_bff_care_plans_families",
        "description": "GET_bff_care_plans_families",
        "operationId": "GET_bff_care_plans_families",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/prescriptions/{code}": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "GET_bff_care_plans_prescriptions_code",
        "description": "GET_bff_care_plans_prescriptions_code",
        "operationId": "GET_bff_care_plans_prescriptions_code",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/care-teams": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "GET_bff_care_plans_care_teams",
        "description": "GET_bff_care_plans_care_teams",
        "operationId": "GET_bff_care_plans_care_teams",
        "parameters": [
          {
            "name": "providerId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/plan-definitions": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "GET_bff_care_plans_plan_definitions",
        "description": "GET_bff_care_plans_plan_definitions",
        "operationId": "GET_bff_care_plans_plan_definitions",
        "parameters": [
          {
            "name": "familyId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "registryId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "POST_bff_care_plans_plan_definitions",
        "description": "POST_bff_care_plans_plan_definitions",
        "operationId": "POST_bff_care_plans_plan_definitions",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/plan-definitions/{id}": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "GET_bff_care_plans_plan_definitions_id",
        "description": "GET_bff_care_plans_plan_definitions_id",
        "operationId": "GET_bff_care_plans_plan_definitions_id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/profiles": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "GET_bff_care_plans_profiles",
        "description": "GET_bff_care_plans_profiles",
        "operationId": "GET_bff_care_plans_profiles",
        "parameters": [
          {
            "name": "familyId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/plan-definitions/{id}/publish": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "POST_bff_care_plans_plan_definitions_id_publish",
        "description": "POST_bff_care_plans_plan_definitions_id_publish",
        "operationId": "POST_bff_care_plans_plan_definitions_id_publish",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/plan-definitions/{id}/registries": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "POST_bff_care_plans_plan_definitions_id_registries",
        "description": "POST_bff_care_plans_plan_definitions_id_registries",
        "operationId": "POST_bff_care_plans_plan_definitions_id_registries",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/care-plans/plan-definitions/{id}/retire": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
        ],
        "summary": "POST_bff_care_plans_plan_definitions_id_retire",
        "description": "POST_bff_care_plans_plan_definitions_id_retire",
        "operationId": "POST_bff_care_plans_plan_definitions_id_retire",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/calendar/appointments": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Calendar.CalendarEndpoints"
        ],
        "summary": "GET_bff_calendar_appointments",
        "description": "GET_bff_calendar_appointments",
        "operationId": "GET_bff_calendar_appointments",
        "parameters": [
          {
            "name": "patientMasterId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Calendar.CalendarEndpoints"
        ],
        "summary": "POST_bff_calendar_appointments",
        "description": "POST_bff_calendar_appointments",
        "operationId": "POST_bff_calendar_appointments",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/calendar/appointments/{id}/{command}": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Calendar.CalendarEndpoints"
        ],
        "summary": "POST_bff_calendar_appointments_id_command",
        "description": "POST_bff_calendar_appointments_id_command",
        "operationId": "POST_bff_calendar_appointments_id_command",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "command",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/calendar/notifications": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Calendar.CalendarEndpoints"
        ],
        "summary": "GET_bff_calendar_notifications",
        "description": "GET_bff_calendar_notifications",
        "operationId": "GET_bff_calendar_notifications",
        "parameters": [
          {
            "name": "patientMasterId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "unread",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Calendar.CalendarEndpoints"
        ],
        "summary": "POST_bff_calendar_notifications",
        "description": "POST_bff_calendar_notifications",
        "operationId": "POST_bff_calendar_notifications",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/calendar/notifications/{id}/read": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Calendar.CalendarEndpoints"
        ],
        "summary": "POST_bff_calendar_notifications_id_read",
        "description": "POST_bff_calendar_notifications_id_read",
        "operationId": "POST_bff_calendar_notifications_id_read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/board": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Board.BoardEndpoints"
        ],
        "summary": "GET_bff_board",
        "description": "GET_bff_board",
        "operationId": "GET_bff_board",
        "parameters": [
          {
            "name": "node",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BoardPage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/board/export": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Board.BoardEndpoints"
        ],
        "summary": "GET_bff_board_export",
        "description": "GET_bff_board_export",
        "operationId": "GET_bff_board_export",
        "parameters": [
          {
            "name": "node",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/board/counts": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Board.BoardEndpoints"
        ],
        "summary": "GET_bff_board_counts",
        "description": "GET_bff_board_counts",
        "operationId": "GET_bff_board_counts",
        "parameters": [
          {
            "name": "node",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int32"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/board/facets": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Board.BoardEndpoints"
        ],
        "summary": "GET_bff_board_facets",
        "description": "GET_bff_board_facets",
        "operationId": "GET_bff_board_facets",
        "parameters": [
          {
            "name": "node",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BoardFacets"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/nodes": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "GET_bff_authz_nodes",
        "description": "GET_bff_authz_nodes",
        "operationId": "GET_bff_authz_nodes",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_nodes",
        "description": "POST_bff_authz_nodes",
        "operationId": "POST_bff_authz_nodes",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/registries": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "GET_bff_authz_registries",
        "description": "GET_bff_authz_registries",
        "operationId": "GET_bff_authz_registries",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_registries",
        "description": "POST_bff_authz_registries",
        "operationId": "POST_bff_authz_registries",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/roles": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "GET_bff_authz_roles",
        "description": "GET_bff_authz_roles",
        "operationId": "GET_bff_authz_roles",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_roles",
        "description": "POST_bff_authz_roles",
        "operationId": "POST_bff_authz_roles",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/users": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "GET_bff_authz_users",
        "description": "GET_bff_authz_users",
        "operationId": "GET_bff_authz_users",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_users",
        "description": "POST_bff_authz_users",
        "operationId": "POST_bff_authz_users",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/teams": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "GET_bff_authz_teams",
        "description": "GET_bff_authz_teams",
        "operationId": "GET_bff_authz_teams",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_teams",
        "description": "POST_bff_authz_teams",
        "operationId": "POST_bff_authz_teams",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/teams/{id}": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "GET_bff_authz_teams_id",
        "description": "GET_bff_authz_teams_id",
        "operationId": "GET_bff_authz_teams_id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/teams/by-plan/{basePlanId}/members": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "GET_bff_authz_teams_by_plan_basePlanId_members",
        "description": "GET_bff_authz_teams_by_plan_basePlanId_members",
        "operationId": "GET_bff_authz_teams_by_plan_basePlanId_members",
        "parameters": [
          {
            "name": "basePlanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/catalog": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "GET_bff_authz_catalog",
        "description": "GET_bff_authz_catalog",
        "operationId": "GET_bff_authz_catalog",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/nodes/{id}/rename": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_nodes_id_rename",
        "description": "POST_bff_authz_nodes_id_rename",
        "operationId": "POST_bff_authz_nodes_id_rename",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/nodes/{id}/move": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_nodes_id_move",
        "description": "POST_bff_authz_nodes_id_move",
        "operationId": "POST_bff_authz_nodes_id_move",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/nodes/{id}/archive": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_nodes_id_archive",
        "description": "POST_bff_authz_nodes_id_archive",
        "operationId": "POST_bff_authz_nodes_id_archive",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/registries/{id}/archive": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_registries_id_archive",
        "description": "POST_bff_authz_registries_id_archive",
        "operationId": "POST_bff_authz_registries_id_archive",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/users/{oid}/care-team-ready": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_users_oid_care_team_ready",
        "description": "POST_bff_authz_users_oid_care_team_ready",
        "operationId": "POST_bff_authz_users_oid_care_team_ready",
        "parameters": [
          {
            "name": "oid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/users/{oid}/revoke-all": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_users_oid_revoke_all",
        "description": "POST_bff_authz_users_oid_revoke_all",
        "operationId": "POST_bff_authz_users_oid_revoke_all",
        "parameters": [
          {
            "name": "oid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/teams/{id}/archive": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_teams_id_archive",
        "description": "POST_bff_authz_teams_id_archive",
        "operationId": "POST_bff_authz_teams_id_archive",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/teams/{id}/members": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_teams_id_members",
        "description": "POST_bff_authz_teams_id_members",
        "operationId": "POST_bff_authz_teams_id_members",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/teams/{id}/members/remove": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_teams_id_members_remove",
        "description": "POST_bff_authz_teams_id_members_remove",
        "operationId": "POST_bff_authz_teams_id_members_remove",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/teams/{id}/plans": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_teams_id_plans",
        "description": "POST_bff_authz_teams_id_plans",
        "operationId": "POST_bff_authz_teams_id_plans",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/teams/{id}/plans/unlink": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_teams_id_plans_unlink",
        "description": "POST_bff_authz_teams_id_plans_unlink",
        "operationId": "POST_bff_authz_teams_id_plans_unlink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/users/{oid}/roles": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_users_oid_roles",
        "description": "POST_bff_authz_users_oid_roles",
        "operationId": "POST_bff_authz_users_oid_roles",
        "parameters": [
          {
            "name": "oid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/users/{oid}/roles/remove": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_users_oid_roles_remove",
        "description": "POST_bff_authz_users_oid_roles_remove",
        "operationId": "POST_bff_authz_users_oid_roles_remove",
        "parameters": [
          {
            "name": "oid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/registries/{id}/nodes": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_registries_id_nodes",
        "description": "POST_bff_authz_registries_id_nodes",
        "operationId": "POST_bff_authz_registries_id_nodes",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/authz/registries/{id}/nodes/remove": {
      "post": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
        ],
        "summary": "POST_bff_authz_registries_id_nodes_remove",
        "description": "POST_bff_authz_registries_id_nodes_remove",
        "operationId": "POST_bff_authz_registries_id_nodes_remove",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/audit": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Audit.AuditEndpoints"
        ],
        "summary": "GET_bff_audit",
        "description": "GET_bff_audit",
        "operationId": "GET_bff_audit",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/audit/facets": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Audit.AuditEndpoints"
        ],
        "summary": "GET_bff_audit_facets",
        "description": "GET_bff_audit_facets",
        "operationId": "GET_bff_audit_facets",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/audit/patients/{patientMasterId}": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Audit.AuditEndpoints"
        ],
        "summary": "GET_bff_audit_patients_patientMasterId",
        "description": "GET_bff_audit_patients_patientMasterId",
        "operationId": "GET_bff_audit_patients_patientMasterId",
        "parameters": [
          {
            "name": "patientMasterId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/audit/{id}": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Audit.AuditEndpoints"
        ],
        "summary": "GET_bff_audit_id",
        "description": "GET_bff_audit_id",
        "operationId": "GET_bff_audit_id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/admin/users": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Administration.AdministrationEndpoints"
        ],
        "summary": "GET_bff_admin_users",
        "description": "GET_bff_admin_users",
        "operationId": "GET_bff_admin_users",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdminUser"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/admin/roles": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Administration.AdministrationEndpoints"
        ],
        "summary": "GET_bff_admin_roles",
        "description": "GET_bff_admin_roles",
        "operationId": "GET_bff_admin_roles",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RolesCatalog"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/admin/patient-accounts": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Administration.AdministrationEndpoints"
        ],
        "summary": "GET_bff_admin_patient_accounts",
        "description": "GET_bff_admin_patient_accounts",
        "operationId": "GET_bff_admin_patient_accounts",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPageResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/activities": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Activities.ActivityEndpoints"
        ],
        "summary": "GET_bff_activities",
        "description": "GET_bff_activities",
        "operationId": "GET_bff_activities",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ActivityState"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/bff/activities/{correlationId}": {
      "get": {
        "tags": [
          "AE.ExperienceApi.Endpoints.Activities.ActivityEndpoints"
        ],
        "summary": "GET_bff_activities_correlationId",
        "description": "GET_bff_activities_correlationId",
        "operationId": "GET_bff_activities_correlationId",
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityState"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/": {
      "get": {
        "tags": [
          "AE.ExperienceApi"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ActivityState": {
        "required": [
          "correlationId",
          "entity",
          "operation",
          "patientMasterId",
          "status",
          "views",
          "failureCode",
          "version",
          "resourceId",
          "readyOn",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string"
          },
          "entity": {
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "patientMasterId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "status": {
            "type": "string"
          },
          "views": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "failureCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "resourceId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "readyOn": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "AdminArea": {
        "required": [
          "id",
          "label",
          "clinical"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "clinical": {
            "type": "boolean"
          },
          "activity": {
            "type": "boolean"
          },
          "actions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "AdminUser": {
        "required": [
          "oid",
          "username",
          "displayName",
          "kind",
          "role",
          "email",
          "status",
          "activatedAt",
          "assignments",
          "authzVersion"
        ],
        "type": "object",
        "properties": {
          "oid": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "activatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "assignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleAssignmentEntry"
            }
          },
          "authzVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "primaryAdmin": {
            "type": "boolean",
            "default": false
          },
          "source": {
            "type": "string",
            "default": "authorization"
          }
        }
      },
      "BoardFacets": {
        "required": [
          "families",
          "anomalies",
          "centers",
          "tags"
        ],
        "type": "object",
        "properties": {
          "families": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RmFamily"
            }
          },
          "anomalies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "centers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BoardFacetValue"
            }
          },
          "tags": {
            "$ref": "#/components/schemas/JsonElement"
          }
        }
      },
      "BoardFacetValue": {
        "required": [
          "value",
          "label"
        ],
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      },
      "BoardPage": {
        "required": [
          "patients",
          "families",
          "tags",
          "composedAt",
          "degradedSections"
        ],
        "type": "object",
        "properties": {
          "patients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BoardPatient"
            }
          },
          "families": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RmFamily"
            }
          },
          "tags": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "composedAt": {
            "type": "string",
            "format": "date-time"
          },
          "degradedSections": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "node": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "nextCursor": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "BoardPatient": {
        "required": [
          "patientMasterId",
          "familyName",
          "givenName",
          "sex",
          "birthDate",
          "age",
          "fiscalCode",
          "externalCode",
          "internalCode",
          "source",
          "generalPractitioner",
          "contacts",
          "caregiver",
          "account",
          "consents",
          "diagnoses",
          "tags",
          "actions",
          "unreadNotifications",
          "notifications",
          "nextAppointment",
          "plans",
          "emptyState",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "patientMasterId": {
            "type": "string",
            "format": "uuid"
          },
          "familyName": {
            "type": "string"
          },
          "givenName": {
            "type": "string"
          },
          "sex": {
            "type": [
              "null",
              "string"
            ]
          },
          "birthDate": {
            "type": "string",
            "format": "date"
          },
          "age": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "fiscalCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "externalCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "internalCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "source": {
            "type": "string"
          },
          "generalPractitioner": {
            "type": [
              "null",
              "string"
            ]
          },
          "contacts": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "caregiver": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "account": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "consents": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "diagnoses": {
            "type": "array"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "actions": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "unreadNotifications": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notifications": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "nextAppointment": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "plans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BoardPlan"
            }
          },
          "emptyState": {
            "type": [
              "null",
              "string"
            ]
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "worstSeverity": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SeverityPresentation"
              }
            ]
          },
          "openAnomaliesCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "hasIncomplete": {
            "type": "boolean"
          },
          "missedLast30d": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "access": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BoardPatientAccess"
              }
            ]
          }
        }
      },
      "BoardPatientAccess": {
        "required": [
          "kind",
          "level"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "level": {
            "type": "string"
          }
        }
      },
      "BoardPlan": {
        "required": [
          "monitoringPlanId",
          "basePlanId",
          "familyId",
          "familyLabel",
          "familyShort",
          "adherenceLabel",
          "deviceBased",
          "status",
          "periodStart",
          "periodEnd",
          "expiryDate",
          "internalCode",
          "externalCode",
          "organizationUnit",
          "careTeam",
          "pathology",
          "stage",
          "therapeuticRegimen",
          "phase",
          "tags",
          "flags",
          "currentLevel",
          "adherence",
          "adherenceCaption",
          "series",
          "expected",
          "fulfilled",
          "missed",
          "nextPending",
          "updatedAt",
          "stale",
          "details",
          "extras",
          "note",
          "anomalyCodes",
          "device"
        ],
        "type": "object",
        "properties": {
          "monitoringPlanId": {
            "type": "string",
            "format": "uuid"
          },
          "basePlanId": {
            "type": "string",
            "format": "uuid"
          },
          "familyId": {
            "type": "string"
          },
          "familyLabel": {
            "type": "string"
          },
          "familyShort": {
            "type": "string"
          },
          "adherenceLabel": {
            "type": "string"
          },
          "deviceBased": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "periodStart": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "periodEnd": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "expiryDate": {
            "type": "string",
            "format": "date"
          },
          "internalCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "externalCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "organizationUnit": {
            "type": [
              "null",
              "string"
            ]
          },
          "careTeam": {
            "type": [
              "null",
              "string"
            ]
          },
          "pathology": {
            "type": "string"
          },
          "stage": {
            "type": [
              "null",
              "string"
            ]
          },
          "therapeuticRegimen": {
            "type": "string"
          },
          "phase": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "flags": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "currentLevel": {
            "type": [
              "null",
              "string"
            ]
          },
          "adherence": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "adherenceCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "series": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "expected": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "fulfilled": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "missed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nextPending": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RmActivityMark"
              }
            ]
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "stale": {
            "type": "boolean"
          },
          "details": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "extras": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "note": {
            "type": [
              "null",
              "string"
            ]
          },
          "anomalyCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "device": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RmVmi"
              }
            ]
          },
          "severity": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SeverityPresentation"
              }
            ]
          },
          "adherenceSeverity": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "hasIncomplete": {
            "type": "boolean"
          },
          "access": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BoardPlanAccess"
              }
            ]
          }
        }
      },
      "BoardPlanAccess": {
        "required": [
          "level",
          "readOnly",
          "via"
        ],
        "type": "object",
        "properties": {
          "level": {
            "type": "string"
          },
          "readOnly": {
            "type": "boolean"
          },
          "via": {
            "type": "string"
          }
        }
      },
      "Delegation": {
        "required": [
          "operatorOid",
          "subjectPatientMasterId"
        ],
        "type": "object",
        "properties": {
          "operatorOid": {
            "$ref": "#/components/schemas/UserOid"
          },
          "subjectPatientMasterId": {
            "$ref": "#/components/schemas/PatientMasterId"
          }
        }
      },
      "IResult": {
        "type": "object"
      },
      "JsonArray": {
        "type": "array"
      },
      "JsonElement": { },
      "ListPageResponse": {
        "required": [
          "items",
          "nextCursor"
        ],
        "type": "object",
        "properties": {
          "items": {
            "$ref": "#/components/schemas/JsonArray"
          },
          "nextCursor": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "MarkReadRequest": {
        "required": [
          "ids",
          "all"
        ],
        "type": "object",
        "properties": {
          "ids": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "all": {
            "type": "boolean"
          }
        }
      },
      "MeAuthz": {
        "required": [
          "nodes",
          "teams",
          "registries",
          "own",
          "caregiverOf"
        ],
        "type": "object",
        "properties": {
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MeNode"
            }
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MeTeam"
            }
          },
          "registries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RegistryScope"
            }
          },
          "own": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "caregiverOf": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      },
      "MeNode": {
        "required": [
          "id",
          "code",
          "name",
          "type",
          "parentId",
          "roles"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "parentId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "MeTeam": {
        "required": [
          "id",
          "name",
          "role"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "MeView": {
        "required": [
          "userOid",
          "kind",
          "role",
          "roles",
          "displayName",
          "subscriptionId",
          "selfPatientMasterId",
          "delegation",
          "permissions",
          "itemPermissions",
          "authzVersion",
          "navigation",
          "authz"
        ],
        "type": "object",
        "properties": {
          "userOid": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "displayName": {
            "type": "string"
          },
          "subscriptionId": {
            "type": "string"
          },
          "selfPatientMasterId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "delegation": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Delegation"
              }
            ]
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "itemPermissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "authzVersion": {
            "type": "string"
          },
          "navigation": {
            "$ref": "#/components/schemas/UserNavigation"
          },
          "authz": {
            "$ref": "#/components/schemas/MeAuthz"
          }
        }
      },
      "NotificationItem": {
        "required": [
          "id",
          "eventType",
          "area",
          "severity",
          "patientMasterId",
          "aggregateType",
          "aggregateId",
          "correlationId",
          "actorOid",
          "route",
          "occurredAt",
          "read",
          "mine"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "eventType": {
            "type": "string"
          },
          "area": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "patientMasterId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "aggregateType": {
            "type": "string"
          },
          "aggregateId": {
            "type": "string",
            "format": "uuid"
          },
          "correlationId": {
            "type": "string"
          },
          "actorOid": {
            "type": [
              "null",
              "string"
            ]
          },
          "route": {
            "type": [
              "null",
              "string"
            ]
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "read": {
            "type": "boolean"
          },
          "mine": {
            "type": "boolean"
          }
        }
      },
      "NotificationPage": {
        "required": [
          "items",
          "unread"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotificationItem"
            }
          },
          "unread": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "NotificationPreferenceView": {
        "required": [
          "effective",
          "custom",
          "roleDefault",
          "available"
        ],
        "type": "object",
        "properties": {
          "effective": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "custom": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "roleDefault": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "available": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "NotificationRuleView": {
        "required": [
          "eventType",
          "area",
          "enabled",
          "audience",
          "severity",
          "route",
          "source",
          "updatedBy",
          "updatedAt",
          "views",
          "scope"
        ],
        "type": "object",
        "properties": {
          "eventType": {
            "type": "string"
          },
          "area": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "audience": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "route": {
            "type": [
              "null",
              "string"
            ]
          },
          "source": {
            "type": "string"
          },
          "updatedBy": {
            "type": [
              "null",
              "string"
            ]
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "views": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "scope": {
            "type": "string"
          }
        }
      },
      "PatientMasterId": {
        "description": "Identificativo canonico di piattaforma del paziente (Patient Master). Unica chiave di correlazione cross-servizio."
      },
      "PatientOverview": {
        "required": [
          "patient",
          "plans",
          "unifiedList",
          "epro",
          "responses",
          "diary",
          "appointments",
          "materials",
          "devices",
          "deviceSessions",
          "tagging",
          "actions",
          "notifications",
          "composedAt"
        ],
        "type": "object",
        "properties": {
          "patient": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "plans": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "unifiedList": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "epro": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "responses": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "diary": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "appointments": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "materials": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "devices": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "deviceSessions": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "tagging": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "actions": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "notifications": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          },
          "composedAt": {
            "type": "string",
            "format": "date-time"
          },
          "accessLevel": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PermissionManifest": {
        "required": [
          "code",
          "item",
          "action",
          "area",
          "clinical",
          "inReadSet",
          "visibility"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "item": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "area": {
            "type": "string"
          },
          "clinical": {
            "type": "boolean"
          },
          "inReadSet": {
            "type": "boolean"
          },
          "visibility": {
            "type": "string"
          },
          "resourceType": {
            "type": "string"
          },
          "legacy": {
            "type": "boolean"
          },
          "label": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "RegistryScope": {
        "required": [
          "id",
          "code",
          "type",
          "name",
          "nodeIds",
          "items"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nodeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "RmActivityMark": {
        "required": [
          "activityId",
          "definitionId",
          "windowStart",
          "windowEnd",
          "status"
        ],
        "type": "object",
        "properties": {
          "activityId": {
            "type": "string",
            "format": "uuid"
          },
          "definitionId": {
            "type": "string"
          },
          "windowStart": {
            "type": "string",
            "format": "date-time"
          },
          "windowEnd": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "RmFamily": {
        "required": [
          "familyId",
          "displayName",
          "shortName",
          "adherenceLabel",
          "deviceBased"
        ],
        "type": "object",
        "properties": {
          "familyId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "shortName": {
            "type": [
              "null",
              "string"
            ]
          },
          "adherenceLabel": {
            "type": [
              "null",
              "string"
            ]
          },
          "deviceBased": {
            "type": "boolean"
          }
        }
      },
      "RmVmi": {
        "required": [
          "vmiId",
          "patientMasterId",
          "vendor",
          "monitoringPlanId",
          "linkState",
          "telemetryState",
          "currentSerialNumber",
          "currentModel",
          "periods"
        ],
        "type": "object",
        "properties": {
          "vmiId": {
            "type": "string",
            "format": "uuid"
          },
          "patientMasterId": {
            "type": "string",
            "format": "uuid"
          },
          "vendor": {
            "type": "string"
          },
          "monitoringPlanId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "linkState": {
            "type": "string"
          },
          "telemetryState": {
            "type": "string"
          },
          "currentSerialNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "currentModel": {
            "type": [
              "null",
              "string"
            ]
          },
          "periods": {
            "$ref": "#/components/schemas/JsonElement"
          }
        }
      },
      "RoleAssignmentEntry": {
        "required": [
          "nodeId",
          "roleCode"
        ],
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string",
            "format": "uuid"
          },
          "roleCode": {
            "type": "string"
          }
        }
      },
      "RoleDefinitionState": {
        "required": [
          "code",
          "displayName",
          "scopes",
          "grants",
          "fixed",
          "clinical",
          "version"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "grants": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "fixed": {
            "type": "boolean"
          },
          "clinical": {
            "type": "boolean"
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "RoleNavigationView": {
        "required": [
          "role",
          "home",
          "pages",
          "priority",
          "source",
          "updatedBy",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          },
          "home": {
            "type": [
              "null",
              "string"
            ]
          },
          "pages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "priority": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "source": {
            "type": "string"
          },
          "updatedBy": {
            "type": [
              "null",
              "string"
            ]
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "RoleNotificationDefaultView": {
        "required": [
          "role",
          "sources",
          "source",
          "updatedBy",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "source": {
            "type": "string"
          },
          "updatedBy": {
            "type": [
              "null",
              "string"
            ]
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "RolesCatalog": {
        "required": [
          "roles",
          "permissions",
          "areas"
        ],
        "type": "object",
        "properties": {
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleDefinitionState"
            }
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionManifest"
            }
          },
          "areas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdminArea"
            }
          }
        }
      },
      "SavePreferencesRequest": {
        "required": [
          "sources"
        ],
        "type": "object",
        "properties": {
          "sources": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "SaveProfileRequest": {
        "required": [
          "home",
          "pages",
          "priority"
        ],
        "type": "object",
        "properties": {
          "home": {
            "type": [
              "null",
              "string"
            ]
          },
          "pages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "priority": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SaveRoleDefaultRequest": {
        "required": [
          "sources"
        ],
        "type": "object",
        "properties": {
          "sources": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "SaveRuleRequest": {
        "required": [
          "enabled",
          "audience",
          "severity",
          "route"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "audience": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "route": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SeverityPresentation": {
        "required": [
          "level",
          "index",
          "labelKey",
          "token",
          "sortSignature",
          "requiresAttention"
        ],
        "type": "object",
        "properties": {
          "level": {
            "type": "string"
          },
          "index": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "labelKey": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "sortSignature": {
            "type": "string"
          },
          "requiresAttention": {
            "type": "boolean"
          }
        }
      },
      "UserNavigation": {
        "required": [
          "home",
          "allowedPaths",
          "roles"
        ],
        "type": "object",
        "properties": {
          "home": {
            "type": [
              "null",
              "string"
            ]
          },
          "allowedPaths": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UserOid": {
        "description": "OID Keycloak dell'utente: è l'unico `user_id` ammesso negli audit (mai l'email)."
      }
    }
  },
  "tags": [
    {
      "name": "AE.ExperienceApi.Endpoints.Worklist.WorklistEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Surveys.SurveyEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Session.SessionEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Patients.PatientEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.PatientRecord.PatientRecordEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.NotificationCenter.NotificationCenterEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Navigation.NavigationEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Epro.EproEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Education.EducationEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Diary.DiaryEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Devices.DeviceEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.DeviceFamilies.DeviceFamilyEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.CarePlans.CarePlanEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Calendar.CalendarEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Board.BoardEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Authz.AuthzEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Audit.AuditEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Administration.AdministrationEndpoints"
    },
    {
      "name": "AE.ExperienceApi.Endpoints.Activities.ActivityEndpoints"
    },
    {
      "name": "AE.ExperienceApi"
    }
  ]
}